#include <DirichletPoissonDomainBC.H>
Public Member Functions | |
DirichletPoissonDomainBC () | |
virtual | ~DirichletPoissonDomainBC () |
virtual void | setValue (Real a_value) |
virtual void | setFunction (RefCountedPtr< BaseBCValue > a_func) |
virtual int | whichBC (int a_idir, Side::LoHiSide a_side) |
virtual void | setEBOrder (int a_ebOrder) |
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 | |
bool | m_onlyHomogeneous |
bool | m_isFunctional |
Real | m_value |
RefCountedPtr< BaseBCValue > | m_func |
int | m_ebOrder |
DirichletPoissonDomainBC::DirichletPoissonDomainBC | ( | ) |
virtual DirichletPoissonDomainBC::~DirichletPoissonDomainBC | ( | ) | [virtual] |
virtual void DirichletPoissonDomainBC::setValue | ( | Real | a_value | ) | [virtual] |
virtual void DirichletPoissonDomainBC::setFunction | ( | RefCountedPtr< BaseBCValue > | a_func | ) | [virtual] |
virtual int DirichletPoissonDomainBC::whichBC | ( | int | a_idir, | |
Side::LoHiSide | a_side | |||
) | [inline, virtual] |
0 Neumann 1 Dirichlet 2 periodic Anything else is invalid
Reimplemented from BaseDomainBC.
virtual void DirichletPoissonDomainBC::setEBOrder | ( | int | a_ebOrder | ) | [virtual] |
virtual void DirichletPoissonDomainBC::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 DirichletPoissonDomainBC::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 DirichletPoissonDomainBC::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 grad(phi) at domain faces.
Implements BaseDomainBC.
virtual void DirichletPoissonDomainBC::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 dirichlet value.
Implements BaseDomainBC.
bool DirichletPoissonDomainBC::m_onlyHomogeneous [private] |
bool DirichletPoissonDomainBC::m_isFunctional [private] |
Real DirichletPoissonDomainBC::m_value [private] |
int DirichletPoissonDomainBC::m_ebOrder [private] |