![]() |
Block-Structured AMR Software Framework
|
Helper that serializes EB geometry to disk for restartability. More...
#include <AMReX_EB_chkpt_file.H>
Public Member Functions | |
| ChkptFile (std::string fname) | |
Build a checkpoint helper rooted at file/directory fname. | |
| void | read_from_chkpt_file (BoxArray &cut_grids, BoxArray &covered_grids, DistributionMapping &dmap, MultiFab &volfrac, MultiFab ¢roid, MultiFab &bndryarea, MultiFab &bndrycent, MultiFab &bndrynorm, Array< MultiFab, 3 > &areafrac, Array< MultiFab, 3 > &facecent, Array< MultiFab, 3 > &edgecent, MultiFab &levelset, int ng_gfab, const Geometry &geom, const IntVect &ngrow_finest, bool extend_domain_face, int max_grid_size) const |
| Read EB data from a checkpoint file. | |
| void | write_to_chkpt_file (const BoxArray &cut_grids, const BoxArray &covered_grids, const MultiFab &volfrac, const MultiFab ¢roid, const MultiFab &bndryarea, const MultiFab &bndrycent, const MultiFab &bndrynorm, const Array< MultiFab, 3 > &areafrac, const Array< MultiFab, 3 > &facecent, const Array< MultiFab, 3 > &edgecent, const MultiFab &levelset, const Geometry &geom, const IntVect &ngrow, bool extend_domain_face, int max_grid_size) const |
| Write EB data to disk so the hierarchy can be reconstructed later. | |
Helper that serializes EB geometry to disk for restartability.
| amrex::EB2::ChkptFile::ChkptFile | ( | std::string | fname | ) |
Build a checkpoint helper rooted at file/directory fname.
| void amrex::EB2::ChkptFile::read_from_chkpt_file | ( | BoxArray & | cut_grids, |
| BoxArray & | covered_grids, | ||
| DistributionMapping & | dmap, | ||
| MultiFab & | volfrac, | ||
| MultiFab & | centroid, | ||
| MultiFab & | bndryarea, | ||
| MultiFab & | bndrycent, | ||
| MultiFab & | bndrynorm, | ||
| Array< MultiFab, 3 > & | areafrac, | ||
| Array< MultiFab, 3 > & | facecent, | ||
| Array< MultiFab, 3 > & | edgecent, | ||
| MultiFab & | levelset, | ||
| int | ng_gfab, | ||
| const Geometry & | geom, | ||
| const IntVect & | ngrow_finest, | ||
| bool | extend_domain_face, | ||
| int | max_grid_size | ||
| ) | const |
Read EB data from a checkpoint file.
Populates the provided BoxArrays, DistributionMapping, and MultiFabs.
| void amrex::EB2::ChkptFile::write_to_chkpt_file | ( | const BoxArray & | cut_grids, |
| const BoxArray & | covered_grids, | ||
| const MultiFab & | volfrac, | ||
| const MultiFab & | centroid, | ||
| const MultiFab & | bndryarea, | ||
| const MultiFab & | bndrycent, | ||
| const MultiFab & | bndrynorm, | ||
| const Array< MultiFab, 3 > & | areafrac, | ||
| const Array< MultiFab, 3 > & | facecent, | ||
| const Array< MultiFab, 3 > & | edgecent, | ||
| const MultiFab & | levelset, | ||
| const Geometry & | geom, | ||
| const IntVect & | ngrow, | ||
| bool | extend_domain_face, | ||
| int | max_grid_size | ||
| ) | const |
Write EB data to disk so the hierarchy can be reconstructed later.