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

AMRLevelIdealMHD Class Reference

#include <AMRLevelIdealMHD.H>

Inheritance diagram for AMRLevelIdealMHD:

Inheritance graph
[legend]
Collaboration diagram for AMRLevelIdealMHD:

Collaboration graph
[legend]
List of all members.

Detailed Description

AMR Godunov.


Public Member Functions

 AMRLevelIdealMHD ()
 Constructor.

virtual ~AMRLevelIdealMHD ()
 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 void poissonOp (const PoissonOp *const a_poissonOp)
 Create a local PoissonOp 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.

void InterpolatePhiInTime (LevelData< FArrayBox > &a_Phi, const LevelData< FArrayBox > &a_PhiNew, const LevelData< FArrayBox > &a_PhiOld, const DisjointBoxLayout &a_grids, const Real &alpha)

Protected Member Functions

DisjointBoxLayout loadBalance (const Vector< Box > &a_grids)
void levelSetup ()
AMRLevelIdealMHDgetCoarserLevel () const
AMRLevelIdealMHDgetFinerLevel () const

Protected Attributes

LevelData< FArrayBoxm_UOld
LevelData< FArrayBoxm_UNew
LevelData< FArrayBoxm_phiOld
LevelData< FArrayBoxm_phiNew
LevelData< FArrayBoxm_rhs
LevelData< FArrayBoxm_flux [CH_SPACEDIM]
Real m_cfl
Real m_dx
FineInterp m_fineInterp
FineInterp m_fineInterpPhi
CoarseAverage m_coarseAverage
CoarseAverage m_coarseAveragePhi
Real m_dtNew
int m_numStates
int m_numFluxes
Vector< string > m_stateNames
Vector< string > m_plotNames
int m_numGhost
Real m_domainLength
LevelGodunov m_levelGodunov
LevelSolver m_levelSolver
LevelFluxRegister m_fluxRegister
PatchGodunovm_patchGodunovFactory
PatchGodunovm_patchGodunov
PoissonOpm_poissonOpFactory
PoissonOpm_poissonOp
Real m_refineThresh
int m_tagBufferSize
bool m_hasCoarser
bool m_hasFiner
DisjointBoxLayout m_grids

Private Member Functions

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


Constructor & Destructor Documentation

AMRLevelIdealMHD::AMRLevelIdealMHD  ) 
 

Constructor.

virtual AMRLevelIdealMHD::~AMRLevelIdealMHD  )  [virtual]
 

Destructor.

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


Member Function Documentation

virtual void AMRLevelIdealMHD::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 AMRLevelIdealMHD::define AMRLevel a_coarserLevelPtr,
const ProblemDomain a_problemDomain,
int  a_level,
int  a_refRatio
[virtual]
 

Define new AMR level.

Reimplemented from AMRLevel.

virtual Real AMRLevelIdealMHD::advance  )  [virtual]
 

Advance by one timestep.

Implements AMRLevel.

virtual void AMRLevelIdealMHD::postTimeStep  )  [virtual]
 

Things to do after a timestep.

Implements AMRLevel.

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

Create tags for regridding.

Implements AMRLevel.

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

Create tags at initialization.

Implements AMRLevel.

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

Set up data on this level after regridding.

Implements AMRLevel.

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

Initialize grids.

Implements AMRLevel.

virtual void AMRLevelIdealMHD::initialData  )  [virtual]
 

Initialize data.

Implements AMRLevel.

virtual void AMRLevelIdealMHD::postInitialize  )  [virtual]
 

Things to do after initialization.

Implements AMRLevel.

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

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

virtual void AMRLevelIdealMHD::poissonOp const PoissonOp *const  a_poissonOp  )  [virtual]
 

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

virtual Real AMRLevelIdealMHD::computeDt  )  [virtual]
 

Returns the dt computed earlier for this level.

Implements AMRLevel.

virtual Real AMRLevelIdealMHD::computeInitialDt  )  [virtual]
 

Compute dt using initial data.

Implements AMRLevel.

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

Set the CFL number.

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

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

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

Set the refinement threshold.

void AMRLevelIdealMHD::tagBufferSize int  a_tagBufferSize  ) 
 

Set the tag buffer size.

void AMRLevelIdealMHD::InterpolatePhiInTime LevelData< FArrayBox > &  a_Phi,
const LevelData< FArrayBox > &  a_PhiNew,
const LevelData< FArrayBox > &  a_PhiOld,
const DisjointBoxLayout a_grids,
const Real alpha
 

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

void AMRLevelIdealMHD::levelSetup  )  [protected]
 

AMRLevelIdealMHD* AMRLevelIdealMHD::getCoarserLevel  )  const [protected]
 

AMRLevelIdealMHD* AMRLevelIdealMHD::getFinerLevel  )  const [protected]
 

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


Member Data Documentation

LevelData<FArrayBox> AMRLevelIdealMHD::m_UOld [protected]
 

LevelData<FArrayBox> AMRLevelIdealMHD::m_UNew [protected]
 

LevelData<FArrayBox> AMRLevelIdealMHD::m_phiOld [protected]
 

LevelData<FArrayBox> AMRLevelIdealMHD::m_phiNew [protected]
 

LevelData<FArrayBox> AMRLevelIdealMHD::m_rhs [protected]
 

LevelData<FArrayBox> AMRLevelIdealMHD::m_flux[CH_SPACEDIM] [protected]
 

Real AMRLevelIdealMHD::m_cfl [protected]
 

Real AMRLevelIdealMHD::m_dx [protected]
 

FineInterp AMRLevelIdealMHD::m_fineInterp [protected]
 

FineInterp AMRLevelIdealMHD::m_fineInterpPhi [protected]
 

CoarseAverage AMRLevelIdealMHD::m_coarseAverage [protected]
 

CoarseAverage AMRLevelIdealMHD::m_coarseAveragePhi [protected]
 

Real AMRLevelIdealMHD::m_dtNew [protected]
 

int AMRLevelIdealMHD::m_numStates [protected]
 

int AMRLevelIdealMHD::m_numFluxes [protected]
 

Vector<string> AMRLevelIdealMHD::m_stateNames [protected]
 

Vector<string> AMRLevelIdealMHD::m_plotNames [protected]
 

int AMRLevelIdealMHD::m_numGhost [protected]
 

Real AMRLevelIdealMHD::m_domainLength [protected]
 

LevelGodunov AMRLevelIdealMHD::m_levelGodunov [protected]
 

LevelSolver AMRLevelIdealMHD::m_levelSolver [protected]
 

LevelFluxRegister AMRLevelIdealMHD::m_fluxRegister [protected]
 

PatchGodunov* AMRLevelIdealMHD::m_patchGodunovFactory [protected]
 

PatchGodunov* AMRLevelIdealMHD::m_patchGodunov [protected]
 

PoissonOp* AMRLevelIdealMHD::m_poissonOpFactory [protected]
 

PoissonOp* AMRLevelIdealMHD::m_poissonOp [protected]
 

Real AMRLevelIdealMHD::m_refineThresh [protected]
 

int AMRLevelIdealMHD::m_tagBufferSize [protected]
 

bool AMRLevelIdealMHD::m_hasCoarser [protected]
 

bool AMRLevelIdealMHD::m_hasFiner [protected]
 

DisjointBoxLayout AMRLevelIdealMHD::m_grids [protected]
 


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