11 #ifndef _MIXEDVISCOUSTENSORDOMAINBC_H_ 12 #define _MIXEDVISCOUSTENSORDOMAINBC_H_ 18 #include "NamespaceHeader.H" 53 const bool& a_useHomogeneous);
66 const bool& a_useHomogeneous);
82 Box grownBox = a_valid;
88 Box choppedBox = grownBox;
89 choppedBox.
grow(idir,-1);
90 Box toRegion = adjCellBox(choppedBox, idir, sit(), 1);
98 int isign =
sign(sit());
102 for(
int comp = 0; comp <
SpaceDim; comp++)
107 a_phi(iv, comp) = a_phi(ivneigh, comp) + a_dx*value[comp];
112 a_phi(iv, comp) = -a_phi(ivneigh, comp) + 2.*value[comp];
126 #include "NamespaceFooter.H" bool ok()
Definition: BoxIterator.H:281
#define CH_SPACEDIM
Definition: SPACE.H:51
int sign(const CH_XD::Side::LoHiSide &a_side)
IntVect BASISV(int dir)
Definition: IntVect.H:1266
iterates through the IntVects of a Box
Definition: BoxIterator.H:37
const int SpaceDim
Definition: SPACE.H:38
Definition: ViscousBaseDomainBC.H:33
virtual ~MixedViscousTensorDomainBC()
Definition: MixedViscousTensorDomainBC.H:38
MixedViscousTensorDomainBC()
Definition: MixedViscousTensorDomainBC.H:29
Definition: MixedViscousTensorDomainBC.H:23
static const RealVect Zero
Definition: RealVect.H:421
Real m_startDirichlet
Definition: MixedViscousTensorDomainBC.H:122
Definition: EBCellFAB.H:29
double Real
Definition: REAL.H:33
LoHiSide
Definition: LoHiSide.H:27
virtual void fillVelGhost(FArrayBox &a_phi, const Box &a_valid, const Box &a_domain, Real a_dx, bool a_homogeneous)
Definition: MixedViscousTensorDomainBC.H:75
A Rectangular Domain on an Integer Lattice.
Definition: Box.H:465
A Real vector in SpaceDim-dimensional space.
Definition: RealVect.H:41
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
Definition: FArrayBox.H:45
Volume of Fluid Index.
Definition: VolIndex.H:31
Box & grow(int i)
grow functions
Definition: Box.H:2247
void setStartDirichlet(const Real &a_startDirichlet)
Definition: MixedViscousTensorDomainBC.H:69
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
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)