#include <InflowOutflowPoissonDomainBC.H>
Public Member Functions | |
virtual | ~InflowOutflowPoissonDomainBC () |
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) |
virtual void | getFaceFlux (Real &a_faceFlux, const VolIndex &a_vof, const int &a_comp, const EBCellFAB &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) |
virtual void | getFaceGradPhi (Real &a_faceFlux, const FaceIndex &a_face, const int &a_comp, const EBCellFAB &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_useAreaFrac, const RealVect &a_centroid, const bool &a_useHomogeneous) |
virtual void | getFaceVel (Real &a_faceFlux, const FaceIndex &a_face, const EBFluxFAB &a_vel, const RealVect &a_probLo, const RealVect &a_dx, const int &a_idir, const int &a_icomp, const Real &a_time, const Side::LoHiSide &a_side, const bool &a_doDivFreeOutflow) |
InflowOutflowPoissonDomainBC (const int &a_flowDir, const Real &a_inflowVel) | |
Static Public Member Functions | |
static Real | getDivFreeFace (const FaceIndex &a_face, const VolIndex &a_vof, const int &a_dir, const Side::LoHiSide &a_side, const EBFluxFAB &a_vel, const RealVect &a_dx, const EBISBox &a_ebisBox) |
Private Member Functions | |
InflowOutflowPoissonDomainBC () | |
weak construction forbidden to keep things simple | |
Private Attributes | |
int | m_flowDir |
Real | m_inflowVel |
virtual InflowOutflowPoissonDomainBC::~InflowOutflowPoissonDomainBC | ( | ) | [inline, virtual] |
InflowOutflowPoissonDomainBC::InflowOutflowPoissonDomainBC | ( | const int & | a_flowDir, | |
const Real & | a_inflowVel | |||
) | [inline] |
References m_flowDir, and m_inflowVel.
InflowOutflowPoissonDomainBC::InflowOutflowPoissonDomainBC | ( | ) | [inline, private] |
weak construction forbidden to keep things simple
virtual void InflowOutflowPoissonDomainBC::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 | |||
) | [virtual] |
Elliptic solver flux.
Implements BaseDomainBC.
virtual void InflowOutflowPoissonDomainBC::getFaceFlux | ( | Real & | a_faceFlux, | |
const VolIndex & | a_vof, | |||
const int & | a_comp, | |||
const EBCellFAB & | 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 | |||
) | [virtual] |
Elliptic solver flux.
Implements BaseDomainBC.
virtual void InflowOutflowPoissonDomainBC::getFaceGradPhi | ( | Real & | a_faceFlux, | |
const FaceIndex & | a_face, | |||
const int & | a_comp, | |||
const EBCellFAB & | 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_useAreaFrac, | |||
const RealVect & | a_centroid, | |||
const bool & | a_useHomogeneous | |||
) | [virtual] |
This is used by the projections to get a) grad(phi) at domain faces. b) or rhoinv*grad(phi) at domain faces.
Implements BaseDomainBC.
virtual void InflowOutflowPoissonDomainBC::getFaceVel | ( | Real & | a_faceFlux, | |
const FaceIndex & | a_face, | |||
const EBFluxFAB & | a_vel, | |||
const RealVect & | a_probLo, | |||
const RealVect & | a_dx, | |||
const int & | a_idir, | |||
const int & | a_icomp, | |||
const Real & | a_time, | |||
const Side::LoHiSide & | a_side, | |||
const bool & | a_doDivFreeOutflow | |||
) | [virtual] |
This is used by the projections to get velocity at domain faces. Sets velocity to a InflowOutflow value.
Implements BaseDomainBC.
static Real InflowOutflowPoissonDomainBC::getDivFreeFace | ( | const FaceIndex & | a_face, | |
const VolIndex & | a_vof, | |||
const int & | a_dir, | |||
const Side::LoHiSide & | a_side, | |||
const EBFluxFAB & | a_vel, | |||
const RealVect & | a_dx, | |||
const EBISBox & | a_ebisBox | |||
) | [static] |
Return the a face centered velocity that makes a_vof div-free
int InflowOutflowPoissonDomainBC::m_flowDir [private] |
Referenced by InflowOutflowPoissonDomainBC().
Referenced by InflowOutflowPoissonDomainBC().