MFEM  v4.5.1
Finite element discretization library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Member Functions | Static Public Member Functions | List of all members
mfem::Sundials Class Reference

Singleton class for SUNContext and SundialsMemHelper objects. More...

#include <sundials.hpp>

Public Member Functions

 Sundials (Sundials &other)=delete
 Disable copy construction. More...
 
void operator= (const Sundials &other)=delete
 Disable copy assignment. More...
 

Static Public Member Functions

static void Init ()
 
static SUNContextGetContext ()
 Provides access to the SUNContext object. More...
 
static SundialsMemHelperGetMemHelper ()
 Provides access to the SundialsMemHelper object. More...
 

Detailed Description

Singleton class for SUNContext and SundialsMemHelper objects.

Definition at line 137 of file sundials.hpp.

Constructor & Destructor Documentation

mfem::Sundials::Sundials ( Sundials other)
delete

Disable copy construction.

Member Function Documentation

SUNContext & mfem::Sundials::GetContext ( )
static

Provides access to the SUNContext object.

Definition at line 165 of file sundials.cpp.

SundialsMemHelper & mfem::Sundials::GetMemHelper ( )
static

Provides access to the SundialsMemHelper object.

Definition at line 170 of file sundials.cpp.

void mfem::Sundials::Init ( )
static

Initializes SUNContext and SundialsMemHelper objects. Should be called at the beginning of the calling program (after Mpi::Init if applicable)

Definition at line 154 of file sundials.cpp.

void mfem::Sundials::operator= ( const Sundials other)
delete

Disable copy assignment.


The documentation for this class was generated from the following files: