rom: Galerkin: default problem
Defined in module: pressio4py.rom.galerkin
Import as: from pressio4py.rom import galerkin
API, Parameters and Requirements
problem = galerkin.DefaultExplicitProblem(scheme, fom_adapter, decoder, \ (1) rom_state, fom_ref_state) problem = galerkin.DefaultImplicitProblem(scheme, fom_adapter, decoder, \ (2) rom_state, fom_ref_state)
scheme:- value from the
ode.stepschemeenum setting the desired stepping scheme - (1) requires explicit value
- (2) requires implicit value
- value from the
fom_adapter:- instance of your adapter class specifying the FOM problem.
- must satisfy one of the APIs suitable for Galerkin, see API list
- instance of your adapter class specifying the FOM problem.
decoder:- decoder object
- must satify the requirements listed here
rom_state:- currently, must be a rank-1
numpy.array
- currently, must be a rank-1
fom_ref_state:- your FOM reference state that is used when reconstructing the FOM state
- must be a rank-1
numpy.array