Base class for interfacing with SUNDIALS packages.
More...
#include <sundials.hpp>
|
void * | GetMem () const |
| Access the SUNDIALS memory structure. More...
|
|
int | GetFlag () const |
| Returns the last flag returned by a call to a SUNDIALS function. More...
|
|
Base class for interfacing with SUNDIALS packages.
Definition at line 196 of file sundials.hpp.
mfem::SundialsSolver::SundialsSolver |
( |
| ) |
|
|
inlineprotected |
Protected constructor: objects of this type should be constructed only as part of a derived class.
Definition at line 226 of file sundials.hpp.
void mfem::SundialsSolver::AllocateEmptyNVector |
( |
N_Vector & |
y | ) |
|
|
protected |
void mfem::SundialsSolver::AllocateEmptyNVector |
( |
N_Vector & |
y, |
|
|
MPI_Comm |
comm |
|
) |
| |
|
protected |
int mfem::SundialsSolver::GetFlag |
( |
| ) |
const |
|
inline |
Returns the last flag returned by a call to a SUNDIALS function.
Definition at line 243 of file sundials.hpp.
void* mfem::SundialsSolver::GetMem |
( |
| ) |
const |
|
inline |
Access the SUNDIALS memory structure.
Definition at line 240 of file sundials.hpp.
bool mfem::SundialsSolver::Parallel |
( |
| ) |
const |
|
inlineprotected |
bool mfem::SundialsSolver::Parallel |
( |
| ) |
const |
|
inlineprotected |
SUNMatrix mfem::SundialsSolver::A |
|
protected |
Linear system A = I - gamma J, M - gamma J, or J.
Definition at line 205 of file sundials.hpp.
constexpr double mfem::SundialsSolver::default_abs_tol = 1e-9 |
|
staticprotected |
Default scalar absolute tolerance.
Definition at line 222 of file sundials.hpp.
constexpr double mfem::SundialsSolver::default_rel_tol = 1e-4 |
|
staticprotected |
Default scalar relative tolerance.
Definition at line 220 of file sundials.hpp.
int mfem::SundialsSolver::flag |
|
mutableprotected |
Last flag returned from a call to SUNDIALS.
Definition at line 200 of file sundials.hpp.
SUNLinearSolver mfem::SundialsSolver::LSA |
|
protected |
SUNLinearSolver mfem::SundialsSolver::LSM |
|
protected |
SUNMatrix mfem::SundialsSolver::M |
|
protected |
SUNNonlinearSolver mfem::SundialsSolver::NLS |
|
protected |
bool mfem::SundialsSolver::reinit |
|
protected |
Flag to signal memory reinitialization is need.
Definition at line 201 of file sundials.hpp.
long mfem::SundialsSolver::saved_global_size |
|
protected |
Global vector length on last initialization.
Definition at line 202 of file sundials.hpp.
void* mfem::SundialsSolver::sundials_mem |
|
protected |
The documentation for this class was generated from the following file: