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

AMRLevelPolytropicGas Class Reference

#include <AMRLevelPolytropicGas.H>

Inheritance diagram for AMRLevelPolytropicGas:

Inheritance graph
[legend]
Collaboration diagram for AMRLevelPolytropicGas:

Collaboration graph
[legend]
List of all members.

Detailed Description

AMR Godunov.


Public Member Functions

 AMRLevelPolytropicGas ()
 Constructor.

virtual ~AMRLevelPolytropicGas ()
 Destructor.

virtual void define (AMRLevel *a_coarserLevelPtr, const Box &a_problemDomain, int a_level, int a_refRatio)
 This instance should never get called - historical.

virtual void define (AMRLevel *a_coarserLevelPtr, const ProblemDomain &a_problemDomain, int a_level, int a_refRatio)
 Define new AMR level.

virtual Real advance ()
 Advance by one timestep.

virtual void postTimeStep ()
 Things to do after a timestep.

virtual void tagCells (IntVectSet &a_tags)
 Create tags for regridding.

virtual void tagCellsInit (IntVectSet &a_tags)
 Create tags at initialization.

virtual void regrid (const Vector< Box > &a_newGrids)
 Set up data on this level after regridding.

virtual void initialGrid (const Vector< Box > &a_newGrids)
 Initialize grids.

virtual void initialData ()
 Initialize data.

virtual void postInitialize ()
 Things to do after initialization.

virtual void patchGodunov (const PatchGodunov *const a_patchGodunov)
 Create a local PatchGodunov factory using the argument as a factory.

virtual Real computeDt ()
 Returns the dt computed earlier for this level.

virtual Real computeInitialDt ()
 Compute dt using initial data.

virtual void CFL (Real a_cfl)
 Set the CFL number.

virtual void domainLength (Real a_domainLength)
 Set the physical dimension of the longest side of the domain.

virtual void refinementThreshold (Real a_refineThresh)
 Set the refinement threshold.

void tagBufferSize (int a_tagBufferSize)
 Set the tag buffer size.

const LevelData< FArrayBox > & getStateNew () const
const LevelData< FArrayBox > & getStateOld () const

Protected Member Functions

DisjointBoxLayout loadBalance (const Vector< Box > &a_grids)
void levelSetup ()
AMRLevelPolytropicGasgetCoarserLevel () const
AMRLevelPolytropicGasgetFinerLevel () const

Protected Attributes

LevelData< FArrayBoxm_UOld
LevelData< FArrayBoxm_UNew
Real m_cfl
Real m_dx
FineInterp m_fineInterp
CoarseAverage m_coarseAverage
Real m_dtNew
int m_numStates
Vector< string > m_stateNames
int m_numGhost
Real m_domainLength
LevelGodunov m_levelGodunov
LevelFluxRegister m_fluxRegister
PatchGodunovm_patchGodunovFactory
PatchGodunovm_patchGodunov
Real m_refineThresh
int m_tagBufferSize
bool m_hasCoarser
bool m_hasFiner
DisjointBoxLayout m_grids

Private Member Functions

void operator= (const AMRLevelPolytropicGas &a_input)
 AMRLevelPolytropicGas (const AMRLevelPolytropicGas &a_input)


Constructor & Destructor Documentation

AMRLevelPolytropicGas::AMRLevelPolytropicGas  ) 
 

Constructor.

virtual AMRLevelPolytropicGas::~AMRLevelPolytropicGas  )  [virtual]
 

Destructor.

AMRLevelPolytropicGas::AMRLevelPolytropicGas const AMRLevelPolytropicGas a_input  )  [inline, private]
 


Member Function Documentation

virtual void AMRLevelPolytropicGas::define AMRLevel a_coarserLevelPtr,
const Box a_problemDomain,
int  a_level,
int  a_refRatio
[virtual]
 

This instance should never get called - historical.

Reimplemented from AMRLevel.

virtual void AMRLevelPolytropicGas::define AMRLevel a_coarserLevelPtr,
const ProblemDomain a_problemDomain,
int  a_level,
int  a_refRatio
[virtual]
 

Define new AMR level.

Reimplemented from AMRLevel.

virtual Real AMRLevelPolytropicGas::advance  )  [virtual]
 

Advance by one timestep.

Implements AMRLevel.

virtual void AMRLevelPolytropicGas::postTimeStep  )  [virtual]
 

Things to do after a timestep.

Implements AMRLevel.

