management class for Omega_h::Library
More...
To avoid initializing Kokkos multiple times, use this OmegaHInterface::GetLibrary()
to get an Omega_h::Library
object
Definition at line 49 of file oshGeoMesh.H.
Public Member Functions | |
~OmegaHInterface ()=default | |
OmegaHInterface (const OmegaHInterface &)=delete | |
OmegaHInterface & | operator= (const OmegaHInterface &)=delete |
OmegaHInterface (OmegaHInterface &&)=delete | |
OmegaHInterface & | operator= (OmegaHInterface &&)=delete |
Static Public Member Functions | |
static std::shared_ptr< Omega_h::Library > | GetLibrary () |
Initialize Omega_h. More... | |
Private Member Functions | |
OmegaHInterface () | |
Private Attributes | |
std::shared_ptr< Omega_h::Library > | library |
Static Private Attributes | |
static std::shared_ptr< OmegaHInterface > | instance {new OmegaHInterface} |
|
default |
|
delete |
|
delete |
|
private |
Definition at line 68 of file oshGeoMesh.C.
References instance.
|
static |
Will only create an Omega_h::Library on first call to method.
Definition at line 64 of file oshGeoMesh.C.
References instance.
Referenced by NEM::MSH::oshGeoMesh::GM2osh(), NEM::MSH::oshGeoMesh::oshGeoMesh(), and NEM::MSH::vtkStandardNewMacro().
|
delete |
|
delete |
|
staticprivate |
Definition at line 71 of file oshGeoMesh.H.
Referenced by GetLibrary(), and OmegaHInterface().
|
private |
Definition at line 72 of file oshGeoMesh.H.