Class for making Electrostatic boundary conditions on the EB in a multifluid context.
More...
|
| MFHelmholtzElectrostaticEBBC (const int a_phase, const ElectrostaticEbBc &a_electrostaticBCs, const RefCountedPtr< MFHelmholtzJumpBC > &a_jumpBC) |
| Full constructor. More...
|
|
| MFHelmholtzElectrostaticEBBC ()=delete |
| No weak construction.
|
|
| MFHelmholtzElectrostaticEBBC (const MFHelmholtzElectrostaticEBBC &a_other)=delete |
| No copy construction. More...
|
|
| MFHelmholtzElectrostaticEBBC (const MFHelmholtzElectrostaticEBBC &&a_other)=delete |
| No move construction. More...
|
|
virtual | ~MFHelmholtzElectrostaticEBBC () |
| Default constructor (does nothing).
|
|
MFHelmholtzElectrostaticEBBC & | operator= (const MFHelmholtzElectrostaticEBBC &a_other)=delete |
| No copy assignment. More...
|
|
MFHelmholtzElectrostaticEBBC & | operator= (const MFHelmholtzElectrostaticEBBC &&a_other)=delete |
| No move assignment. More...
|
|
void | setOrder (const int a_order) |
| Set stencil order. More...
|
|
void | setWeight (const int a_weight) |
| Set stencil weight. More...
|
|
void | setDomainDropOrder (const int a_domainSize) |
| Drop BC order if domain size is equal or below this.
|
|
| MFHelmholtzEBBC ()=delete |
| Disallowed weak constructor. Factory must call the other version.
|
|
| MFHelmholtzEBBC (const MFHelmholtzEBBC &a_other)=delete |
| Disallowed copy constructor. Factory must call the other version.
|
|
| MFHelmholtzEBBC (const int a_phase, const RefCountedPtr< MFHelmholtzJumpBC > &a_jumpBC) |
| Full constructor.
|
|
virtual | ~MFHelmholtzEBBC () |
| Default constructor.
|
|
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. More...
|
|
| EBHelmholtzEBBC () |
| Default constructor.
|
|
virtual | ~EBHelmholtzEBBC () |
| Destructor.
|
|
| EBHelmholtzEBBC (const EBHelmholtzEBBC &a_other)=delete |
| Disallowed – don't see why you would need it.
|
|
EBHelmholtzEBBC & | operator= (const EBHelmholtzEBBC &a_other)=delete |
| Disallowed - don't see why you would need it.
|
|
void | define (const Location::Cell a_dataLocation, const EBLevelGrid &a_eblg, const RealVect &a_probLo, const Real &a_dx, const int a_ghostCF) |
| Define function that is called by EBHelmholtzOp. More...
|
|
const LayoutData< BaseIVFAB< VoFStencil > > & | getGradPhiStencils () const |
| Get the stencil for computing the finite-volume approximation to kappa*Div(F). More...
|
|
|
virtual void | defineSinglePhase () override |
| User define function.
|
|
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. More...
|
|
Real | getElectrodePotential (const RealVect &a_pos) const |
| Get electrode potential. More...
|
|
void | define () override final |
| User define function.
|
|
void | defineMultiPhase () |
| Define stuff for multi-phase.
|
|
void | applyEBFluxMultiPhase (VoFIterator &a_multiPhaseVofs, 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 |
| Apply flux in multiphase cells. More...
|
|
virtual bool | getLeastSquaresBoundaryGradStencil (std::pair< Real, VoFStencil > &a_stencil, const VolIndex &a_vof, const VofUtils::Neighborhood a_neighborhood, const DataIndex &a_dit, const int a_order, const int a_weight) const |
| Get stencil with specified order. More...
|
|
bool | isStencilValidCF (const VoFStencil &a_stencil, const DataIndex &a_dit) const |
| Check if stencil is valid. More...
|
|
RealVect | getBoundaryPosition (const VolIndex &a_vof, const DataIndex &a_dit) const |
| Returns physical position at the boundary.
|
|
Real | applyStencil (const VoFStencil &a_stencil, const EBCellFAB &a_phi) const |
| Apply stencil to data holder and return result.
|
|
Class for making Electrostatic boundary conditions on the EB in a multifluid context.
This implements MFHelmholtzEBBC, which is essentially an EBHelmholtzEBBC-derived class that performs automatic "matching" on cells with jumps in the b-coefficients. Users will never have to interact directly with this object.