MFEM v4.7.0
Finite element discretization library

#include <ode.hpp>
Public Member Functions  
ExplicitRKSolver (int s_, const real_t *a_, const real_t *b_, const real_t *c_)  
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].  
virtual  ~ExplicitRKSolver () 
Public Member Functions inherited from mfem::ODESolver  
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 int  GetMaxStateSize () 
Function for getting and setting the state vectors.  
virtual int  GetStateSize () 
virtual const Vector &  GetStateVector (int i) 
virtual void  GetStateVector (int i, Vector &state) 
virtual void  SetStateVector (int i, Vector &state) 
virtual  ~ODESolver () 
Additional Inherited Members  
Protected Attributes inherited from mfem::ODESolver  
TimeDependentOperator *  f 
Pointer to the associated TimeDependentOperator.  
MemoryType  mem_type 
An explicit RungeKutta method corresponding to a general Butcher tableau +—+—+  c[0]  a[0]   c[1]  a[1] a[2]   ...  ...   c[s2]  ... a[s(s1)/21]  +—+—+   b[0] b[1] ... b[s1]  +—+—+

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.