12 #ifndef CD_EBHelmholtzDirichletEBBCFactory_H
13 #define CD_EBHelmholtzDirichletEBBCFactory_H
16 #include <CD_EBHelmholtzEBBCFactory.H>
17 #include <CD_NamespaceHeader.H>
46 const std::function<Real(
const RealVect& a_pos)>& a_value);
87 setValue(
const std::function<Real(
const RealVect& a_pos)>& a_value);
92 virtual RefCountedPtr<EBHelmholtzEBBC>
132 #include <CD_NamespaceFooter.H>
Factory class for making Dirichlet BCs on EBs in EBHelmholtzOp.
Definition: CD_EBHelmholtzDirichletEBBCFactory.H:23
int m_weight
Stencil weighting.
Definition: CD_EBHelmholtzDirichletEBBCFactory.H:114
bool m_useFunction
Use function for BC value.
Definition: CD_EBHelmholtzDirichletEBBCFactory.H:104
virtual ~EBHelmholtzDirichletEBBCFactory()
Destructor.
Definition: CD_EBHelmholtzDirichletEBBCFactory.cpp:60
EBHelmholtzDirichletEBBCFactory()
Constructor.
Definition: CD_EBHelmholtzDirichletEBBCFactory.cpp:20
bool m_useConstant
Use constant for BC.
Definition: CD_EBHelmholtzDirichletEBBCFactory.H:99
Real m_constantValue
Value on EB.
Definition: CD_EBHelmholtzDirichletEBBCFactory.H:124
virtual void setValue(const Real a_value)
Set the value on the EB.
Definition: CD_EBHelmholtzDirichletEBBCFactory.cpp:86
int m_domainDropOrder
Special flag for dropping stencil order when domains become coarser than this.
Definition: CD_EBHelmholtzDirichletEBBCFactory.H:119
virtual void setOrder(const int a_order)
Set BC order.
Definition: CD_EBHelmholtzDirichletEBBCFactory.cpp:66
int m_order
Stencil approximation order,.
Definition: CD_EBHelmholtzDirichletEBBCFactory.H:109
virtual RefCountedPtr< EBHelmholtzEBBC > create() override
Factory method.
Definition: CD_EBHelmholtzDirichletEBBCFactory.cpp:116
std::function< Real(const RealVect &a_pos)> m_functionValue
Value on the EB.
Definition: CD_EBHelmholtzDirichletEBBCFactory.H:129
virtual void setDomainDropOrder(const int a_domainSize)
Drop BC order if domain size is equal or below this.
Definition: CD_EBHelmholtzDirichletEBBCFactory.cpp:108
virtual void setWeight(const int a_weight)
Set BC order.
Definition: CD_EBHelmholtzDirichletEBBCFactory.cpp:76
Factory class for making EBHelmholtzEBBCs.
Definition: CD_EBHelmholtzEBBCFactory.H:26