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

#include <AMReX_EB2_Level_chkpt_file.H>

Inheritance diagram for amrex::EB2::ChkptFileLevel:
amrex::EB2::GShopLevel< ChkptFile > amrex::EB2::Level

Public Member Functions

 ChkptFileLevel (IndexSpace const *is, ChkptFile const &chkpt_file, const Geometry &geom, int max_grid_size, int ngrow, bool extend_domain_face)
 
 ChkptFileLevel (IndexSpace const *is, int ilev, int max_grid_size, int ngrow, const Geometry &geom, ChkptFileLevel &fineLevel)
 
void define_fine_chkpt_file (ChkptFile const &chkpt_file, Geometry const &geom, int max_grid_size, int ngrow, bool extend_domain_face)
 
void finalize_cell_flags ()
 
- Public Member Functions inherited from amrex::EB2::GShopLevel< ChkptFile >
 GShopLevel (IndexSpace const *is, ChkptFile const &gshop, const Geometry &geom, int max_grid_size, int ngrow, bool extend_domain_face, int num_crse_opt)
 
 GShopLevel (IndexSpace const *is, int ilev, int max_grid_size, int ngrow, const Geometry &geom, GShopLevel< ChkptFile > &fineLevel)
 
 GShopLevel (IndexSpace const *is, const Geometry &geom)
 
void define_fine (ChkptFile const &gshop, const Geometry &geom, int max_grid_size, int ngrow, bool extend_domain_face, int num_crse_opt)
 
- Public Member Functions inherited from amrex::EB2::Level
bool isAllRegular () const noexcept
 
bool isOK () const noexcept
 
void fillEBCellFlag (FabArray< EBCellFlagFab > &cellflag, const Geometry &geom) const
 
void fillVolFrac (MultiFab &vfrac, const Geometry &geom) const
 
void fillCentroid (MultiCutFab &centroid, const Geometry &geom) const
 
void fillCentroid (MultiFab &centroid, const Geometry &geom) const
 
void fillBndryArea (MultiCutFab &bndryarea, const Geometry &geom) const
 
void fillBndryArea (MultiFab &bndryarea, const Geometry &geom) const
 
void fillBndryCent (MultiCutFab &bndrycent, const Geometry &geom) const
 
void fillBndryCent (MultiFab &bndrycent, const Geometry &geom) const
 
void fillBndryNorm (MultiCutFab &bndrynorm, const Geometry &geom) const
 
void fillBndryNorm (MultiFab &bndrynorm, const Geometry &geom) const
 
void fillAreaFrac (Array< MultiCutFab *, AMREX_SPACEDIM > const &areafrac, const Geometry &geom) const
 
void fillAreaFrac (Array< MultiFab *, AMREX_SPACEDIM > const &areafrac, const Geometry &geom) const
 
void fillFaceCent (Array< MultiCutFab *, AMREX_SPACEDIM > const &facecent, const Geometry &geom) const
 
void fillFaceCent (Array< MultiFab *, AMREX_SPACEDIM > const &facecent, const Geometry &geom) const
 
void fillEdgeCent (Array< MultiCutFab *, AMREX_SPACEDIM > const &edgecent, const Geometry &geom) const
 
void fillEdgeCent (Array< MultiFab *, AMREX_SPACEDIM > const &edgecent, const Geometry &geom) const
 
void fillLevelSet (MultiFab &levelset, const Geometry &geom) const
 
const BoxArrayboxArray () const noexcept
 
const DistributionMappingDistributionMap () const noexcept
 
 Level (IndexSpace const *is, const Geometry &geom)
 
void prepareForCoarsening (const Level &rhs, int max_grid_size, IntVect const &ngrow)
 
const GeometryGeom () const noexcept
 
IndexSpace const * getEBIndexSpace () const noexcept
 
IntVect const & nGrowVect () const noexcept
 
void write_to_chkpt_file (const std::string &fname, bool extend_domain_face, int max_grid_size) const
 
bool hasEBInfo () const noexcept
 
void fillCutCellMask (iMultiFab &cutcellmask, const Geometry &geom) const
 
int coarsenFromFine (Level &fineLevel, bool fill_boundary)
 
void buildCellFlag ()
 
void buildCutCellMask (Level const &fine_level)
 

Additional Inherited Members

- Static Public Member Functions inherited from amrex::EB2::GShopLevel< ChkptFile >
static GShopLevel< ChkptFilemakeAllRegular (IndexSpace const *is, const Geometry &geom)
 
- Protected Attributes inherited from amrex::EB2::Level
Geometry m_geom
 
IntVect m_ngrow
 
BoxArray m_grids
 
BoxArray m_covered_grids
 
DistributionMapping m_dmap
 
MultiGFab m_mgf
 
MultiFab m_levelset
 
FabArray< EBCellFlagFabm_cellflag
 
MultiFab m_volfrac
 
MultiFab m_centroid
 
MultiFab m_bndryarea
 
MultiFab m_bndrycent
 
MultiFab m_bndrynorm
 
Array< MultiFab, AMREX_SPACEDIM > m_areafrac
 
Array< MultiFab, AMREX_SPACEDIM > m_facecent
 
Array< MultiFab, AMREX_SPACEDIM > m_edgecent
 
iMultiFab m_cutcellmask
 
bool m_allregular = false
 
bool m_ok = false
 
bool m_has_eb_info = true
 
IndexSpace const * m_parent
 

Constructor & Destructor Documentation

◆ ChkptFileLevel() [1/2]

amrex::EB2::ChkptFileLevel::ChkptFileLevel ( IndexSpace const *  is,
ChkptFile const &  chkpt_file,
const Geometry geom,
int  max_grid_size,
int  ngrow,
bool  extend_domain_face 
)

◆ ChkptFileLevel() [2/2]

amrex::EB2::ChkptFileLevel::ChkptFileLevel ( IndexSpace const *  is,
int  ilev,
int  max_grid_size,
int  ngrow,
const Geometry geom,
ChkptFileLevel fineLevel 
)

Member Function Documentation

◆ define_fine_chkpt_file()

void amrex::EB2::ChkptFileLevel::define_fine_chkpt_file ( ChkptFile const &  chkpt_file,
Geometry const &  geom,
int  max_grid_size,
int  ngrow,
bool  extend_domain_face 
)

◆ finalize_cell_flags()

void amrex::EB2::ChkptFileLevel::finalize_cell_flags ( )

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