rom: Galerkin: hyperreduced problem

Defined in module: pressio4py.rom.galerkin

Import as:       from pressio4py.rom import galerkin

API, Parameters and Requirements

problem = galerkin.HyperreducedExplicitProblem(scheme, fom_adapter, decoder, \      (1)
                                               rom_state, fom_ref_state, projector)

problem = galerkin.HyperreducedImplicitProblem(scheme, fom_adapter, decoder, \      (2)
                                               rom_state, fom_ref_state, projector)
  • scheme:
  • fom_adapter:
    • instance of your adapter class specifying the FOM problem.
    • must satisfy one of the APIs suitable for Galerkin, see API list
  • decoder:
    • decoder object
    • must satify the requirements listed here
  • rom_state:
    • currently, must be a rank-1 numpy.array
  • fom_ref_state:
    • your FOM reference state that is used when reconstructing the FOM state
    • must be a rank-1 numpy.array
  • projector:
    • performs the projection of the FOM operators onto the reduced space
    • must meet this specific API


Example usage

todo link tutorials/demos