|
| | AMRNodeOp () |
| |
| virtual | ~AMRNodeOp () |
| |
|
| void | define (const DisjointBoxLayout &a_grids, const Real &a_dx, const ProblemDomain &a_domain, NodeBCFunc a_bc) |
| |
| void | define (const DisjointBoxLayout &a_grids, const DisjointBoxLayout &a_baseBAPtr, const Real &a_dxLevel, int a_refRatio, const ProblemDomain &a_domain, NodeBCFunc a_bc) |
| |
| void | define (const DisjointBoxLayout &a_grids, const DisjointBoxLayout &a_gridsFiner, const DisjointBoxLayout &a_gridsCoarser, const Real &a_dxLevel, int a_refRatio, int a_refRatioFiner, const ProblemDomain &a_domain, NodeBCFunc a_bc) |
| |
| void | define (const DisjointBoxLayout &a_grids, const DisjointBoxLayout &a_gridsFiner, const Real &a_dxLevel, int a_refRatio, int a_refRatioFiner, const ProblemDomain &a_domain, NodeBCFunc a_bc) |
| |
| void | projectFineInterior (LevelData< NodeFArrayBox > &a_phi, const LevelData< NodeFArrayBox > &a_phiFine) |
| |
| virtual void | residual (LevelData< NodeFArrayBox > &a_lhs, const LevelData< NodeFArrayBox > &a_phi, const LevelData< NodeFArrayBox > &a_rhs, bool a_homogeneous=false) |
| |
| virtual void | preCond (LevelData< NodeFArrayBox > &a_correction, const LevelData< NodeFArrayBox > &a_residual) |
| |
| virtual void | applyOpOnly (LevelData< NodeFArrayBox > &a_lhs, const LevelData< NodeFArrayBox > &a_phi) |
| |
| virtual void | applyOp (LevelData< NodeFArrayBox > &a_lhs, const LevelData< NodeFArrayBox > &a_phi, bool a_homogeneous=false) |
| |
| virtual void | create (LevelData< NodeFArrayBox > &a_lhs, const LevelData< NodeFArrayBox > &a_rhs) |
| |
| virtual void | createCoarsened (LevelData< NodeFArrayBox > &a_lhs, const LevelData< NodeFArrayBox > &a_rhs, const int &a_refRat) |
| |
| virtual void | assign (LevelData< NodeFArrayBox > &a_lhs, const LevelData< NodeFArrayBox > &a_rhs) |
| |
| virtual Real | dotProduct (const LevelData< NodeFArrayBox > &a_1, const LevelData< NodeFArrayBox > &a_2) |
| |
| virtual void | incr (LevelData< NodeFArrayBox > &a_lhs, const LevelData< NodeFArrayBox > &a_x, Real a_scale) |
| |
| virtual void | axby (LevelData< NodeFArrayBox > &a_lhs, const LevelData< NodeFArrayBox > &a_x, const LevelData< NodeFArrayBox > &a_y, Real a, Real b) |
| |
| virtual void | scale (LevelData< NodeFArrayBox > &a_lhs, const Real &a_scale) |
| |
| virtual Real | norm (const LevelData< NodeFArrayBox > &a_x, int a_ord) |
| |
| virtual void | setToZero (LevelData< NodeFArrayBox > &a_x) |
| |
| virtual void | relax (LevelData< NodeFArrayBox > &a_e, const LevelData< NodeFArrayBox > &a_residual, int iterations) |
| |
| virtual void | createCoarser (LevelData< NodeFArrayBox > &a_coarse, const LevelData< NodeFArrayBox > &a_fine, bool ghosted) |
| |
| virtual void | restrictResidual (LevelData< NodeFArrayBox > &a_resCoarse, LevelData< NodeFArrayBox > &a_phiFine, const LevelData< NodeFArrayBox > &a_rhsFine) |
| |
| virtual void | prolongIncrement (LevelData< NodeFArrayBox > &a_phiThisLevel, const LevelData< NodeFArrayBox > &a_correctCoarse) |
| |
| virtual int | refToCoarser () |
| |
| virtual void | AMRResidual (LevelData< NodeFArrayBox > &a_residual, const LevelData< NodeFArrayBox > &a_phiFine, const LevelData< NodeFArrayBox > &a_phi, const LevelData< NodeFArrayBox > &a_phiCoarse, const LevelData< NodeFArrayBox > &a_rhs, bool a_homogeneousPhysBC, AMRLevelOp< LevelData< NodeFArrayBox > > *a_finerOp) |
| |
| virtual void | AMRResidualNC (LevelData< NodeFArrayBox > &a_residual, const LevelData< NodeFArrayBox > &a_phiFine, const LevelData< NodeFArrayBox > &a_phi, const LevelData< NodeFArrayBox > &a_rhs, bool a_homogeneousPhysBC, AMRLevelOp< LevelData< NodeFArrayBox > > *a_finerOp) |
| |
| virtual void | AMRResidualNF (LevelData< NodeFArrayBox > &a_residual, const LevelData< NodeFArrayBox > &a_phi, const LevelData< NodeFArrayBox > &a_phiCoarse, const LevelData< NodeFArrayBox > &a_rhs, bool a_homogeneousPhysBC) |
| |
| virtual void | AMROperator (LevelData< NodeFArrayBox > &a_LofPhi, const LevelData< NodeFArrayBox > &a_phiFine, const LevelData< NodeFArrayBox > &a_phi, const LevelData< NodeFArrayBox > &a_phiCoarse, bool a_homogeneousPhysBC, AMRLevelOp< LevelData< NodeFArrayBox > > *a_finerOp) |
| |
| virtual void | AMROperatorNC (LevelData< NodeFArrayBox > &a_LofPhi, const LevelData< NodeFArrayBox > &a_phiFine, const LevelData< NodeFArrayBox > &a_phi, bool a_homogeneousPhysBC, AMRLevelOp< LevelData< NodeFArrayBox > > *a_finerOp) |
| |
| virtual void | AMROperatorNF (LevelData< NodeFArrayBox > &a_LofPhi, const LevelData< NodeFArrayBox > &a_phi, const LevelData< NodeFArrayBox > &a_phiCoarse, bool a_homogeneousPhysBC) |
| |
| virtual void | AMRRestrict (LevelData< NodeFArrayBox > &a_resCoarse, const LevelData< NodeFArrayBox > &a_residual, const LevelData< NodeFArrayBox > &a_correction, const LevelData< NodeFArrayBox > &a_coarseCorrection, bool a_skip_res=false) |
| |
| virtual void | AMRProlong (LevelData< NodeFArrayBox > &a_correction, const LevelData< NodeFArrayBox > &a_coarseCorrection) |
| |
| virtual void | AMRUpdateResidual (LevelData< NodeFArrayBox > &a_residual, const LevelData< NodeFArrayBox > &a_correction, const LevelData< NodeFArrayBox > &a_coarseCorrection) |
| |
| virtual Real | AMRNorm (const LevelData< NodeFArrayBox > &a_coarseResid, const LevelData< NodeFArrayBox > &a_fineResid, const int &a_refRat, const int &a_ord) |
| |
| virtual void | dumpAMR (Vector< LevelData< NodeFArrayBox > * > &a_data, string name) |
| |
| virtual void | dumpLevel (LevelData< NodeFArrayBox > &a_data, string name) |
| |
| | AMRLevelOp () |
| | Constructor. More...
|
| |
| virtual void | dumpStuff (Vector< LevelData< NodeFArrayBox > * > data, string filename) |
| |
| virtual | ~AMRLevelOp () |
| | Destructor. More...
|
| |
| virtual void | outputLevel (LevelData< NodeFArrayBox > &a_rhs, string &a_name) |
| |
| virtual void | outputAMR (Vector< LevelData< NodeFArrayBox > * > &a_rhs, string &a_name) |
| |
| virtual void | buildCopier (Copier &a_copier, const LevelData< NodeFArrayBox > &a_lhs, const LevelData< NodeFArrayBox > &a_rhs) |
| |
| virtual void | assignCopier (LevelData< NodeFArrayBox > &a_lhs, const LevelData< NodeFArrayBox > &a_rhs, const Copier &a_copier) |
| |
| virtual void | zeroCovered (LevelData< NodeFArrayBox > &a_lhs, LevelData< NodeFArrayBox > &a_rhs, const Copier &a_copier) |
| |
| virtual Real | localMaxNorm (const LevelData< NodeFArrayBox > &a_phi) |
| |
| virtual void | AMRProlongS (LevelData< NodeFArrayBox > &a_correction, const LevelData< NodeFArrayBox > &a_coarseCorrection, LevelData< NodeFArrayBox > &a_temp, const Copier &a_copier) |
| |
| virtual void | AMRProlongS_2 (LevelData< NodeFArrayBox > &a_correction, const LevelData< NodeFArrayBox > &a_coarseCorrection, LevelData< NodeFArrayBox > &a_temp, const Copier &a_copier, const Copier &a_cornerCopier, const AMRLevelOp< LevelData< FArrayBox > > *a_crsOp) |
| |
| virtual void | AMRRestrictS (LevelData< NodeFArrayBox > &a_resCoarse, const LevelData< NodeFArrayBox > &a_residual, const LevelData< NodeFArrayBox > &a_correction, const LevelData< NodeFArrayBox > &a_coarseCorrection, LevelData< NodeFArrayBox > &scratch, bool a_skip_res=false) |
| |
| virtual unsigned int | orderOfAccuracy (void) const |
| |
| virtual void | enforceCFConsistency (LevelData< NodeFArrayBox > &a_coarseCorrection, const LevelData< NodeFArrayBox > &a_correction) |
| | This routine is for operators with orderOfAccuracy()>2. More...
|
| |
| | MGLevelOp () |
| | Constructor. More...
|
| |
| virtual | ~MGLevelOp () |
| | Destructor. More...
|
| |
| virtual void | relaxNF (LevelData< NodeFArrayBox > &a_phi, const LevelData< NodeFArrayBox > *a_phiCoarse, const LevelData< NodeFArrayBox > &a_rhs, int a_iterations) |
| | specialized no-fine relax function, useful for full-multigrid schemes, defaults to regular relax More...
|
| |
| virtual void | restrictResidual (LevelData< NodeFArrayBox > &a_resCoarse, LevelData< NodeFArrayBox > &a_phiFine, const LevelData< NodeFArrayBox > *a_phiCoarse, const LevelData< NodeFArrayBox > &a_rhsFine, bool homogeneous) |
| | full-multigrid version of restrictResidual, useful for FAS-type schemes. Defaults to standard restriction More...
|
| |
| virtual void | restrictR (LevelData< NodeFArrayBox > &a_phiCoarse, const LevelData< NodeFArrayBox > &a_phiFine) |
| | simple restriction function More...
|
| |
| void | addObserver (MGLevelOpObserver< LevelData< NodeFArrayBox > > *a_observer) |
| |
| virtual void | applyOpMg (LevelData< NodeFArrayBox > &a_lhs, LevelData< NodeFArrayBox > &a_phi, LevelData< NodeFArrayBox > *a_phiCoarse, bool a_homogeneous) |
| | Apply an operator. More...
|
| |
| virtual void | residualNF (LevelData< NodeFArrayBox > &a_lhs, LevelData< NodeFArrayBox > &a_phi, const LevelData< NodeFArrayBox > *a_phiCoarse, const LevelData< NodeFArrayBox > &a_rhs, bool a_homogeneous=false) |
| |
| void | removeObserver (MGLevelOpObserver< LevelData< NodeFArrayBox > > *a_observer) |
| |
| void | addCoarserObserver (MGLevelOp< LevelData< NodeFArrayBox > > *a_operator, int a_coarseningFactor) |
| |
| void | notifyObserversOfChange () |
| | This should be called whenever the operator's data is updated. More...
|
| |
| virtual void | finerOperatorChanged (const MGLevelOp< LevelData< NodeFArrayBox > > &a_operator, int a_coarseningFactor) |
| |
| int | numObservers () const |
| | Returns the number of objects observing this operator. More...
|
| |
| virtual | ~LinearOp () |
| |
| virtual void | clear (LevelData< NodeFArrayBox > &a_lhs) |
| |
| virtual void | assignLocal (LevelData< NodeFArrayBox > &a_lhs, const LevelData< NodeFArrayBox > &a_rhs) |
| |
| virtual void | mDotProduct (const LevelData< NodeFArrayBox > &a_1, const int a_sz, const LevelData< NodeFArrayBox > a_2[], Real a_mdots[]) |
| |
| virtual Real | dx () const |
| |
| virtual void | write (const LevelData< NodeFArrayBox > *a, const char *filename) |
| |
| | MGLevelOpObserver () |
| | Base level Constructor. Called by all subclasses. More...
|
| |
| virtual | ~MGLevelOpObserver () |
| | Destructor. More...
|
| |
| virtual void | operatorChanged (const MGLevelOp< LevelData< NodeFArrayBox > > &a_operator) |
| |
| void | setObservee (MGLevelOp< LevelData< NodeFArrayBox > > *a_observee) |
| |
| void | clearObservee () |
| |