pymor.reductors.basic
¶
Module Contents¶
- class pymor.reductors.basic.DelayLTIPGReductor(fom, W, V, E_biorthonormal=False)[source]¶
Bases:
ProjectionBasedReductor
Petrov-Galerkin projection of an
LinearDelayModel
.Parameters
Methods
Reconstruct high-dimensional vector from reduced vector
u
.
- class pymor.reductors.basic.InstationaryRBReductor(fom, RB=None, product=None, initial_data_product=None, product_is_mass=False, check_orthonormality=None, check_tol=None)[source]¶
Bases:
ProjectionBasedReductor
Galerkin projection of an
InstationaryModel
.Parameters
- fom
The full order
Model
to reduce.- RB
The basis of the reduced space onto which to project. If
None
an empty basis is used.- product
Inner product
Operator
w.r.t. whichRB
is orthonormalized. IfNone
, the the Euclidean inner product is used.- initial_data_product
Inner product
Operator
w.r.t. which theinitial_data
offom
is orthogonally projected. IfNone
, the Euclidean inner product is used.- product_is_mass
If
True
, no mass matrix for the reducedModel
is assembled. Set toTrue
ifRB
is orthonormal w.r.t. themass
matrix offom
.- check_orthonormality
- check_tol
- class pymor.reductors.basic.LTIPGReductor(fom, W, V, E_biorthonormal=False)[source]¶
Bases:
ProjectionBasedReductor
Petrov-Galerkin projection of an
LTIModel
.Parameters
Methods
Reconstruct high-dimensional vector from reduced vector
u
.
- class pymor.reductors.basic.ProjectionBasedReductor(fom, bases, products={}, check_orthonormality=True, check_tol=0.001)[source]¶
Bases:
pymor.core.base.BasicObject
Generic projection based reductor.
Parameters
- fom
The full order
Model
to reduce.- bases
A dict of
VectorArrays
of basis vectors.- products
A dict of inner product
Operators
w.r.t. which the corresponding bases are orthonormalized. A value ofNone
corresponds to orthonormalization of the basis w.r.t. the Euclidean inner product.- check_orthonormality
If
True
, check if bases which have a corresponding entry in theproducts
dict are orthonormal w.r.t. the given inner product. After eachbasis extension
, orthonormality is checked again.- check_tol
If
check_orthonormality
isTrue
, the numerical tolerance with which the checks are performed.
Methods
Reconstruct high-dimensional vector from reduced vector
u
.
- class pymor.reductors.basic.SOLTIPGReductor(fom, W, V, M_biorthonormal=False)[source]¶
Bases:
ProjectionBasedReductor
Petrov-Galerkin projection of an
SecondOrderModel
.Parameters
Methods
Reconstruct high-dimensional vector from reduced vector
u
.
- class pymor.reductors.basic.StationaryRBReductor(fom, RB=None, product=None, check_orthonormality=None, check_tol=None)[source]¶
Bases:
ProjectionBasedReductor
Galerkin projection of a
StationaryModel
.