Chombo + EB  3.0
Static Public Member Functions | Private Member Functions | Static Private Attributes | List of all members
Chombo_EBIS Class Reference

singleton version of EBIndexSpace. More...

#include <EBIndexSpace.H>

Static Public Member Functions

static EBIndexSpaceinstance ()
 
static void alias (const EBIndexSpace *a_input)
 

Private Member Functions

 Chombo_EBIS ()
 
 ~Chombo_EBIS ()
 

Static Private Attributes

static EBIndexSpaces_instance
 
static bool s_aliased
 if you want to sneak an existing EBIS into the singleton. More...
 

Detailed Description

singleton version of EBIndexSpace.

Constructor & Destructor Documentation

◆ Chombo_EBIS()

Chombo_EBIS::Chombo_EBIS ( )
inlineprivate

◆ ~Chombo_EBIS()

Chombo_EBIS::~Chombo_EBIS ( )
inlineprivate

Member Function Documentation

◆ instance()

static EBIndexSpace* Chombo_EBIS::instance ( )
static

Return a pointer to the singleton EBIndexSpace. Until this is called once, the singleton is null. See Design patterns for why this is done this way.

◆ alias()

static void Chombo_EBIS::alias ( const EBIndexSpace a_input)
static

Member Data Documentation

◆ s_instance

EBIndexSpace* Chombo_EBIS::s_instance
staticprivate

This is NULL until the first time instance() is called. On the first time it is called it is set to new EBIndexSpace(); After that it points to the same thing.

◆ s_aliased

bool Chombo_EBIS::s_aliased
staticprivate

if you want to sneak an existing EBIS into the singleton.


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