Base class for passing domain boundary conditions into EBHelmholtzOp.
Definition: CD_EBHelmholtzDomainBC.H:29
Base class for passing Robin domain boundary conditions into EBHelmholtzOp.
Definition: CD_EBHelmholtzRobinDomainBC.H:29
std::function< Real(const RealVect &a_pos)> m_functionB
Function-based B-coefficient.
Definition: CD_EBHelmholtzRobinDomainBC.H:134
bool m_useFunction
Use function for BC value.
Definition: CD_EBHelmholtzRobinDomainBC.H:109
std::function< Real(const RealVect &a_pos)> m_functionA
Function-based A-coefficient.
Definition: CD_EBHelmholtzRobinDomainBC.H:129
void setCoefficients(const Real a_A, const Real a_B, const Real a_C)
Set constant coefficients.
Definition: CD_EBHelmholtzRobinDomainBC.cpp:35
Real m_constantC
Constant C-coefficient.
Definition: CD_EBHelmholtzRobinDomainBC.H:124
Real m_constantA
Constant A-coefficient.
Definition: CD_EBHelmholtzRobinDomainBC.H:114
Real m_constantB
Constant B-coefficient.
Definition: CD_EBHelmholtzRobinDomainBC.H:119
virtual ~EBHelmholtzRobinDomainBC()
Destructor.
Definition: CD_EBHelmholtzRobinDomainBC.cpp:29
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.
Definition: CD_EBHelmholtzRobinDomainBC.cpp:63
bool m_useConstant
Use constant for BC.
Definition: CD_EBHelmholtzRobinDomainBC.H:104
std::function< Real(const RealVect &a_pos)> m_functionC
Function-based C-coefficient.
Definition: CD_EBHelmholtzRobinDomainBC.H:139
EBHelmholtzRobinDomainBC()
Default constructor. Must subsequently set coefficients.
Definition: CD_EBHelmholtzRobinDomainBC.cpp:21