Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

AMRDerivedClass Class Reference

#include <AMRDerivedClass.H>

Inheritance diagram for AMRDerivedClass:

Inheritance graph
[legend]
Collaboration diagram for AMRDerivedClass:

Collaboration graph
[legend]
List of all members.

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< FArrayBoxm_state_old
LevelData< FArrayBoxm_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]

Constructor & Destructor Documentation

AMRDerivedClass::AMRDerivedClass  
 

virtual AMRDerivedClass::~AMRDerivedClass   [virtual]
 


Member Function Documentation

virtual Real AMRDerivedClass::advance   [virtual]
 

virtual Real AMRDerivedClass::computeDt   [virtual]
 

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.

virtual Real AMRDerivedClass::computeInitialDt   [virtual]
 

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.

virtual void AMRDerivedClass::define AMRLevel   a_coarser_level_ptr,
const ProblemDomain   a_problem_domain,
int    a_level,
int    a_ref_ratio
[virtual]
 

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.

virtual void AMRDerivedClass::define AMRLevel   a_coarser_level_ptr,
const Box   a_problem_domain,
int    a_level,
int    a_ref_ratio
[virtual]
 

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.

virtual void AMRDerivedClass::initialData   [virtual]
 

Initializes data.

This is a pure virtual function and {\bf MUST} be defined in the derived class.

Implements AMRLevel.

virtual void AMRDerivedClass::initialGrid const Vector< Box > &    a_new_grids [virtual]
 

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.

DisjointBoxLayout AMRDerivedClass::loadBalance const Vector< Box > &    a_grids [protected]
 

virtual void AMRDerivedClass::postInitialize   [virtual]
 

Things to do after initialization.

This is a pure virtual function and {\bf MUST} be defined in the derived class.

Implements AMRLevel.

virtual void AMRDerivedClass::postTimeStep   [virtual]
 

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.

virtual void AMRDerivedClass::regrid const Vector< Box > &    a_new_grids [virtual]
 

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.

virtual void AMRDerivedClass::regridData   [virtual]
 

virtual void AMRDerivedClass::tagCells IntVectSet   a_tags [virtual]
 

Creates tagged cells for dynamic mesh refinement.

This is a pure virtual function and {\bf MUST} be defined in the derived class.

Implements AMRLevel.

virtual void AMRDerivedClass::tagCellsInit IntVectSet   a_tags [virtual]
 

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.


Member Data Documentation

CoarseAverage AMRDerivedClass::m_coarse_average [protected]
 

Real AMRDerivedClass::m_dx [protected]
 

FineInterp AMRDerivedClass::m_fine_interp [protected]
 

LevelData<FArrayBox> AMRDerivedClass::m_state_new [protected]
 

LevelData<FArrayBox> AMRDerivedClass::m_state_old [protected]
 

const int AMRDerivedClass::s_num_comps = 2 [static, protected]
 

const char* AMRDerivedClass::s_state_names[s_num_comps] [static, protected]
 


The documentation for this class was generated from the following file:
Generated on Tue Jul 2 10:43:57 2002 for Chombo by doxygen1.2.16