#include <NeumannConductivityDomainBC.H>
Public Member Functions | |
NeumannConductivityDomainBC () | |
virtual | ~NeumannConductivityDomainBC () |
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 | |
NeumannPoissonDomainBC | m_bc |
NeumannConductivityDomainBC::NeumannConductivityDomainBC | ( | ) |
virtual NeumannConductivityDomainBC::~NeumannConductivityDomainBC | ( | ) | [virtual] |
virtual void NeumannConductivityDomainBC::setValue | ( | Real | a_value | ) | [virtual] |
virtual int NeumannConductivityDomainBC::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 NeumannConductivityDomainBC::setFunction | ( | RefCountedPtr< BaseBCValue > | a_flux | ) | [virtual] |
virtual void NeumannConductivityDomainBC::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 NeumannConductivityDomainBC::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 NeumannConductivityDomainBC::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 NeumannConductivityDomainBC::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.