15 #ifndef _NEWPOISSONOP_H_ 16 #define _NEWPOISSONOP_H_ 24 #include "NamespaceHeader.H" 52 bool a_homogeneous =
false);
57 bool a_homogeneous =
false);
125 const Real& a_weight,
126 const bool& a_homogeneousPhysBC);
146 bool a_homoOnly =
true);
154 #include "NamespaceFooter.H" Definition: NewPoissonOp.H:130
virtual void preCond(FArrayBox &a_correction, const FArrayBox &a_residual)
Definition: NewPoissonOp.H:26
virtual void axby(FArrayBox &a_lhs, const FArrayBox &a_x, const FArrayBox &a_y, Real a, Real b)
virtual void residual(FArrayBox &a_lhs, const FArrayBox &a_phi, const FArrayBox &a_rhs, bool a_homogeneous=false)
A class to facilitate interaction with physical boundary conditions.
Definition: ProblemDomain.H:141
virtual void setToZero(FArrayBox &a_x)
void colorGS(FArrayBox &a_phi, const FArrayBox &a_rhs, const IntVect &color)
virtual void relax(FArrayBox &a_e, const FArrayBox &a_residual, int iterations)
virtual void create(FArrayBox &a_lhs, const FArrayBox &a_rhs)
RealVect m_dx
Definition: NewPoissonOp.H:108
virtual Real norm(const FArrayBox &a_x, int a_ord)
virtual void createCoarser(FArrayBox &a_coarse, const FArrayBox &a_fine, bool ghost)
virtual void incr(FArrayBox &a_lhs, const FArrayBox &a_x, Real a_scale)
virtual Real dotProduct(const FArrayBox &a_1, const FArrayBox &a_2)
virtual ~NewPoissonOpFactory()
Definition: NewPoissonOp.H:140
RealVect m_dx
Definition: NewPoissonOp.H:150
virtual void createCoarsened(FArrayBox &a_lhs, const FArrayBox &a_rhs, const int &a_refRat)
void(* BCFunc)(FArrayBox &a_state, const Box &a_valid, const ProblemDomain &a_domain, Real a_dx, bool a_homogeneous)
Definition: BCFunc.H:30
ProblemDomain m_domain
Definition: NewPoissonOp.H:110
BCFunc m_bc
Definition: NewPoissonOp.H:151
NewPoissonOp()
Definition: NewPoissonOp.H:29
Definition: MultiGrid.H:294
double Real
Definition: REAL.H:33
Definition: MultiGrid.H:30
void levelGSRB(FArrayBox &a_e, const FArrayBox &a_residual)
bool nextColor(IntVect &color, const IntVect &limit)
void define(const RealVect &a_dx, const ProblemDomain &a_domain, BCFunc a_bc)
A Real vector in SpaceDim-dimensional space.
Definition: RealVect.H:41
virtual void assign(FArrayBox &a_lhs, const FArrayBox &a_rhs)
virtual void applyOp(FArrayBox &a_lhs, const FArrayBox &a_phi, bool a_homogeneous=false)
virtual void scale(FArrayBox &a_lhs, const Real &a_scale)
virtual void restrictResidual(FArrayBox &a_resCoarse, FArrayBox &a_phiFine, const FArrayBox &a_rhsFine)
RealVect m_dxCrse
Definition: NewPoissonOp.H:109
An integer Vector in SpaceDim-dimensional space.
Definition: CHArray.H:42
Definition: FArrayBox.H:45
BCFunc m_bc
Definition: NewPoissonOp.H:111
void levelRelaxColor(FArrayBox &a_phi, const FArrayBox &a_rhs, const IntVect &a_color, const Real &a_weight, const bool &a_homogeneousPhysBC)
virtual ~NewPoissonOp()
Definition: NewPoissonOp.H:33
virtual void prolongIncrement(FArrayBox &a_phiThisLevel, const FArrayBox &a_correctCoarse)