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
IndexSpace that reads EB levels from a checkpoint file on disk.
Definition AMReX_EB2_IndexSpace_chkpt_file.H:21
void addRegularCoarseLevels(int num_new_coarse_levels) final
Add regular coarse levels beneath the existing stack.
Definition AMReX_EB2_IndexSpace_chkpt_file.cpp:90
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(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:81
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:73
Definition AMReX_EB2.H:28
Definition AMReX_EB2_Level.H:42
Rectangular problem domain geometry.
Definition AMReX_Geometry.H:74
This class is a thin wrapper around std::vector. Unlike vector, Vector::operator[] provides bound che...
Definition AMReX_Vector.H:28
Definition AMReX_FabArrayBase.H:33