![]() |
MFEM v4.8.0
Finite element discretization library
|
#include <ode.hpp>
Public Member Functions | |
| AdamsMoultonSolver (int s_, const real_t *a_) | |
| void | Init (TimeDependentOperator &f_) override |
| Associate a TimeDependentOperator with the ODE solver. | |
| void | Step (Vector &x, real_t &t, real_t &dt) override |
| Perform a time step from time t [in] to time t [out] based on the requested step size dt [in]. | |
| ODEStateData & | GetState () override |
| Returns the StateData. | |
| const ODEStateData & | GetState () const override |
| Returns the StateData. | |
Public Member Functions inherited from mfem::ODESolverWithStates | |
| virtual int | GetStateSize () |
| Returns how many State vectors the ODE requires. | |
Public Member Functions inherited from mfem::ODESolver | |
| ODESolver () | |
| 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 () |
Protected Member Functions | |
| bool | print () |
| void | CheckTimestep (real_t dt) |
Protected Attributes | |
| std::unique_ptr< ODESolver > | RKsolver |
Protected Attributes inherited from mfem::ODESolver | |
| TimeDependentOperator * | f |
| Pointer to the associated TimeDependentOperator. | |
| MemoryType | mem_type |
Additional Inherited Members | |
Static Public Member Functions inherited from mfem::ODESolver | |
| 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 Public Attributes inherited from mfem::ODESolver | |
| static MFEM_EXPORT std::string | ExplicitTypes |
| static MFEM_EXPORT std::string | ImplicitTypes |
| static MFEM_EXPORT std::string | Types |
| mfem::AdamsMoultonSolver::AdamsMoultonSolver | ( | int | s_, |
| const real_t * | a_ ) |
|
protected |
|
inlineoverridevirtual |
Returns the StateData.
Implements mfem::ODESolverWithStates.
|
inlineoverridevirtual |
Returns the StateData.
Implements mfem::ODESolverWithStates.
|
overridevirtual |
Associate a TimeDependentOperator with the ODE solver.
This method has to be called:
Reimplemented from mfem::ODESolver.
Perform a time step from time t [in] to time t [out] based on the requested step size dt [in].
| [in,out] | x | Approximate solution. |
| [in,out] | t | Time associated with the approximate solution x. |
| [in,out] | dt | Time step size. |
The following rules describe the common behavior of the method:
Implements mfem::ODESolver.
|
protected |