pymor.bindings.ngsolve¶
Module Contents¶
- class pymor.bindings.ngsolve.ComplexifiedNGSolveVector(real_part, imag_part)[source]¶
Bases:
NGSolveVectorCommon,pymor.vectorarrays.list.ComplexifiedVectorInterface for vectors used in conjunction with
ListVectorArray.This interface must be satisfied by the individual entries of the vector
listmanaged byListVectorArray. All interface methods have a direct counterpart in theVectorArrayinterface.
- class pymor.bindings.ngsolve.NGSolveLinearSolver(method='')[source]¶
Bases:
pymor.solvers.list.ComplexifiedListVectorArrayBasedSolverBase class for
SolversforListVectorArray-basedOperators.
- class pymor.bindings.ngsolve.NGSolveMatrixOperator(matrix, range, source, solver=None, name=None)[source]¶
Bases:
pymor.operators.list.LinearComplexifiedListVectorArrayOperatorBaseWraps a NGSolve matrix as an
Operator.Methods
Return a vector representation of a linear functional or vector operator.
- as_vector(copy=True)[source]¶
Return a vector representation of a linear functional or vector operator.
Depending on the operator’s
sourceandrange, this method is equivalent to callingas_range_arrayoras_source_arrayrespectively. The resultingVectorArrayis required to have length 1.- Parameters:
mu – The
parameter valuesfor which to return the vector representation.- Returns:
V –
VectorArrayof length 1 containing the vector representation.
- class pymor.bindings.ngsolve.NGSolveVector(impl)[source]¶
Bases:
NGSolveVectorCommon,pymor.vectorarrays.list.CopyOnWriteVectorWraps a NGSolve BaseVector to make it usable with ListVectorArray.
Methods
- class pymor.bindings.ngsolve.NGSolveVectorSpace(V)[source]¶
- class pymor.bindings.ngsolve.NGSolveVisualizer(mesh, fespace)[source]¶
Bases:
pymor.core.base.ImmutableObjectVisualize an NGSolve grid function.
Methods
Visualize the provided data.