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.StationaryLSRBReductor

Projection-based least-squares reductor for the stationary stokes equation.

Parameters:

Methods

reduce

reduce()[source]
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.ProjectionBasedReductor

Projection-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 SaddlePointModel to 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 Operator w.r.t. which RB_u is orthonormalized. If None, the Euclidean inner product is used.

  • p_product – Inner product Operator w.r.t. which RB_p is orthonormalized. If None, the Euclidean inner product is used.

  • check_orthonormality – See ProjectionBasedReductor.

  • check_tol – See ProjectionBasedReductor.

Methods

build_rom

compute_supremizers

project_operators

reconstruct

Reconstruct high-dimensional vector from reduced vector u.

reduce

build_rom(projected_operators, error_estimator)[source]
compute_supremizers(RB_p, offset=0)[source]
project_operators()[source]
reconstruct(u)[source]

Reconstruct high-dimensional vector from reduced vector u.

reduce()[source]