![]() |
MFEM v4.8.0
Finite element discretization library
|
Abstract class for an ODESolver that has state history implemented as ODEStateData. More...
#include <ode.hpp>
Public Member Functions | |
virtual ODEStateData & | GetState ()=0 |
Returns the StateData. | |
virtual const ODEStateData & | GetState () const =0 |
Returns the StateData. | |
virtual int | GetStateSize () |
Returns how many State vectors the ODE requires. | |
![]() | |
ODESolver () | |
virtual void | Init (TimeDependentOperator &f_) |
Associate a TimeDependentOperator with the ODE solver. | |
virtual void | Step (Vector &x, real_t &t, real_t &dt)=0 |
Perform a time step from time t [in] to time t [out] based on the requested step size dt [in]. | |
virtual void | Run (Vector &x, real_t &t, real_t &dt, real_t tf) |
Perform time integration from time t [in] to time tf [in]. | |
virtual | ~ODESolver () |
Additional Inherited Members | |
![]() | |
static MFEM_EXPORT std::unique_ptr< ODESolver > | Select (const int ode_solver_type) |
static MFEM_EXPORT std::unique_ptr< ODESolver > | SelectExplicit (const int ode_solver_type) |
static MFEM_EXPORT std::unique_ptr< ODESolver > | SelectImplicit (const int ode_solver_type) |
![]() | |
static MFEM_EXPORT std::string | ExplicitTypes |
static MFEM_EXPORT std::string | ImplicitTypes |
static MFEM_EXPORT std::string | Types |
![]() | |
TimeDependentOperator * | f |
Pointer to the associated TimeDependentOperator. | |
MemoryType | mem_type |
Abstract class for an ODESolver that has state history implemented as ODEStateData.
|
pure virtual |
Returns the StateData.
Implemented in mfem::AdamsBashforthSolver, mfem::AdamsMoultonSolver, and mfem::GeneralizedAlphaSolver.
|
pure virtual |
Returns the StateData.
Implemented in mfem::AdamsBashforthSolver, mfem::AdamsMoultonSolver, and mfem::GeneralizedAlphaSolver.
|
inlinevirtual |
Returns how many State vectors the ODE requires.
Reimplemented from mfem::ODESolver.