Block-Structured AMR Software Framework
amrex::EB2::IndexSpaceSTL Class Reference

#include <AMReX_EB2_IndexSpace_STL.H>

Inheritance diagram for amrex::EB2::IndexSpaceSTL:
amrex::EB2::IndexSpace

Public Member Functions

 IndexSpaceSTL (const std::string &stl_file, Real stl_scale, Array< Real, 3 > const &stl_center, int stl_reverse_normal, const Geometry &geom, int required_coarsening_level, int max_coarsening_level, int ngrow, bool build_coarse_level_by_coarsening, bool extend_domain_face, int num_coarsen_opt, bool bvh_optimization)
 
 IndexSpaceSTL (IndexSpaceSTL const &)=delete
 
 IndexSpaceSTL (IndexSpaceSTL &&)=delete
 
void operator= (IndexSpaceSTL const &)=delete
 
void operator= (IndexSpaceSTL &&)=delete
 
 ~IndexSpaceSTL () override=default
 
const LevelgetLevel (const Geometry &geom) const final
 
const GeometrygetGeometry (const Box &dom) const final
 
const BoxcoarsestDomain () const final
 
void addFineLevels (int num_new_fine_levels) final
 
void addRegularCoarseLevels (int num_new_coarse_levels) final
 
- Public Member Functions inherited from amrex::EB2::IndexSpace
virtual ~IndexSpace ()=default
 
 IndexSpace () noexcept=default
 
 IndexSpace (IndexSpace const &)=delete
 
 IndexSpace (IndexSpace &&)=delete
 
IndexSpaceoperator= (IndexSpace const &)=delete
 
IndexSpaceoperator= (IndexSpace &&)=delete
 

Private Attributes

Vector< STLLevelm_stllevel
 
Vector< Geometrym_geom
 
Vector< Boxm_domain
 
Vector< intm_ngrow
 

Additional Inherited Members

- Static Public Member Functions inherited from amrex::EB2::IndexSpace
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 inherited from amrex::EB2::IndexSpace
static AMREX_EXPORT Vector< std::unique_ptr< IndexSpace > > m_instance
 

Constructor & Destructor Documentation

◆ IndexSpaceSTL() [1/3]

amrex::EB2::IndexSpaceSTL::IndexSpaceSTL ( const std::string &  stl_file,
Real  stl_scale,
Array< Real, 3 > const &  stl_center,
int  stl_reverse_normal,
const Geometry geom,
int  required_coarsening_level,
int  max_coarsening_level,
int  ngrow,
bool  build_coarse_level_by_coarsening,
bool  extend_domain_face,
int  num_coarsen_opt,
bool  bvh_optimization 
)

◆ IndexSpaceSTL() [2/3]

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

◆ IndexSpaceSTL() [3/3]

amrex::EB2::IndexSpaceSTL::IndexSpaceSTL ( IndexSpaceSTL &&  )
delete

◆ ~IndexSpaceSTL()

amrex::EB2::IndexSpaceSTL::~IndexSpaceSTL ( )
overridedefault

Member Function Documentation

◆ addFineLevels()

void amrex::EB2::IndexSpaceSTL::addFineLevels ( int  num_new_fine_levels)
finalvirtual

◆ addRegularCoarseLevels()

void amrex::EB2::IndexSpaceSTL::addRegularCoarseLevels ( int  num_new_coarse_levels)
finalvirtual

◆ coarsestDomain()

const Box& amrex::EB2::IndexSpaceSTL::coarsestDomain ( ) const
inlinefinalvirtual

◆ getGeometry()

const Geometry & amrex::EB2::IndexSpaceSTL::getGeometry ( const Box dom) const
finalvirtual

◆ getLevel()

const Level & amrex::EB2::IndexSpaceSTL::getLevel ( const Geometry geom) const
finalvirtual

◆ operator=() [1/2]

void amrex::EB2::IndexSpaceSTL::operator= ( IndexSpaceSTL &&  )
delete

◆ operator=() [2/2]

void amrex::EB2::IndexSpaceSTL::operator= ( IndexSpaceSTL const &  )
delete

Member Data Documentation

◆ m_domain

Vector<Box> amrex::EB2::IndexSpaceSTL::m_domain
private

◆ m_geom

Vector<Geometry> amrex::EB2::IndexSpaceSTL::m_geom
private

◆ m_ngrow

Vector<int> amrex::EB2::IndexSpaceSTL::m_ngrow
private

◆ m_stllevel

Vector<STLLevel> amrex::EB2::IndexSpaceSTL::m_stllevel
private

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