11 #ifndef _NEUMANNVISCOUSTENSORDOMAINBC_H_ 12 #define _NEUMANNVISCOUSTENSORDOMAINBC_H_ 19 #include "NamespaceHeader.H" 37 const bool& a_useHomogeneous);
53 const bool& a_useHomogeneous);
63 Box grownBox = a_valid;
69 Box choppedBox = grownBox;
70 choppedBox.
grow(idir,-1);
71 Box toRegion = adjCellBox(choppedBox, idir, sit(), 1);
81 int isign =
sign(sit());
85 for(
int comp = 0; comp <
SpaceDim; comp++)
88 a_phi(iv, comp) = a_phi(ivneigh, comp) + a_dx*value[comp];
109 const bool& a_useHomogeneous);
142 #include "NamespaceFooter.H" bool ok()
Definition: BoxIterator.H:281
#define CH_SPACEDIM
Definition: SPACE.H:51
A class to facilitate interaction with physical boundary conditions.
Definition: ProblemDomain.H:141
int sign(const CH_XD::Side::LoHiSide &a_side)
Definition: FaceIndex.H:28
Real m_value
Definition: NeumannViscousTensorDomainBC.H:138
bool contains(const IntVect &p) const
Definition: Box.H:1871
IntVect BASISV(int dir)
Definition: IntVect.H:1266
iterates through the IntVects of a Box
Definition: BoxIterator.H:37
Definition: NeumannViscousTensorDomainBC.H:112
const int SpaceDim
Definition: SPACE.H:38
Definition: ViscousBaseDomainBC.H:33
RefCountedPtr< BaseBCFuncEval > m_flux
Definition: NeumannViscousTensorDomainBC.H:139
static const RealVect Zero
Definition: RealVect.H:421
Definition: NeumannViscousTensorDomainBC.H:22
Definition: EBCellFAB.H:29
double Real
Definition: REAL.H:33
virtual void setFunction(RefCountedPtr< BaseBCFuncEval > a_func)
Definition: ViscousBaseDomainBC.H:110
Definition: BaseDomainBC.H:212
LoHiSide
Definition: LoHiSide.H:27
bool m_onlyHomogeneous
Definition: NeumannViscousTensorDomainBC.H:135
A Rectangular Domain on an Integer Lattice.
Definition: Box.H:465
A Real vector in SpaceDim-dimensional space.
Definition: RealVect.H:41
bool m_isFunction
Definition: NeumannViscousTensorDomainBC.H:136
Iterator for low and high side.
Definition: LoHiSide.H:74
Definition: DataIndex.H:112
RealVect bcvaluefunc(const RealVect &a_point, const int &a_dir, const Side::LoHiSide &a_side)
Definition: ViscousBaseDomainBC.H:152
An integer Vector in SpaceDim-dimensional space.
Definition: CHArray.H:42
virtual void setValue(Real a_value)
Definition: ViscousBaseDomainBC.H:98
Definition: FArrayBox.H:45
Volume of Fluid Index.
Definition: VolIndex.H:31
Box & grow(int i)
grow functions
Definition: Box.H:2247
Definition: EBISLayout.H:39
virtual void fillVelGhost(FArrayBox &a_phi, const Box &a_valid, const Box &a_domain, Real a_dx, bool a_homogeneous)
Definition: NeumannViscousTensorDomainBC.H:56
virtual ~NeumannViscousTensorDomainBC()
static RealVect getVoFLocation(const VolIndex &a_vof, const RealVect &a_dx, const RealVect &a_probLo)
I have misspelled this one time too many.
Definition: EBArith.H:623
NeumannViscousTensorDomainBC()
void getDivergenceAndGradient(Real &a_divergence, Real *a_gradient, const int &a_idir, const FaceIndex &a_bndryFace, const VolIndex &a_vof, const EBCellFAB &a_phi, const RealVect &a_probLo, const RealVect &a_dx, const Side::LoHiSide &a_side, const DataIndex &a_dit, const Real &a_time, const bool &a_useHomogeneous)
virtual void getFaceFlux(BaseFab< Real > &a_faceFlux, const BaseFab< Real > &a_phi, const RealVect &a_probLo, const RealVect &a_dx, const int &a_idir, const Side::LoHiSide &a_side, const DataIndex &a_dit, const Real &a_time, const bool &a_useHomogeneous)