|
chombo-discharge
|
Class for making electrostatic boundary conditions on EBs in an MFHelmholtzOp context. More...
#include <CD_MFHelmholtzElectrostaticEBBCFactory.H>


Public Member Functions | |
| MFHelmholtzElectrostaticEBBCFactory ()=delete | |
| Weak constructor is bad, use the full constructor. | |
| MFHelmholtzElectrostaticEBBCFactory (const int a_order, const int a_weight, const ElectrostaticEbBc &a_electrostaticBCs) | |
| Full constructor. | |
| MFHelmholtzElectrostaticEBBCFactory (MFHelmholtzElectrostaticEBBCFactory &a_other)=delete | |
| No copy construction. | |
| MFHelmholtzElectrostaticEBBCFactory (MFHelmholtzElectrostaticEBBCFactory &&a_other)=delete | |
| No move construction. | |
| MFHelmholtzElectrostaticEBBCFactory & | operator= (const MFHelmholtzElectrostaticEBBCFactory &)=delete |
| No copy assignment. | |
| MFHelmholtzElectrostaticEBBCFactory & | operator= (const MFHelmholtzElectrostaticEBBCFactory &&)=delete |
| No move assignment. | |
| virtual | ~MFHelmholtzElectrostaticEBBCFactory () |
| Default constructor (does nothing) | |
| virtual void | setOrder (const int a_order) |
| Set BC order. | |
| virtual void | setWeight (const int a_weight) |
| Set BC order. | |
| virtual void | setDomainDropOrder (const int a_domainSize) |
| Drop BC order if domain size is equal or below this. | |
| virtual void | setCoarseGridDropOrder (const bool a_dropOrder) |
| Signal that it should drop the stencil order if the cell is a coarsened cell. | |
| RefCountedPtr< EBHelmholtzEBBC > | create (const int a_iphase, const RefCountedPtr< MFHelmholtzJumpBC > &a_jumpBC) const override |
| Factory method. | |
Public Member Functions inherited from MFHelmholtzEBBCFactory | |
| MFHelmholtzEBBCFactory () | |
| Weak constructor. Must subsequently set order, weight, and value. | |
| virtual | ~MFHelmholtzEBBCFactory () |
| Default constructor. | |
Protected Attributes | |
| int | m_order |
| Stencil order. | |
| int | m_weight |
| Stencil weight. | |
| int | m_domainDropOrder |
| Special flag for dropping stencil order when domains become coarser than this. | |
| bool | m_dropOrder |
| Special flag for dropping stencil order if the cell is a coarsened cell. | |
| ElectrostaticEbBc | m_electrostaticBCs |
| Electrostatic boundary conditions. | |
Class for making electrostatic boundary conditions on EBs in an MFHelmholtzOp context.
Users will pass an object of this class to MFHelmholtzOpFactory. The input arguments in the constructor will set the stencil order and weights for the least squares reconstruction that is used in EBHelmholtzEBBC. The actual BC values are passed in through the a_electrostaticBCs argument in the constructor.
| MFHelmholtzElectrostaticEBBCFactory::MFHelmholtzElectrostaticEBBCFactory | ( | const int | a_order, |
| const int | a_weight, | ||
| const ElectrostaticEbBc & | a_electrostaticBCs | ||
| ) |
Full constructor.
| [in] | a_order | Stencil order for least squares reconstruction |
| [in] | a_weight | Equation weights for least squares reconstruction |
| [in] | a_electrostaticBCs | Electrostatic boundary conditions. |
|
delete |
No copy construction.
| [in] | a_other | Other factory |
|
delete |
No move construction.
| [in] | a_other | Other factory |
|
overridevirtual |
Factory method.
| [in] | a_iphase | Phase (0=gas and 1=solid). |
| [in] | a_jumpBC | Jump bc object. |
Implements MFHelmholtzEBBCFactory.
|
delete |
No move assignment.
| [in] | a_other | Other factory |
|
delete |
No copy assignment.
| [in] | a_other | Other factory |
Signal that it should drop the stencil order if the cell is a coarsened cell.
| [in] | a_dropOrder |
Set BC order.
| [in] | a_order | Approximation order (1 and 2 are accepted) |
Set BC order.
| [in] | a_weight | Weight for least squares stencils. |