#include <NodePoissonOp.H>
Inheritance diagram for NodePoissonOp:
Public Methods | |
NodePoissonOp () | |
{\bf constructors, destructor and defines} | |
virtual NodeLevelOp * | new_levelop () const |
~NodePoissonOp () | |
void | define (const DisjointBoxLayout &a_grids, const DisjointBoxLayout *a_gridsCoarsePtr, Real a_dx, int a_refToCoarse, const ProblemDomain &a_domain, bool a_homogeneousOnly=false, int a_ncomp=1) |
void | define (const DisjointBoxLayout &a_grids, const DisjointBoxLayout *a_gridsCoarsePtr, Real a_dx, int a_refToCoarse, const Box &a_domain, bool a_homogeneousOnly=false, int a_ncomp=1) |
void | define (const NodeLevelOp *a_opfine, int a_refToFine) |
virtual bool | isDefined () const |
void | setBottomSmoother (const NodeBaseBottomSmoother &a_bottomSmoother) |
void | CFInterp (LevelData< NodeFArrayBox > &a_phi, const LevelData< NodeFArrayBox > &a_phiCoarse, bool a_inhomogeneous) |
{\bf data modification functions} | |
void | homogeneousCFInterp (LevelData< NodeFArrayBox > &a_phi) |
void | smooth (LevelData< NodeFArrayBox > &a_phi, const LevelData< NodeFArrayBox > &a_rhs) |
void | applyOpI (LevelData< NodeFArrayBox > &a_LofPhi, LevelData< NodeFArrayBox > &a_phi, const LevelData< NodeFArrayBox > *a_phiCoarsePtr) |
void | applyOpH (LevelData< NodeFArrayBox > &a_LofPhi, LevelData< NodeFArrayBox > &a_phi) |
void | applyOpIcfHphys (LevelData< NodeFArrayBox > &a_LofPhi, LevelData< NodeFArrayBox > &a_phi, const LevelData< NodeFArrayBox > *a_phiCoarsePtr) |
void | applyOpHcfIphys (LevelData< NodeFArrayBox > &a_LofPhi, LevelData< NodeFArrayBox > &a_phi) |
void | bottomSmoother (LevelData< NodeFArrayBox > &a_phi, const LevelData< NodeFArrayBox > &a_rhs) |
Given returns phihat from | M (phihat)=rhshat |
Public Attributes | |
Given | rhshat |
This class contains stuff to solve div (grad phi) = rhs.
|
{\bf constructors, destructor and defines} Default constructor. User must subsequently call define(). |
|
Destructor. |
|
Evaluate Operator, homogeneous C/F boundary conditions. homogeneous phys boundary conditions. \ The operator is evaluated on a_phi, after setting to zero at the coarse/fine boundary and applying homogeneous physical boundary conditions. {\bf Arguments:}\ a_LofPhi (modified): the value of the operator, at interior nodes.\ a_phi (modified): the data at this level.\ Implements NodeLevelOp. |
|
Evaluate Operator, homogeneous C/F boundary conditions. inhomogeneous phys boundary conditions. \ The operator is evaluated on a_phi, after setting to zero at the coarse/fine boundary and applying the physical boundary conditions. {\bf Arguments:}\ a_LofPhi (modified): the value of the operator, at interior nodes.\ a_phi (modified): the data at this level.\ Implements NodeLevelOp. |
|
Evaluate Operator, inhomogeneous C/F boundary conditions, inhomogeneous phys boundary conditions. \ The operator is evaluated on a_phi, after interpolating from a_phiCoarsePtr at the coarse/fine boundary and applying the physical boundary conditions. {\bf Arguments:}\ a_LofPhi (modified): the value of the operator, at interior nodes.\ a_phi (modified): the data at this level. Interpolated from a_phiCoarsePtr at coarse/fine boundary.\ a_phiCoarsePtr (not modified): pointer to data at next coarser level.\ Implements NodeLevelOp. |
|
Evaluate Operator, inhomogeneous C/F boundary conditions, homogeneous phys boundary conditions. \ The operator is evaluated on a_phi, after interpolating from a_phiCoarsePtr at the coarse/fine boundary and applying homogeneous physical boundary conditions. {\bf Arguments:}\ a_LofPhi (modified): the value of the operator, at interior nodes.\ a_phi (modified): the data at this level. Interpolated from a_phiCoarsePtr at coarse/fine boundary.\ a_phiCoarsePtr (not modified): pointer to data at next coarser level.\ Implements NodeLevelOp. |
|
This does a GSRB Pre/Conditioned BiCGStab on a level for the bottom solver. {\bf Arguments:}\ a_phi (modified): the data at this level.\ a_rhs (not modified): right-hand side.\ Implements NodeLevelOp. |
|
{\bf data modification functions} Coarse / Fine (inhomogeneous) interpolation operator. Fill the nodes of a_phi on the coarse/fine interface with interpolated data from a_phiCoarse. {\bf Arguments:}\ a_phi (modified): the data at this level.\ a_phiCoarse (not modified): the data at the next coarser level.\ a_inhomogeneous: apply inhomogeneous physical boundary conditions?\ Implements NodeLevelOp. |
|
Full define function, based on a coarsening of the finer NodeLevelOp. Coarse-level grids are not set because only homogeneous interpolation is used. {\bf Arguments:}\ a_opfine: pointer to NodeLevelOp at next finer level.\ a_refToFine: refinement ratio between a_opfine's and this level.\ Implements NodeLevelOp. |
|
Implements NodeLevelOp. |
|
Full define function. Makes all coarse-fine information and sets internal variables. The current level is taken to be the fine level. {\bf Arguments:}\ a_grids: domain of this level.\ a_gridsCoarsePtr: pointer to next coarser level domain, or NULL if none.\ a_dx: mesh spacing at this level.\ a_refToCoarse: refinement ratio between this and next coarser level.\ a_domain: physical domain at this level.\ a_homogeneousOnly: only homogeneous coarse-fine interpolation?\ a_ncomp: number of components.\ Implements NodeLevelOp. |
|
Homogeneous coarse/fine interpolation operator. Fill the nodes of a_phi on the coarse/fine interface with zeroes. {\bf Arguments:}\ a_phi (modified): the data at this level.\ Implements NodeLevelOp. |
|
Returns true if this object was created with the defining constructor or if define() has been called. Implements NodeLevelOp. |
|
|
|
Virtual constructor workaround. Sets these to be the same as this:\
Implements NodeLevelOp. |
|
Set bottom smoother. |
|
Smoother. Assumes that problem has already been put in residual-correction form, so that C/F boundary conditions are homogeneous. {\bf Arguments:}\ a_phi (modified): the data at this level.\ a_rhs (not modified): right-hand side.\ Implements NodeLevelOp. |
|
|