|
| | RtLayout (const Vector< RefCountedPtr< RtSpecies > > &a_RtSpecies) |
| | Full constructor.
|
| |
|
virtual | ~RtLayout () |
| | Destructor (does nothing)
|
| |
| virtual RtIterator< T > | iterator () |
| | Get iterator.
|
| |
| virtual const std::string | getRealm () const |
| | Get realm where the solvers are allocated.
|
| |
| virtual void | setRealm (const std::string &a_realm) |
| | Set realm for solvers.
|
| |
| virtual void | addSolver (RefCountedPtr< T > a_solver) |
| | Add a new solver to the solver layout.
|
| |
|
virtual void | parseOptions () |
| | Parse options.
|
| |
|
virtual void | parseRuntimeOptions () |
| | Parse runtime options.
|
| |
|
virtual void | allocate () |
| | Allocate internal storage for solvers.
|
| |
| virtual void | preRegrid (const int a_base, const int a_oldFinestLevel) |
| | Pre regrid stuff.
|
| |
|
virtual void | deallocate () |
| | Deallocate internal storage for solvers.
|
| |
| virtual void | regrid (const int a_lmin, const int a_oldFinestLevel, const int a_newFinestLevel) |
| | Regrid all solvers.
|
| |
|
virtual void | registerOperators () |
| | Register operators.
|
| |
| virtual void | setAmr (const RefCountedPtr< AmrMesh > &a_amr) |
| | Set amr.
|
| |
| virtual void | setComputationalGeometry (const RefCountedPtr< ComputationalGeometry > &a_computationalGeometry) |
| | Set the computational geometry.
|
| |
|
virtual void | sanityCheck () |
| | Do a sanity check.
|
| |
| virtual void | setPhase (phase::which_phase a_phase=phase::gas) |
| | Set phase.
|
| |
| virtual void | setVerbosity (const int a_verbosity) |
| | Set verbosity.
|
| |
| virtual void | setTime (const int a_step, const Real a_time, const Real a_dt) |
| | Set time.
|
| |
| virtual void | setSource (const EBAMRCellData &a_source) |
| | Convenience function. Set source terms for all species. Mostly used for debugging.
|
| |
| virtual void | setSource (const Real a_source) |
| | Convenience function. Set constant source terms for all species. Mostly used for debugging.
|
| |
| virtual void | setStationary (const bool a_stationary) |
| | Turn on/off stationary.
|
| |
|
virtual void | writePlotFile () |
| | Convenience function. All solvers write plot files.
|
| |
| virtual void | advance (const Real a_dt) |
| | Convenience function. Call advance method for each solver.
|
| |
| virtual void | initialData () |
| | Fill with initial data.
|
| |
| virtual bool | isStationary () |
| | Check if solvers are stationary.
|
| |
| virtual phase::which_phase | getPhase () |
| | Get phase.
|
| |
| virtual Vector< RefCountedPtr< T > > & | getSolvers () |
| | Get solvers.
|
| |
| virtual Vector< RefCountedPtr< RtSpecies > > & | getSpecies () |
| | Get species.
|
| |
| virtual Vector< EBAMRCellData * > | getSources () |
| | Get all source terms.
|
| |
| virtual Vector< EBAMRCellData * > | getPhis () |
| | Get all states.
|
| |
template<class T>
class RtLayout< T >
Class for holding a set of RtSolvers. T must derive from RtSolver.