Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ift
NIFTy
Commits
2824435b
Commit
2824435b
authored
Jun 28, 2018
by
Christoph Lienhard
Browse files
added docu for MultiAdaptor
parent
be351767
Changes
1
Hide whitespace changes
Inline
Side-by-side
nifty5/operators/multi_adaptor.py
View file @
2824435b
...
...
@@ -21,6 +21,15 @@ from .linear_operator import LinearOperator
class
MultiAdaptor
(
LinearOperator
):
"""Transforms a Field into a MultiField and vise versa when
using adjoint_times.
Parameters
----------
target: MultiDomain
MultiDomain with only one entry (key).
"""
def
__init__
(
self
,
target
):
super
(
MultiAdaptor
,
self
).
__init__
()
if
not
isinstance
(
target
,
MultiDomain
)
or
len
(
target
)
>
1
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment