12 #ifndef CD_MFHelmholtzElectrostaticEBBC_H
13 #define CD_MFHelmholtzElectrostaticEBBC_H
18 #include <CD_NamespaceHeader.H>
36 const RefCountedPtr<MFHelmholtzJumpBC>& a_jumpBC);
139 const EBCellFAB& a_phi,
140 const BaseIVFAB<Real>& a_Bcoef,
141 const DataIndex& a_dit,
143 const bool& a_homogeneousPhysBC)
const override;
153 #include <CD_NamespaceFooter.H>
Data holder for holding the voltage at electrodes.
Declaration of an EB boundary condition class for MFHelmholtzOp.
Implementation of CD_MFHelmholtzElectrostaticEBBC.H.
Class which maps boundary condition types to a side and direction.
Definition: CD_ElectrostaticEbBc.H:33
Class for making boundary conditions on the EB in a multifluid context.
Definition: CD_MFHelmholtzEBBC.H:27
Class for making Electrostatic boundary conditions on the EB in a multifluid context.
Definition: CD_MFHelmholtzElectrostaticEBBC.H:26
virtual ~MFHelmholtzElectrostaticEBBC()
Default constructor (does nothing).
Definition: CD_MFHelmholtzElectrostaticEBBC.cpp:33
void setOrder(const int a_order)
Set stencil order.
Definition: CD_MFHelmholtzElectrostaticEBBC.cpp:39
void setWeight(const int a_weight)
Set stencil weight.
Definition: CD_MFHelmholtzElectrostaticEBBC.cpp:49
MFHelmholtzElectrostaticEBBC & operator=(const MFHelmholtzElectrostaticEBBC &&a_other)=delete
No move assignment.
int m_order
Stencil order.
Definition: CD_MFHelmholtzElectrostaticEBBC.H:102
virtual void defineSinglePhase() override
User define function.
Definition: CD_MFHelmholtzElectrostaticEBBC.cpp:67
MFHelmholtzElectrostaticEBBC & operator=(const MFHelmholtzElectrostaticEBBC &a_other)=delete
No copy assignment.
virtual void applyEBFluxSinglePhase(VoFIterator &a_singlePhaseVofs, 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 flux single phase.
Definition: CD_MFHelmholtzElectrostaticEBBC.cpp:184
int m_weight
Stencil weight.
Definition: CD_MFHelmholtzElectrostaticEBBC.H:107
Real getElectrodePotential(const RealVect &a_pos) const
Get electrode potential.
Definition: CD_MFHelmholtzElectrostaticEBBCImplem.H:23
int m_domainDropOrder
Special flag for dropping stencil order when domains become coarser than this.
Definition: CD_MFHelmholtzElectrostaticEBBC.H:112
MFHelmholtzElectrostaticEBBC()=delete
No weak construction.
void setDomainDropOrder(const int a_domainSize)
Drop BC order if domain size is equal or below this.
Definition: CD_MFHelmholtzElectrostaticEBBC.cpp:59
MFHelmholtzElectrostaticEBBC(const MFHelmholtzElectrostaticEBBC &&a_other)=delete
No move construction.
MFHelmholtzElectrostaticEBBC(const MFHelmholtzElectrostaticEBBC &a_other)=delete
No copy construction.
ElectrostaticEbBc m_electrostaticBCs
Electrostatic boundary conditions.
Definition: CD_MFHelmholtzElectrostaticEBBC.H:117