Public Methods |
| AmrProjector () |
| AmrProjector (const Vector< DisjointBoxLayout > &a_vectGrids, const Vector< ProblemDomain > &a_vectDomain, const Vector< Real > &a_vectDx, const Vector< int > &a_vectRefRatio, int a_lbase, const PhysBCUtil &a_physBC) |
| full constructor
|
| ~AmrProjector () |
| destructor
|
void | define (const Vector< DisjointBoxLayout > &a_vectGrids, const Vector< ProblemDomain > &a_vectDomain, const Vector< Real > &a_vectDx, const Vector< int > &a_vectRefRatio, int a_lbase, const PhysBCUtil &a_physBC) |
| define function
|
void | regrid (const Vector< DisjointBoxLayout > &a_newGrids) |
| change grids and re-initialize after re-gridding
|
void | setDefaultValues () |
| set default values for parameters
|
void | init (const AmrProjector &a_oldProj) |
| initialize new projection with data from old projection
|
void | variableSetUp () |
| define static parts
|
void | writeCheckpointHeader (HDF5Handle &a_handle) const |
| write checkpoint header
|
void | writeCheckpoint (HDF5Handle &a_handle) const |
| write this class to a checkpoint file for later restart
|
void | readCheckpointHeader (HDF5Handle &a_handle) |
| read the checkpoint header
|
void | readCheckpoint (HDF5Handle &a_handle) |
| read this class from a checkpoint file
|
void | MacProject (Vector< LevelData< FluxBox > * > &a_uEdge, Vector< LevelData< FArrayBox > * > &a_vectPhi, Real a_oldTime, Real a_dt) |
void | CCProject (Vector< LevelData< FArrayBox > * > &a_velocity, Vector< LevelData< FArrayBox > * > &a_vectPi, const Real a_newTime, const Real a_dt) |
void | initialVelocityProject (Vector< LevelData< FArrayBox > * > &a_velocity) |
int | finestLevel () const |
| access functions finest defined level
|
const ProblemDomain & | dProblem (int a_level) const |
const DisjointBoxLayout & | getBoxes (int a_level) const |
Real | dx (int a_level) const |
void | gradPhi (LevelData< FArrayBox > &a_gradPhi, const LevelData< FArrayBox > &a_phi, int a_dir, int a_level) const |
| returns face-centered grad(phi) in direction dir
|
void | gradPhi (LevelData< FluxBox > &a_gradPhi, const LevelData< FArrayBox > &a_phi, int a_level) const |
| returns all components of grad(phi) (gradPhi should be correct size)
|
void | gradPi (LevelData< FArrayBox > &a_gradPi, const LevelData< FArrayBox > &a_Pi, int a_dir, int a_level) const |
| returns grad(pi) in direction dir on level a_level.
|
void | gradPi (LevelData< FArrayBox > &a_gradPi, const LevelData< FArrayBox > &a_Pi, int a_level) const |
| Returns grad(pi) in all directions into SpaceDim-component gradPi.
|
void | setPressureBCs (Vector< LevelData< FArrayBox > * > &a_vectPressure) const |
| set physical and CF BC's on pressure
|
bool | isInitialized () const |
| has this object been completely initialized?
|
bool | doQuadInterp () const |
| use quadratic interpolation (instead of extrap) for c/f bc
|
void | verbosity (int a_verbosity) |
| set verbosity
|
int | verbosity () const |
| returns verbosity
|
void | setPhysBC (const PhysBCUtil &a_bc) |
| sets physBCs
|
PhysBCUtil * | getPhysBCPtr () const |
Protected Methods |
void | applyMacCorrection (Vector< LevelData< FluxBox > * > &a_uEdge, Vector< LevelData< FArrayBox > * > &a_vectPhi) |
| returns uEdge - G(phi_mac); also sets CF BC's if necessary
|
void | correctCCVelocities (Vector< LevelData< FArrayBox > * > &a_velocity, const Vector< LevelData< FArrayBox > * > &a_vectPi, const Real scale) const |
| vel := vel - scale*G_(pi); also sets CF BC's if necessary
|
void | defineSolver (AMRSolver &a_solver, const DomainGhostBC &a_physBC) |
void | postRestart () |
| just in case there are any loose ends after restarting
|
void | clearStorage () |
bool | isDefined () const |
this class performs the various cell-centered projections required by the IAMR algorithm. These include the multilevel MAC and Cell-centered projection solves