12 #ifndef CD_EBHelmholtzRobinEBBCFactory_H
13 #define CD_EBHelmholtzRobinEBBCFactory_H
19 #include <CD_EBHelmholtzEBBCFactory.H>
20 #include <CD_NamespaceHeader.H>
56 const std::function<Real(
const RealVect& a_pos)>& a_A,
57 const std::function<Real(
const RealVect& a_pos)>& a_B,
58 const std::function<Real(
const RealVect& a_pos)>& a_C);
96 const std::function<Real(
const RealVect& a_pos)>& a_B,
97 const std::function<Real(
const RealVect& a_pos)>& a_C);
109 RefCountedPtr<EBHelmholtzEBBC>
169 #include <CD_NamespaceFooter.H>
Factory class for making EBHelmholtzEBBCs.
Definition: CD_EBHelmholtzEBBCFactory.H:26
Base class for making Robin boundary conditions with EBHelmholtzOp.
Definition: CD_EBHelmholtzRobinEBBCFactory.H:29
void setWeight(const int a_weight)
Set equation weights for least squares reconstruction.
Definition: CD_EBHelmholtzRobinEBBCFactory.cpp:76
virtual void setDomainDropOrder(const int a_domainSize)
Drop BC order if domain size is equal or below this.
Definition: CD_EBHelmholtzRobinEBBCFactory.cpp:86
Real m_constantA
Constant A-coefficient.
Definition: CD_EBHelmholtzRobinEBBCFactory.H:141
std::function< Real(const RealVect &a_pos)> m_functionA
Function-based A-coefficient.
Definition: CD_EBHelmholtzRobinEBBCFactory.H:156
int m_domainDropOrder
Special flag for dropping stencil order when domains become coarser than this.
Definition: CD_EBHelmholtzRobinEBBCFactory.H:136
Real m_constantC
Constant C-coefficient.
Definition: CD_EBHelmholtzRobinEBBCFactory.H:151
EBHelmholtzRobinEBBCFactory()
Constructor.
Definition: CD_EBHelmholtzRobinEBBCFactory.cpp:17
std::function< Real(const RealVect &a_pos)> m_functionB
Function-based B-coefficient.
Definition: CD_EBHelmholtzRobinEBBCFactory.H:161
virtual ~EBHelmholtzRobinEBBCFactory()
Destructor (does nothing).
Definition: CD_EBHelmholtzRobinEBBCFactory.cpp:60
void setCoefficients(const Real a_A, const Real a_B, const Real a_C)
Set constant coefficients.
Definition: CD_EBHelmholtzRobinEBBCFactory.cpp:94
int m_order
(Attempted) stencil order
Definition: CD_EBHelmholtzRobinEBBCFactory.H:126
Real m_constantB
Constant B-coefficient.
Definition: CD_EBHelmholtzRobinEBBCFactory.H:146
std::function< Real(const RealVect &a_pos)> m_functionC
Function-based C-coefficient.
Definition: CD_EBHelmholtzRobinEBBCFactory.H:166
bool m_useFunction
Use function for BC value.
Definition: CD_EBHelmholtzRobinEBBCFactory.H:121
RefCountedPtr< EBHelmholtzEBBC > create() override
Factory method.
Definition: CD_EBHelmholtzRobinEBBCFactory.cpp:122
void setOrder(const int a_order)
Set BC order.
Definition: CD_EBHelmholtzRobinEBBCFactory.cpp:66
int m_weight
Weight for least squares gradient reconstruction.
Definition: CD_EBHelmholtzRobinEBBCFactory.H:131