4 #ifndef ERF_WRITEBNDRYPLANES_H
5 #define ERF_WRITEBNDRYPLANES_H
8 #include "AMReX_AmrCore.H"
9 #include <AMReX_BndryRegister.H>
21 amrex::Vector<amrex::Geometry>& geom);
24 amrex::Vector<amrex::Vector<amrex::MultiFab>>& vars_new,
33 bool start_series (
int start_step,
double start_time,
bool restarting);
39 static int rows_to_keep (
const amrex::Vector<int>& steps,
const amrex::Vector<double>& times,
40 int start_step,
double start_time,
bool restarting);
48 amrex::Vector<amrex::Geometry>&
m_geom;
Definition: ERF_WriteBndryPlanes.H:18
amrex::Vector< amrex::Geometry > & m_geom
Geometry objects for all levels.
Definition: ERF_WriteBndryPlanes.H:48
void write_planes(int t_step, double time, amrex::Vector< amrex::Vector< amrex::MultiFab >> &vars_new, bool is_moist)
Definition: ERF_WriteBndryPlanes.cpp:259
int m_in_rad
controls extents on native bndry output
Definition: ERF_WriteBndryPlanes.H:74
static int bndry_lev
Definition: ERF_WriteBndryPlanes.H:71
static int rows_to_keep(const amrex::Vector< int > &steps, const amrex::Vector< double > ×, int start_step, double start_time, bool restarting)
Definition: ERF_WriteBndryPlanes.cpp:152
const int m_out_rad
Definition: ERF_WriteBndryPlanes.H:75
const int m_extent_rad
Definition: ERF_WriteBndryPlanes.H:76
WriteBndryPlanes(amrex::Vector< amrex::BoxArray > &grids, amrex::Vector< amrex::Geometry > &geom)
Definition: ERF_WriteBndryPlanes.cpp:65
amrex::Box target_box
IO output box region.
Definition: ERF_WriteBndryPlanes.H:45
amrex::Vector< int > m_in_timesteps
Definition: ERF_WriteBndryPlanes.H:67
amrex::Vector< std::string > m_var_names
Variables for IO.
Definition: ERF_WriteBndryPlanes.H:57
std::string m_time_file
File name for Native time file.
Definition: ERF_WriteBndryPlanes.H:54
std::string m_filename
File name for IO.
Definition: ERF_WriteBndryPlanes.H:51
bool start_series(int start_step, double start_time, bool restarting)
Definition: ERF_WriteBndryPlanes.cpp:181
bool m_rewrite_time_file
Whether time.dat still has to be rewritten to m_kept_rows (I/O rank)
Definition: ERF_WriteBndryPlanes.H:63
amrex::Vector< double > m_in_times
Timestep and times to be stored in time.dat.
Definition: ERF_WriteBndryPlanes.H:66
amrex::Vector< std::string > m_kept_rows
Rows of time.dat the run continues from, written back before its first plane (I/O rank)
Definition: ERF_WriteBndryPlanes.H:60