pymor.bindings.dunegdt
¶
Module Contents¶
- class pymor.bindings.dunegdt.DuneXTMatrixOperator(matrix, source_id='STATE', range_id='STATE', solver_options=None, name=None)[source]¶
Bases:
pymor.operators.list.LinearComplexifiedListVectorArrayOperatorBase
Wraps a dune-xt matrix as an
Operator
.Parameters
- matrix
The actual matrix from dune.xt.la, usually IstlMatrix.
- source_id
Identifier of the source
VectorSpace
.- range_id
Identifier of the source
VectorSpace
.- solver_options
If specified, either a string or a dict specifying the solver used in apply_inverse. See https://zivgitlab.uni-muenster.de/ag-ohlberger/dune-community/dune-xt/-/tree/master/dune/xt/la/solver for available options, depending on the type of
matrix
. E.g., for dune.xt.la.IstlSparseMatrix, (as can be queried from dune.xt.la.IstlSparseMatrixSolver viatypes()
andoptions(type)
): - ‘bicgstab.ssor’ - ‘bicgstab.amg.ssor’ - ‘bicgstab.amg.ilu0’ - ‘bicgstab.ilut’ - ‘bicgstab’ - ‘cg’- name
Optional name of the resulting
Operator
.
- class pymor.bindings.dunegdt.DuneXTVector(impl)[source]¶
Bases:
pymor.vectorarrays.list.CopyOnWriteVector
Wraps a vector from dune-xt to make it usable with ListVectorArray.
Parameters
- impl
The actual vector from dune.xt.la, usually IstlVector.
- class pymor.bindings.dunegdt.DuneXTVectorSpace(dim, dune_vector_type=IstlVector, id='STATE')[source]¶
Bases:
pymor.vectorarrays.list.ComplexifiedListVectorSpace
A
VectorSpace
yielding DuneXTVector.Parameters
- dim
Dimension of the
VectorSpace
, i.e., length of the resulting vectors.- vector_type
Type of the actual vector from dune.xt.la, usually IstlVector.
- id
Identifier of the
VectorSpace
.
Methods