virtual void AMRLevelPolytropicGas::tagCells IntVectSet a_tags  )  [virtual]
 

Create tags for regridding.

Implements AMRLevel.

virtual void AMRLevelPolytropicGas::tagCellsInit IntVectSet a_tags  )  [virtual]
 

Create tags at initialization.

Implements AMRLevel.

virtual void AMRLevelPolytropicGas::regrid const Vector< Box > &  a_newGrids  )  [virtual]
 

Set up data on this level after regridding.

Implements AMRLevel.

virtual void AMRLevelPolytropicGas::initialGrid const Vector< Box > &  a_newGrids  )  [virtual]
 

Initialize grids.

Implements AMRLevel.

virtual void AMRLevelPolytropicGas::initialData  )  [virtual]
 

Initialize data.

Implements AMRLevel.

virtual void AMRLevelPolytropicGas::postInitialize  )  [virtual]
 

Things to do after initialization.

Implements AMRLevel.

virtual void AMRLevelPolytropicGas::patchGodunov const PatchGodunov *const  a_patchGodunov  )  [virtual]
 

Create a local PatchGodunov factory using the argument as a factory.

virtual Real AMRLevelPolytropicGas::computeDt  )  [virtual]
 

Returns the dt computed earlier for this level.

Implements AMRLevel.

virtual Real AMRLevelPolytropicGas::computeInitialDt  )  [virtual]
 

Compute dt using initial data.

Implements AMRLevel.

virtual void AMRLevelPolytropicGas::CFL Real  a_cfl  )  [virtual]
 

Set the CFL number.

virtual void AMRLevelPolytropicGas::domainLength Real  a_domainLength  )  [virtual]
 

Set the physical dimension of the longest side of the domain.

virtual void AMRLevelPolytropicGas::refinementThreshold Real  a_refineThresh  )  [virtual]
 

Set the refinement threshold.

void AMRLevelPolytropicGas::tagBufferSize int  a_tagBufferSize  ) 
 

Set the tag buffer size.

const LevelData<FArrayBox>& AMRLevelPolytropicGas::getStateNew  )  const
 

const LevelData<FArrayBox>& AMRLevelPolytropicGas::getStateOld  )  const
 

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

void AMRLevelPolytropicGas::levelSetup  )  [protected]
 

AMRLevelPolytropicGas* AMRLevelPolytropicGas::getCoarserLevel  )  const [protected]
 

AMRLevelPolytropicGas* AMRLevelPolytropicGas::getFinerLevel  )  const [protected]
 

void AMRLevelPolytropicGas::operator= const AMRLevelPolytropicGas a_input  )  [inline, private]
 


Member Data Documentation

LevelData<FArrayBox> AMRLevelPolytropicGas::m_UOld [protected]
 

LevelData<FArrayBox> AMRLevelPolytropicGas::m_UNew [protected]
 

Real AMRLevelPolytropicGas::m_cfl [protected]
 

Real AMRLevelPolytropicGas::m_dx [protected]
 

FineInterp AMRLevelPolytropicGas::m_fineInterp [protected]
 

CoarseAverage AMRLevelPolytropicGas::m_coarseAverage [protected]
 

Real AMRLevelPolytropicGas::m_dtNew [protected]
 

int AMRLevelPolytropicGas::m_numStates [protected]
 

Vector<string> AMRLevelPolytropicGas::m_stateNames [protected]
 

int AMRLevelPolytropicGas::m_numGhost [protected]
 

Real AMRLevelPolytropicGas::m_domainLength [protected]
 

LevelGodunov AMRLevelPolytropicGas::m_levelGodunov [protected]
 

LevelFluxRegister AMRLevelPolytropicGas::m_fluxRegister [protected]
 

PatchGodunov* AMRLevelPolytropicGas::m_patchGodunovFactory [protected]
 

PatchGodunov* AMRLevelPolytropicGas::m_patchGodunov [protected]
 

Real AMRLevelPolytropicGas::m_refineThresh [protected]
 

int AMRLevelPolytropicGas::m_tagBufferSize [protected]
 

bool AMRLevelPolytropicGas::m_hasCoarser [protected]
 

bool AMRLevelPolytropicGas::m_hasFiner [protected]
 

DisjointBoxLayout AMRLevelPolytropicGas::m_grids [protected]
 


The documentation for this class was generated from the following file:
Generated on Fri Jul 2 17:55:37 2004 for Chombo by doxygen 1.3.2