1#ifndef AMREX_EB2_INDEXSPACE_CHKPTFILE_H_
2#define AMREX_EB2_INDEXSPACE_CHKPTFILE_H_
3#include <AMReX_Config.H>
36 const Geometry& geom,
int required_coarsening_level,
37 int max_coarsening_level,
int ngrow,
38 bool build_coarse_level_by_coarsening,
39 bool extend_domain_face);
54 return m_geom.back().Domain();
Helper that serializes EB geometry to disk for restartability.
Definition AMReX_EB_chkpt_file.H:16
void addRegularCoarseLevels(int num_new_coarse_levels) final
Add regular coarse levels beneath the existing stack.
Definition AMReX_EB2_IndexSpace_chkpt_file.cpp:94
IndexSpaceChkptFile(IndexSpaceChkptFile const &)=delete
const Box & coarsestDomain() const final
Domain of the coarsest level loaded from the checkpoint.
Definition AMReX_EB2_IndexSpace_chkpt_file.H:53
~IndexSpaceChkptFile() override=default
IndexSpaceChkptFile(const ChkptFile &chkpt_file, const Geometry &geom, int required_coarsening_level, int max_coarsening_level, int ngrow, bool build_coarse_level_by_coarsening, bool extend_domain_face)
Build an EB hierarchy described by chkpt_file.
Definition AMReX_EB2_IndexSpace_chkpt_file.cpp:5
IndexSpaceChkptFile(IndexSpaceChkptFile &&)=delete
const Level & getLevel(const Geometry &geom) const final
Return the EB level matching geom.Domain().
Definition AMReX_EB2_IndexSpace_chkpt_file.cpp:65
void addFineLevels(int num_new_fine_levels) final
Insert additional fine levels generated from checkpoint data.
Definition AMReX_EB2_IndexSpace_chkpt_file.cpp:85
void operator=(IndexSpaceChkptFile const &)=delete
const Geometry & getGeometry(const Box &dom) const final
Return the Geometry whose domain equals dom.
Definition AMReX_EB2_IndexSpace_chkpt_file.cpp:75
IndexSpace() noexcept=default
Definition AMReX_EB2_Level.H:43
Rectangular problem domain geometry.
Definition AMReX_Geometry.H:87
This class is a thin wrapper around std::vector. Unlike vector, Vector::operator[] provides bound che...
Definition AMReX_Vector.H:29
Definition AMReX_FabArrayBase.H:38
BoxND< 3 > Box
Box is an alias for amrex::BoxND instantiated with AMREX_SPACEDIM.
Definition AMReX_BaseFwd.H:35