MFEM  v4.5.2
Finite element discretization library
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

◆ Sundials()

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

Disable copy construction.

Member Function Documentation

◆ GetContext()

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

Provides access to the SUNContext object.

Definition at line 165 of file sundials.cpp.

◆ GetMemHelper()

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

Provides access to the SundialsMemHelper object.

Definition at line 170 of file sundials.cpp.

◆ Init()

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.

◆ operator=()

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

Disable copy assignment.


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