pymor.reductors.stokes¶
Module Contents¶
- class pymor.reductors.stokes.LSRBStokesReductor(fom, RB_u=None, RB_p=None, u_product=None, p_product=None, use_normal_equations=False, check_orthonormality=None, check_tol=None)[source]¶
Bases:
pymor.reductors.basic.StationaryLSRBReductorProjection-based least-squares reductor for the stationary stokes equation.
- Parameters:
fom – See
SupremizerGalerkinStokesReductor.RB_u – See
SupremizerGalerkinStokesReductor.RB_p – See
SupremizerGalerkinStokesReductor.u_product – See
SupremizerGalerkinStokesReductor.p_product – See
SupremizerGalerkinStokesReductor.use_normal_equations – Whether to solve the least-squares problem directly using a least-squares solver or via the normal equations.
check_orthonormality – See
ProjectionBasedReductor.check_tol – See
ProjectionBasedReductor.
Methods
- class pymor.reductors.stokes.SupremizerGalerkinStokesReductor(fom, RB_u=None, RB_p=None, u_product=None, p_product=None, check_orthonormality=None, check_tol=None)[source]¶
Bases:
pymor.reductors.basic.ProjectionBasedReductorProjection-based reductor for the stationary stokes equation.
Uses supremizer enrichment to stabilize the velocity space, then computes a Galerkin projection of the full order model onto the reduced space.
- Parameters:
fom – The Stokes
SaddlePointModelto reduce.RB_u – The basis of the reduced velocity space onto which to project. If
None, an empty basis is used.RB_p – The basis of the redcued pressure space onto which to project. If
None, an empty basis is used.u_product – Inner product
Operatorw.r.t. whichRB_uis orthonormalized. IfNone, the Euclidean inner product is used.p_product – Inner product
Operatorw.r.t. whichRB_pis orthonormalized. IfNone, the Euclidean inner product is used.check_orthonormality – See
ProjectionBasedReductor.check_tol – See
ProjectionBasedReductor.
Methods
Reconstruct high-dimensional vector from reduced vector
u.