#include <BaseDomainBC.H>
Public Member Functions | |
BaseDomainBC () | |
virtual | ~BaseDomainBC () |
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)=0 |
virtual void | getFluxStencil (VoFStencil &a_stencil, const VolIndex &a_vof, const int &a_comp, const RealVect &a_dx, const int &a_idir, const Side::LoHiSide &a_side, const EBISBox &a_ebisBox) |
virtual void | getFluxStencil (VoFStencil &a_stencil, const FaceIndex &a_face, const int &a_comp, const RealVect &a_dx, const int &a_idir, const Side::LoHiSide &a_side, const EBISBox &a_ebisBox) |
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)=0 |
virtual bool | isDirichletDom (const VolIndex &a_ivof, const VolIndex &a_jvof, const EBCellFAB &a_phi) const |
virtual void | getInhomFaceFlux (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) |
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)=0 |
virtual void | enforceFaceVel (LevelData< EBFluxFAB > &a_velocity, const DisjointBoxLayout &a_grids, const EBISLayout &a_ebisl, const ProblemDomain &a_domain, const RealVect &a_dx, const Real &a_time, const RealVect &a_origin) |
virtual void | enforceFaceVel (LevelData< EBFluxFAB > &a_velocity, const DisjointBoxLayout &a_grids, const EBISLayout &a_ebisl, const ProblemDomain &a_domain, const RealVect &a_dx, const Real &a_time, const RealVect &a_origin, const int &a_comp) |
virtual void | getFaceVel (Real &a_faceFlux, const FaceIndex &a_vof, 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) |
BaseDomainBC::BaseDomainBC | ( | ) | [inline] |
virtual BaseDomainBC::~BaseDomainBC | ( | ) | [inline, virtual] |
virtual void BaseDomainBC::getFluxStencil | ( | VoFStencil & | a_stencil, | |
const VolIndex & | a_vof, | |||
const int & | a_comp, | |||
const RealVect & | a_dx, | |||
const int & | a_idir, | |||
const Side::LoHiSide & | a_side, | |||
const EBISBox & | a_ebisBox | |||
) | [inline, virtual] |
virtual void BaseDomainBC::getFluxStencil | ( | VoFStencil & | a_stencil, | |
const FaceIndex & | a_face, | |||
const int & | a_comp, | |||
const RealVect & | a_dx, | |||
const int & | a_idir, | |||
const Side::LoHiSide & | a_side, | |||
const EBISBox & | a_ebisBox | |||
) | [inline, virtual] |
virtual void BaseDomainBC::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 | |||
) | [pure virtual] |
This is used by the elliptic solvers to get the flux of stuff through domain faces.
Implemented in DirichletConductivityDomainBC, DirichletPoissonDomainBC, DirichletViscousTensorDomainBC, MixedViscousTensorDomainBC, NeumannConductivityDomainBC, NeumannPoissonDomainBC, and NeumannViscousTensorDomainBC.
virtual bool BaseDomainBC::isDirichletDom | ( | const VolIndex & | a_ivof, | |
const VolIndex & | a_jvof, | |||
const EBCellFAB & | a_phi | |||
) | const [inline, virtual] |
A query of whether a_jvof is Dirichlet Domain boundary to a_ivof. a_jvof is the ghost vof; a_ivof is the valid computational vof. For now this is mainly used in form_matrix, which needs to know the type of BC at the boundary. Default implementation is MayDay::Error();
Reimplemented in DirichletPoissonDomainBC, NeumannConductivityDomainBC, and NeumannPoissonDomainBC.
References MayDay::Error().
virtual void BaseDomainBC::getInhomFaceFlux | ( | 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 | |||
) | [inline, virtual] |
This is used by the elliptic solvers to get the flux of stuff through domain faces.
Reimplemented in DirichletPoissonDomainBC, and NeumannPoissonDomainBC.
References MayDay::Error().
virtual void BaseDomainBC::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 | |||
) | [pure virtual] |
This is used by the projections to get a) grad(phi) at domain faces.
Implemented in DirichletConductivityDomainBC, DirichletPoissonDomainBC, NeumannConductivityDomainBC, NeumannPoissonDomainBC, and ViscousBaseDomainBC.
virtual void BaseDomainBC::enforceFaceVel | ( | LevelData< EBFluxFAB > & | a_velocity, | |
const DisjointBoxLayout & | a_grids, | |||
const EBISLayout & | a_ebisl, | |||
const ProblemDomain & | a_domain, | |||
const RealVect & | a_dx, | |||
const Real & | a_time, | |||
const RealVect & | a_origin | |||
) | [virtual] |
virtual void BaseDomainBC::enforceFaceVel | ( | LevelData< EBFluxFAB > & | a_velocity, | |
const DisjointBoxLayout & | a_grids, | |||
const EBISLayout & | a_ebisl, | |||
const ProblemDomain & | a_domain, | |||
const RealVect & | a_dx, | |||
const Real & | a_time, | |||
const RealVect & | a_origin, | |||
const int & | a_comp | |||
) | [virtual] |
virtual void BaseDomainBC::getFaceVel | ( | Real & | a_faceFlux, | |
const FaceIndex & | a_vof, | |||
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 | |||
) | [inline, virtual] |
This is used by the projections to get velocity at domain faces.
Reimplemented in DirichletConductivityDomainBC, DirichletPoissonDomainBC, NeumannConductivityDomainBC, NeumannPoissonDomainBC, and ViscousBaseDomainBC.
References MayDay::Error().