pymor.bindings.ngsolve
¶
Module Contents¶
- class pymor.bindings.ngsolve.ComplexifiedNGSolveVector(real_part, imag_part)[source]¶
Bases:
NGSolveVectorCommon
,pymor.vectorarrays.list.ComplexifiedVector
Interface for vectors used in conjunction with
ListVectorArray
.This interface must be satisfied by the individual entries of the vector
list
managed byListVectorArray
. All interface methods have a direct counterpart in theVectorArray
interface.
- class pymor.bindings.ngsolve.NGSolveMatrixOperator(matrix, range, source, solver_options=None, name=None)[source]¶
Bases:
pymor.operators.list.LinearComplexifiedListVectorArrayOperatorBase
Wraps 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
source
andrange
, this method is equivalent to callingas_range_array
oras_source_array
respectively. The resultingVectorArray
is required to have length 1.Parameters
- mu
The
parameter values
for which to return the vector representation.
Returns
- V
VectorArray
of length 1 containing the vector representation.
- class pymor.bindings.ngsolve.NGSolveVector(impl)[source]¶
Bases:
NGSolveVectorCommon
,pymor.vectorarrays.list.CopyOnWriteVector
Wraps a NGSolve BaseVector to make it usable with ListVectorArray.
Methods
- class pymor.bindings.ngsolve.NGSolveVectorSpace(V, id='STATE')[source]¶
Bases:
pymor.vectorarrays.list.ComplexifiedListVectorSpace
VectorSpace
ofListVectorArrays
.Methods
- class pymor.bindings.ngsolve.NGSolveVisualizer(mesh, fespace)[source]¶
Bases:
pymor.core.base.ImmutableObject
Visualize an NGSolve grid function.
Methods
Visualize the provided data.