MFEM
v4.2.0
Finite element discretization library
|
#include <ode.hpp>
Public Member Functions | |
GeneralizedAlphaSolver (double rho=1.0) | |
void | Init (TimeDependentOperator &_f) override |
Associate a TimeDependentOperator with the ODE solver. More... | |
void | Step (Vector &x, double &t, double &dt) override |
Perform a time step from time t [in] to time t [out] based on the requested step size dt [in]. More... | |
int | GetMaxStateSize () override |
Function for getting and setting the state vectors. More... | |
int | GetStateSize () override |
const Vector & | GetStateVector (int i) override |
void | GetStateVector (int i, Vector &state) override |
void | SetStateVector (int i, Vector &state) override |
Public Member Functions inherited from mfem::ODESolver | |
ODESolver () | |
virtual void | Run (Vector &x, double &t, double &dt, double tf) |
Perform time integration from time t [in] to time tf [in]. More... | |
virtual | ~ODESolver () |
Protected Member Functions | |
void | SetRhoInf (double rho_inf) |
void | PrintProperties (std::ostream &out=mfem::out) |
Protected Attributes | |
Vector | xdot |
Vector | k |
Vector | y |
double | alpha_f |
double | alpha_m |
double | gamma |
int | nstate |
Protected Attributes inherited from mfem::ODESolver | |
TimeDependentOperator * | f |
Pointer to the associated TimeDependentOperator. More... | |
MemoryType | mem_type |
Generalized-alpha ODE solver from "A generalized-α method for integrating the filtered Navier-Stokes equations with a stabilized finite element method" by K.E. Jansen, C.H. Whiting and G.M. Hulbert.
|
inline |
|
inlineoverridevirtual |
Function for getting and setting the state vectors.
Reimplemented from mfem::ODESolver.
|
inlineoverridevirtual |
Reimplemented from mfem::ODESolver.
|
overridevirtual |
Reimplemented from mfem::ODESolver.
|
overridevirtual |
Reimplemented from mfem::ODESolver.
|
overridevirtual |
Associate a TimeDependentOperator with the ODE solver.
This method has to be called:
Reimplemented from mfem::ODESolver.
|
protected |
|
protected |
|
overridevirtual |
Reimplemented from mfem::ODESolver.
|
overridevirtual |
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.