Commit 2824435b authored by Christoph Lienhard's avatar Christoph Lienhard
Browse files

added docu for MultiAdaptor

parent be351767
......@@ -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.
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:
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment