Boundary condition class for passing Dirichlet domain boundary conditions into EBHelmholtzOp.
Definition: CD_EBHelmholtzDirichletDomainBC.H:26
virtual ~EBHelmholtzDirichletDomainBC()
Destructor.
Definition: CD_EBHelmholtzDirichletDomainBC.cpp:43
virtual void getFaceFlux(BaseFab< Real > &a_faceFlux, const BaseFab< Real > &a_phi, const BaseFab< Real > &a_Bcoef, const int &a_dir, const Side::LoHiSide &a_side, const DataIndex &a_dit, const bool a_useHomogeneous) const override
Get face flux. This is for regular cells, and it uses first order finite differences for filling the ...
Definition: CD_EBHelmholtzDirichletDomainBC.cpp:71
Real m_constantValue
Constant value on domain sides.
Definition: CD_EBHelmholtzDirichletDomainBC.H:117
std::function< Real(const RealVect &a_pos)> m_functionValue
Spatially dependent value on domain sides.
Definition: CD_EBHelmholtzDirichletDomainBC.H:122
EBHelmholtzDirichletDomainBC()
Constructor. Must subsequently call setValue.
Definition: CD_EBHelmholtzDirichletDomainBC.cpp:21
bool m_useFunction
Use function for BC value.
Definition: CD_EBHelmholtzDirichletDomainBC.H:112
void setValue(const Real a_value)
Set the constant value on the domain side.
Definition: CD_EBHelmholtzDirichletDomainBC.cpp:49
bool m_useConstant
Use constant for BC.
Definition: CD_EBHelmholtzDirichletDomainBC.H:107
Base class for passing domain boundary conditions into EBHelmholtzOp.
Definition: CD_EBHelmholtzDomainBC.H:29