13#ifndef CD_EBHELMHOLTZNEUMANNEBBC_H
14#define CD_EBHELMHOLTZNEUMANNEBBC_H
20#include <CD_EBHelmholtzEBBC.H>
21#include <CD_NamespaceHeader.H>
55 setDphiDn(
const std::function<Real(
const RealVect& a_pos)>& a_DphiDn);
71 setBxDphiDn(
const std::function<Real(
const RealVect& a_pos)>& a_BxDphiDn);
86 const EBCellFAB& a_phi,
87 const BaseIVFAB<Real>& a_Bcoef,
88 const DataIndex& a_dit,
90 const bool& a_homogeneousPhysBC)
const override;
125#include <CD_NamespaceFooter.H>
Base class for passing EB boundary conditions into EBHelmholtzOp.
Definition CD_EBHelmholtzEBBC.H:30
Base class for passing Neumann EB boundary conditions into EBHelmholtzOp.
Definition CD_EBHelmholtzNeumannEBBC.H:29
virtual void define() override
User define function.
Definition CD_EBHelmholtzNeumannEBBC.cpp:78
EBHelmholtzNeumannEBBC()
Default constructor.
Definition CD_EBHelmholtzNeumannEBBC.cpp:21
virtual void applyEBFlux(VoFIterator &a_vofit, EBCellFAB &a_Lphi, const EBCellFAB &a_phi, const BaseIVFAB< Real > &a_Bcoef, const DataIndex &a_dit, const Real &a_beta, const bool &a_homogeneousPhysBC) const override
Apply the EB flux. This is the version that is called by EBHelmholtzOp.
Definition CD_EBHelmholtzNeumannEBBC.cpp:124
bool m_useFunction
Use function for BC value.
Definition CD_EBHelmholtzNeumannEBBC.H:106
Real m_constantDphiDn
Value on EB.
Definition CD_EBHelmholtzNeumannEBBC.H:111
void setBxDphiDn(const Real a_BxDphiDn)
Set the value of B*dphi/dn on the EB.
Definition CD_EBHelmholtzNeumannEBBC.cpp:58
bool m_multByBco
Multiply by b-coefficient or not.
Definition CD_EBHelmholtzNeumannEBBC.H:96
bool m_useConstant
Use constant for BC.
Definition CD_EBHelmholtzNeumannEBBC.H:101
std::function< Real(const RealVect &a_pos)> m_functionDphiDn
Value on the EB.
Definition CD_EBHelmholtzNeumannEBBC.H:116
virtual ~EBHelmholtzNeumannEBBC()
Destructor.
Definition CD_EBHelmholtzNeumannEBBC.cpp:26
void setDphiDn(const Real a_DphiDn)
Set value of dphi/dn on the EB.
Definition CD_EBHelmholtzNeumannEBBC.cpp:32