MFEM
v4.5.2
Finite element discretization library

#include <ode.hpp>
Public Member Functions  
SDIRK23Solver (int gamma_opt=1)  
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...  
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 int  GetMaxStateSize () 
Function for getting and setting the state vectors. More...  
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 () 
Protected Attributes  
double  gamma 
Vector  k 
Vector  y 
Protected Attributes inherited from mfem::ODESolver  
TimeDependentOperator *  f 
Pointer to the associated TimeDependentOperator. More...  
MemoryType  mem_type 
Two stage, singly diagonal implicit RungeKutta (SDIRK) methods; the choices for gamma_opt are: 0  3rd order method, not Astable 1  3rd order method, Astable, not Lstable (default) 2  2nd order method, Lstable 3  2nd order method, Lstable (has solves outside [t,t+dt]).

overridevirtual 
Associate a TimeDependentOperator with the ODE solver.
This method has to be called:
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.