#include <DirichletConductivityDomainBC.H>
Public Member Functions | |
DirichletConductivityDomainBC () | |
virtual | ~DirichletConductivityDomainBC () |
virtual void | setValue (Real a_value) |
virtual int | whichBC (int a_idir, Side::LoHiSide a_side) |
virtual void | setFunction (RefCountedPtr< BaseBCValue > a_flux) |
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) |
Private Attributes | |
DirichletPoissonDomainBC | m_bc |
DirichletConductivityDomainBC::DirichletConductivityDomainBC | ( | ) |
virtual DirichletConductivityDomainBC::~DirichletConductivityDomainBC | ( | ) | [virtual] |
virtual void DirichletConductivityDomainBC::setValue | ( | Real | a_value | ) | [virtual] |
virtual int DirichletConductivityDomainBC::whichBC | ( | int | a_idir, | |
Side::LoHiSide | a_side | |||
) | [virtual] |
only used for line solves. 0 Neumann 1 Dirichlet 2 periodic Anything else is invalid
Reimplemented from BaseDomainBC.
virtual void DirichletConductivityDomainBC::setFunction | ( | RefCountedPtr< BaseBCValue > | a_flux | ) | [virtual] |
virtual void DirichletConductivityDomainBC::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] |
Implements BaseDomainBC.
virtual void DirichletConductivityDomainBC::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] |
This is used by the elliptic solvers to get the flux of stuff through domain faces.
Implements BaseDomainBC.
virtual void DirichletConductivityDomainBC::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 DirichletConductivityDomainBC::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, | |||
const bool & | a_doDivFreeOutflow | |||
) | [virtual] |
This is used by the projections to get velocity at domain faces.
Implements BaseDomainBC.