#include <EBISLevel.H>
Static Public Member Functions | |
| static EBIndexSpace * | instance () |
| static void | alias (const EBIndexSpace *a_input) |
Private Member Functions | |
| Chombo_EBIS () | |
| ~Chombo_EBIS () | |
Static Private Attributes | |
| static EBIndexSpace * | s_instance |
| static bool | s_aliased |
| if you want to sneak an existing EBIS into the singleton. | |
| Chombo_EBIS::Chombo_EBIS | ( | ) | [inline, private] |
| Chombo_EBIS::~Chombo_EBIS | ( | ) | [inline, private] |
| 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.
| static void Chombo_EBIS::alias | ( | const EBIndexSpace * | a_input | ) | [static] |
EBIndexSpace* Chombo_EBIS::s_instance [static, private] |
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.
bool Chombo_EBIS::s_aliased [static, private] |
if you want to sneak an existing EBIS into the singleton.
1.5.5