MFEM
v3.1
Finite element discretization library
|
#include <ode.hpp>
Public Member Functions | |
RK2Solver (const double _a=2./3.) | |
virtual void | Init (TimeDependentOperator &_f) |
virtual void | Step (Vector &x, double &t, double &dt) |
Public Member Functions inherited from mfem::ODESolver | |
ODESolver () | |
virtual | ~ODESolver () |
Additional Inherited Members | |
Protected Attributes inherited from mfem::ODESolver | |
TimeDependentOperator * | f |
A family of explicit second-order RK2 methods. Some choices for the parameter 'a' are: a = 1/2 - the midpoint method a = 1 - Heun's method a = 2/3 - default, has minimal truncation error.
|
virtual |
Reimplemented from mfem::ODESolver.
|
virtual |
Implements mfem::ODESolver.