Block-Structured AMR Software Framework
amrex::EB2::IndexSpace Class Referenceabstract

#include <AMReX_EB2.H>

Inheritance diagram for amrex::EB2::IndexSpace:
amrex::EB2::IndexSpaceChkptFile amrex::EB2::IndexSpaceImp< G > amrex::EB2::IndexSpaceSTL

Public Member Functions

virtual ~IndexSpace ()=default
 
 IndexSpace () noexcept=default
 
 IndexSpace (IndexSpace const &)=delete
 
 IndexSpace (IndexSpace &&)=delete
 
IndexSpaceoperator= (IndexSpace const &)=delete
 
IndexSpaceoperator= (IndexSpace &&)=delete
 
virtual const LevelgetLevel (const Geometry &geom) const =0
 
virtual const GeometrygetGeometry (const Box &domain) const =0
 
virtual const BoxcoarsestDomain () const =0
 
virtual void addFineLevels (int num_new_fine_levels)=0
 
virtual void addRegularCoarseLevels (int num_new_coarse_levels)=0
 

Static Public Member Functions

static void push (IndexSpace *ispace)
 
static void erase (IndexSpace *ispace)
 
static void pop () noexcept
 
static void clear () noexcept
 
static const IndexSpacetop ()
 
static bool empty () noexcept
 
static int size () noexcept
 

Static Protected Attributes

static AMREX_EXPORT Vector< std::unique_ptr< IndexSpace > > m_instance
 

Constructor & Destructor Documentation

◆ ~IndexSpace()

virtual amrex::EB2::IndexSpace::~IndexSpace ( )
virtualdefault

◆ IndexSpace() [1/3]

amrex::EB2::IndexSpace::IndexSpace ( )
defaultnoexcept

◆ IndexSpace() [2/3]

amrex::EB2::IndexSpace::IndexSpace ( IndexSpace const &  )
delete

◆ IndexSpace() [3/3]

amrex::EB2::IndexSpace::IndexSpace ( IndexSpace &&  )
delete

Member Function Documentation

◆ addFineLevels()

virtual void amrex::EB2::IndexSpace::addFineLevels ( int  num_new_fine_levels)
pure virtual

◆ addRegularCoarseLevels()

virtual void amrex::EB2::IndexSpace::addRegularCoarseLevels ( int  num_new_coarse_levels)
pure virtual

◆ clear()

static void amrex::EB2::IndexSpace::clear ( )
inlinestaticnoexcept

◆ coarsestDomain()

virtual const Box& amrex::EB2::IndexSpace::coarsestDomain ( ) const
pure virtual

◆ empty()

static bool amrex::EB2::IndexSpace::empty ( )
inlinestaticnoexcept

◆ erase()

void amrex::EB2::IndexSpace::erase ( IndexSpace ispace)
static

◆ getGeometry()

virtual const Geometry& amrex::EB2::IndexSpace::getGeometry ( const Box domain) const
pure virtual

◆ getLevel()

virtual const Level& amrex::EB2::IndexSpace::getLevel ( const Geometry geom) const
pure virtual

◆ operator=() [1/2]

IndexSpace& amrex::EB2::IndexSpace::operator= ( IndexSpace &&  )
delete

◆ operator=() [2/2]

IndexSpace& amrex::EB2::IndexSpace::operator= ( IndexSpace const &  )
delete

◆ pop()

static void amrex::EB2::IndexSpace::pop ( )
inlinestaticnoexcept

◆ push()

void amrex::EB2::IndexSpace::push ( IndexSpace ispace)
static

◆ size()

static int amrex::EB2::IndexSpace::size ( )
inlinestaticnoexcept

◆ top()

static const IndexSpace& amrex::EB2::IndexSpace::top ( )
inlinestatic

Member Data Documentation

◆ m_instance

AMREX_EXPORT Vector< std::unique_ptr< IndexSpace > > amrex::EB2::IndexSpace::m_instance
staticprotected

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