Block-Structured AMR Software Framework
Loading...
Searching...
No Matches
AMReX_EB2.H File Reference
#include <AMReX_Config.H>
#include <AMReX_Geometry.H>
#include <AMReX_Vector.H>
#include <AMReX_EB2_GeometryShop.H>
#include <AMReX_EB2_Level.H>
#include <cmath>
#include <algorithm>
#include <memory>
#include <type_traits>
#include <string>
#include <AMReX_EB2_IndexSpaceI.H>

Go to the source code of this file.

Classes

class  amrex::EB2::IndexSpace
 
class  amrex::EB2::IndexSpaceImp< G >
 

Namespaces

namespace  amrex
 
namespace  amrex::EB2
 

Functions

void amrex::EB2::Initialize ()
 Initialize EB2’s global state (call before constructing geometries by amrex::Initialize).
 
void amrex::EB2::Finalize ()
 Tear down EB2 global resources (called automatically at shutdown).
 
const IndexSpaceamrex::EB2::TopIndexSpaceIfPresent () noexcept
 Return the top IndexSpace if one has been built (nullptr otherwise).
 
const IndexSpaceamrex::EB2::TopIndexSpace () noexcept
 Return the top IndexSpace if one has been built (nullptr otherwise).
 
bool amrex::EB2::ExtendDomainFace ()
 
int amrex::EB2::NumCoarsenOpt ()
 
template<typename G >
void amrex::EB2::Build (const G &gshop, const Geometry &geom, int required_coarsening_level, int max_coarsening_level, int ngrow=4, bool build_coarse_level_by_coarsening=true, bool extend_domain_face=ExtendDomainFace(), int num_coarsen_opt=NumCoarsenOpt())
 Build EB geometry from a GeometryShop gshop and a single AMR Geometry.
 
template<typename G >
void amrex::EB2::Build (const G &gshop, Vector< Geometry > geom, int ngrow=4, bool extend_domain_face=ExtendDomainFace(), int num_coarsen_opt=NumCoarsenOpt())
 Build EB geometry from a GeometryShop and a vector of Geometries (one per level).
 
void amrex::EB2::Build (const Geometry &geom, int required_coarsening_level, int max_coarsening_level, int ngrow=4, bool build_coarse_level_by_coarsening=true, bool extend_domain_face=ExtendDomainFace(), int num_coarsen_opt=NumCoarsenOpt(), bool support_mvmc=false)
 Build EB geometry using the runtime-configured EB2 geometry type.
 
void amrex::EB2::BuildMultiValuedMultiCut (const Geometry &geom, int required_coarsening_level, int max_coarsening_level, int ngrow=4, bool build_coarse_level_by_coarsening=true, bool extend_domain_face=ExtendDomainFace(), int num_coarsen_opt=NumCoarsenOpt())
 Build EB geometry dedicated to multi-valued multi-cut support.
 
void amrex::EB2::BuildFromChkptFile (std::string const &fname, const Geometry &geom, int required_coarsening_level, int max_coarsening_level, int ngrow=4, bool build_coarse_level_by_coarsening=true, bool extend_domain_face=ExtendDomainFace())
 Rebuild an IndexSpace from a checkpoint file.
 
int amrex::EB2::maxCoarseningLevel (const Geometry &geom)
 Return the maximum coarsening level supported for given geom.
 
int amrex::EB2::maxCoarseningLevel (IndexSpace const *ebis, const Geometry &geom)
 Same as above but for a specific IndexSpace pointer ebis.
 
void amrex::EB2::addFineLevels (int num_new_fine_levels)
 Add num_new_fine_levels to the EB hierarchy.
 
void amrex::EB2::addRegularCoarseLevels (int num_new_coarse_levels)
 Add num_new_coarse_levels regular levels below the current coarsest level.