#include <AMRDerivedClass.H>
Inheritance diagram for AMRDerivedClass:
Public Methods | |
AMRDerivedClass () | |
virtual | ~AMRDerivedClass () |
virtual void | define (AMRLevel *a_coarser_level_ptr, const Box &a_problem_domain, int a_level, int a_ref_ratio) |
virtual void | define (AMRLevel *a_coarser_level_ptr, const ProblemDomain &a_problem_domain, int a_level, int a_ref_ratio) |
virtual Real | advance () |
virtual void | postTimeStep () |
virtual void | tagCells (IntVectSet &a_tags) |
virtual void | tagCellsInit (IntVectSet &a_tags) |
virtual void | regrid (const Vector< Box > &a_new_grids) |
virtual void | initialGrid (const Vector< Box > &a_new_grids) |
virtual void | initialData () |
virtual void | postInitialize () |
virtual void | regridData () |
virtual Real | computeDt () |
virtual Real | computeInitialDt () |
Protected Methods | |
DisjointBoxLayout | loadBalance (const Vector< Box > &a_grids) |
Protected Attributes | |
LevelData< FArrayBox > | m_state_old |
LevelData< FArrayBox > | m_state_new |
Real | m_dx |
CoarseAverage | m_coarse_average |
FineInterp | m_fine_interp |
Static Protected Attributes | |
const int | s_num_comps = 2 |
const char * | s_state_names [s_num_comps] |
|
|
|
|
|
|
|
Returns maximum stable time step for this level. This is a pure virtual function and {\bf MUST} be defined in the derived class. Implements AMRLevel. |
|
Returns maximum stable time step for this level with initial data. This is a pure virtual function and {\bf MUST} be defined in the derived class. Implements AMRLevel. |
|
Defines this AMRLevel. {\bf Arguments:}\ a_coarser_level_ptr (not modified): pointer to next coarser level object.\ a_problem_domain (not modified): problem domain of this level.\ a_level (not modified): index of this level. The base level is zero.\ a_ref_ratio (not modified): the refinement ratio between this level and the next finer level. Reimplemented from AMRLevel. |
|
Defines this AMRLevel. {\bf Arguments:}\ a_coarser_level_ptr (not modified): pointer to next coarser level object.\ a_problem_domain (not modified): problem domain of this level.\ a_level (not modified): index of this level. The base level is zero.\ a_ref_ratio (not modified): the refinement ratio between this level and the next finer level. Reimplemented from AMRLevel. |
|
Initializes data. This is a pure virtual function and {\bf MUST} be defined in the derived class. Implements AMRLevel. |
|
Initializes this level to have the specified domain a_new_grids. This is a pure virtual function and {\bf MUST} be defined in the derived class. Implements AMRLevel. |
|
|
|
Things to do after initialization. This is a pure virtual function and {\bf MUST} be defined in the derived class. Implements AMRLevel. |
|
Things to do after advancing this level by one time step. This is a pure virtual function and {\bf MUST} be defined in the derived class. Implements AMRLevel. |
|
Redefines this level to have the specified domain a_new_grids. This is a pure virtual function and {\bf MUST} be defined in the derived class. Implements AMRLevel. |
|
|
|
Creates tagged cells for dynamic mesh refinement. This is a pure virtual function and {\bf MUST} be defined in the derived class. Implements AMRLevel. |
|
Creates tagged cells for mesh refinement at initialization. This is a pure virtual function and {\bf MUST} be defined in the derived class. Implements AMRLevel. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|