MFEM
v3.3
Finite element discretization library
|
A base class for the MFEM classes wrapping SUNDIALS' solvers. More...
#include <sundials.hpp>
Public Member Functions | |
void * | SundialsMem () const |
Access the underlying SUNDIALS object. More... | |
int | GetFlag () const |
Return the flag returned by the last call to a SUNDIALS function. More... | |
Protected Member Functions | |
bool | Parallel () const |
bool | Parallel () const |
The constructors are protected | |
SundialsSolver () | |
SundialsSolver (void *mem) | |
Static Protected Member Functions | |
static int | ODEMult (realtype t, const N_Vector y, N_Vector ydot, void *td_oper) |
Callback function used in CVODESolver and ARKODESolver. More... | |
Protected Attributes | |
void * | sundials_mem |
Pointer to the SUNDIALS mem object. More... | |
int | flag |
Flag returned by the last call to SUNDIALS. More... | |
N_Vector | y |
Auxiliary N_Vector. More... | |
Static Protected Attributes | |
static const double | default_rel_tol = 1e-4 |
static const double | default_abs_tol = 1e-9 |
A base class for the MFEM classes wrapping SUNDIALS' solvers.
This class defines some common data and functions used by the SUNDIALS solvers, e.g the common sundials_mem pointer and return flag.
Definition at line 87 of file sundials.hpp.
|
inlineprotected |
Definition at line 111 of file sundials.hpp.
|
inlineprotected |
Definition at line 112 of file sundials.hpp.
|
inline |
Return the flag returned by the last call to a SUNDIALS function.
Definition at line 120 of file sundials.hpp.
|
staticprotected |
Callback function used in CVODESolver and ARKODESolver.
Definition at line 122 of file sundials.cpp.
|
inlineprotected |
Definition at line 95 of file sundials.hpp.
|
inlineprotected |
Definition at line 98 of file sundials.hpp.
|
inline |
Access the underlying SUNDIALS object.
Definition at line 117 of file sundials.hpp.
|
staticprotected |
Definition at line 102 of file sundials.hpp.
|
staticprotected |
Definition at line 101 of file sundials.hpp.
|
mutableprotected |
Flag returned by the last call to SUNDIALS.
Definition at line 91 of file sundials.hpp.
|
protected |
Pointer to the SUNDIALS mem object.
Definition at line 90 of file sundials.hpp.
|
protected |
Auxiliary N_Vector.
Definition at line 93 of file sundials.hpp.