27 #include "NamespaceHeader.H" 93 void define(
int a_max_level,
95 const Box& a_prob_domain,
120 void define(
int a_max_level,
153 int a_proper_nest = 1);
160 void run(
Real a_max_time,
int a_max_step);
308 void plotPrefix(
const std::string& a_plotfile_prefix);
387 Chombo::Timer * timer(Chombo::Timer *a_timer = NULL );
397 int timeStep(
int a_level,
int a_stepsLeft,
bool a_coarseTimeBoundary);
403 void regrid(
int a_base_level);
418 bool needToRegrid(
int a_level,
int a_numStepsLeft)
const;
473 Chombo::Timer *m_timer;
477 #include "NamespaceFooter.H" int m_blockFactor
Definition: AMR.H:424
int m_lastcheck_step
Definition: AMR.H:460
int m_finest_level_old
Definition: AMR.H:427
void makeBaseLevelMesh(Vector< Box > &a_grids) const
void writeCheckpointFile() const
Vector< int > m_regrid_intervals
Definition: AMR.H:443
bool m_useSubcycling
Definition: AMR.H:394
Vector< AMRLevel * > getAMRLevels()
void plotInterval(int a_plot_interval)
Tells AMR to write plot files after every a_plot_interval steps.
void writePlotFile() const
A class to facilitate interaction with physical boundary conditions.
Definition: ProblemDomain.H:130
Real m_fixedDt
Definition: AMR.H:436
void define(int a_max_level, const Vector< int > &a_ref_ratios, const Box &a_prob_domain, const AMRLevelFactory *const a_amrLevelFact)
Class which manages Berger-Rigoutsos grid generation.
Definition: BRMeshRefine.H:92
void plotPeriod(Real a_plot_period)
Tells AMR to write plot files after every a_plot_period time units.
void checkpointPrefix(const std::string &a_checkpointfile_prefix)
void blockFactor(int a_blockFactor)
int m_max_base_grid_size
Definition: AMR.H:434
BRMeshRefine m_mesh_refine
Definition: AMR.H:453
Vector< int > m_ref_ratios
Definition: AMR.H:441
Real m_cur_time
Definition: AMR.H:462
Vector< long long > m_cell_updates
Definition: AMR.H:464
std::string m_checkpointfile_prefix
Definition: AMR.H:467
std::string m_plotfile_prefix
Definition: AMR.H:466
void regridIntervals(const Vector< int > &a_regridIntervals)
void setupForFixedHierarchyRun(const Vector< Vector< Box > > &a_amr_grids, int a_proper_nest=1)
bool m_isDefined
Definition: AMR.H:438
Vector< AMRLevel * > m_amrlevels
Definition: AMR.H:440
int m_finest_level
Definition: AMR.H:428
void regrid(int a_base_level)
Vector< int > m_reduction_factor
Definition: AMR.H:442
int m_checkpoint_interval
Definition: AMR.H:429
bool needToRegrid(int a_level, int a_numStepsLeft) const
Vector< Vector< Box > > m_amr_grids
Definition: AMR.H:456
int m_plot_interval
Definition: AMR.H:430
int m_restart_step
Definition: AMR.H:459
void gridBufferSize(int a_grid_buffer_size)
int m_max_level
Definition: AMR.H:426
int maxBaseGridSize() const
bool m_isSetUp
Definition: AMR.H:439
Real getCurrentTime() const
double Real
Definition: REAL.H:33
int timeStep(int a_level, int a_stepsLeft, bool a_coarseTimeBoundary)
int m_verbosity
Definition: AMR.H:469
Real m_maxDtGrow
Definition: AMR.H:450
Vector< int > m_steps_since_regrid
Definition: AMR.H:463
Real m_dt_base
Definition: AMR.H:445
Real m_dt_tolerance_factor
Definition: AMR.H:435
Framework for Berger-Oliger timestepping for AMR.
Definition: AMR.H:52
void initialTime(Real a_initialTime)
void dtToleranceFactor(Real a_dt_tolerance_factor)
Real m_fillRatio
Definition: AMR.H:425
A Rectangular Domain on an Integer Lattice.
Definition: Box.H:465
void run(Real a_max_time, int a_max_step)
void schedule(RefCountedPtr< Scheduler > a_scheduler)
Sets up a schedule for periodically-called functions.
void checkpointInterval(int a_checkpoint_interval)
Real m_plot_period
Definition: AMR.H:431
RefCountedPtr< Scheduler > m_scheduler
Definition: AMR.H:471
int m_cur_step
Definition: AMR.H:458
Handle to a particular group in an HDF file.
Definition: CH_HDF5.H:267
void plotPrefix(const std::string &a_plotfile_prefix)
Factory class to produce an AMRLevel.
Definition: AMRLevelFactory.H:22
Vector< Real > m_dt_cur
Definition: AMR.H:449
void fillRatio(Real a_fillRat)
void useSubcyclingInTime(bool a_useSubcycling)
Vector< Real > m_dt_new
Definition: AMR.H:447
static int s_step
Definition: AMR.H:57
Real m_next_plot_time
Definition: AMR.H:432
bool m_use_meshrefine
Definition: AMR.H:454
void setupForRestart(HDF5Handle &a_handle)
int m_max_grid_size
Definition: AMR.H:433
Real m_time_eps
Definition: AMR.H:451