|
| AdvectionDiffusionStepper () |
| Default constructor – only parses options.
|
|
| AdvectionDiffusionStepper (RefCountedPtr< CdrSolver > &a_solver) |
| Full constructor. More...
|
|
virtual | ~AdvectionDiffusionStepper () |
| Destructor (does nothing)
|
|
void | initialData () override |
| Fill solver with initial data.
|
|
void | allocate () override |
| Allocate memory.
|
|
void | postInitialize () override |
| Perform post-initialization routines (there are none)
|
|
void | postCheckpointSetup () override |
| Perform post-checkpoint setup routines. More...
|
|
int | getNumberOfPlotVariables () const override |
| Get the number of plot variables.
|
|
Vector< std::string > | getPlotVariableNames () const override |
| Get plot variable name.
|
|
void | writePlotData (LevelData< EBCellFAB > &a_output, int &a_icomp, const std::string a_outputRealm, const int a_level) const override |
| Write plot data to output holder. More...
|
|
Real | computeDt () override |
| Compute a time step to be used by Driver.
|
|
void | synchronizeSolverTimes (const int a_step, const Real a_time, const Real a_dt) override |
| Synchronize solver times. More...
|
|
void | printStepReport () override |
| Print a step report if you want. More...
|
|
void | parseRuntimeOptions () override |
| Parse runtime options. More...
|
|
void | registerRealms () override |
| Register all realms that will be used.
|
|
void | registerOperators () override |
| Register all operators that will be used.
|
|
void | preRegrid (const int a_lbase, const int a_finestLevel) override |
| Perform pre-regrid operations. Calls CdrSolver::preRegrid. More...
|
|
void | setupSolvers () override |
| Instantiate the solver.
|
|
Real | advance (const Real a_dt) override |
| Advancement function – advances one time step. More...
|
|
void | regrid (const int a_lmin, const int a_oldFinestLevel, const int a_newFinestLevel) override |
| Regrid method – calls regrid method for solver. More...
|
|
void | postRegrid () override |
| Perform post-regrid routines. This does nothing.
|
|
void | setCFL (const Real a_cfl) |
| Set the CFL number. More...
|
|
void | setInitialData (const std::function< Real(const RealVect &a_position)> &a_initData) noexcept |
| Set the initial data.. More...
|
|
void | setVelocity (const std::function< RealVect(const RealVect &a_position)> &a_velocity) noexcept |
| Set the velocity field. More...
|
|
void | setDiffusionCoefficient (const std::function< Real(const RealVect &a_position)> &a_diffusion) noexcept |
| Set the diffusion coeffieint. More...
|
|
| TimeStepper () |
| Default constructor (does nothing)
|
|
virtual | ~TimeStepper () |
| Default destructor (does nothing)
|
|
void | setAmr (const RefCountedPtr< AmrMesh > &a_amr) |
| Set AmrMesh. More...
|
|
void | setComputationalGeometry (const RefCountedPtr< ComputationalGeometry > &a_computationalGeometry) |
| Set the computational geometry. More...
|
|
virtual void | prePlot () |
| An option for calling special functions prior to plotting data. Called by Driver in the IMMEDIATELY before writing the plot file.
|
|
virtual void | postPlot () |
| An option for calling special functions prior to plotting data. Called by Driver in the IMMEDIATELY after writing the plot file.
|
|
virtual Vector< long int > | getCheckpointLoads (const std::string a_realm, const int a_level) const |
| Get computational loads to be checkpointed. More...
|
|
virtual bool | needToRegrid () |
| Fuction which can have Driver do regrids at arbitrary points in the simulation. More...
|
|
virtual bool | loadBalanceThisRealm (const std::string a_realm) const |
| Load balancing query for a specified realm. If this returns true for a_realm, load balancing routines will be called during regrids. More...
|
|
virtual void | loadBalanceBoxes (Vector< Vector< int >> &a_procs, Vector< Vector< Box >> &a_boxes, const std::string a_realm, const Vector< DisjointBoxLayout > &a_grids, const int a_lmin, const int a_finestLevel) |
| Load balance grid boxes for a specified realm. More...
|
|
Implementation of TimeStepper which runs a single advection-diffusion-reaction solver.