MFEM v4.7.0
Finite element discretization library
Loading...
Searching...
No Matches
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.
 
void operator= (const Sundials &other)=delete
 Disable copy assignment.
 

Static Public Member Functions

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

Detailed Description

Singleton class for SUNContext and SundialsMemHelper objects.

Definition at line 148 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 175 of file sundials.cpp.

◆ GetMemHelper()

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

Provides access to the SundialsMemHelper object.

Definition at line 180 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 164 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: