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. More... | |
MFHelmholtzElectrostaticEBBCFactory (MFHelmholtzElectrostaticEBBCFactory &a_other)=delete | |
No copy construction. More... | |
MFHelmholtzElectrostaticEBBCFactory (MFHelmholtzElectrostaticEBBCFactory &&a_other)=delete | |
No move construction. More... | |
MFHelmholtzElectrostaticEBBCFactory & | operator= (const MFHelmholtzElectrostaticEBBCFactory &)=delete |
No copy assignment. More... | |
MFHelmholtzElectrostaticEBBCFactory & | operator= (const MFHelmholtzElectrostaticEBBCFactory &&)=delete |
No move assignment. More... | |
virtual | ~MFHelmholtzElectrostaticEBBCFactory () |
Default constructor (does nothing) | |
virtual void | setOrder (const int a_order) |
Set BC order. More... | |
virtual void | setWeight (const int a_weight) |
Set BC order. More... | |
virtual void | setDomainDropOrder (const int a_domainSize) |
Drop BC order if domain size is equal or below this. | |
RefCountedPtr< EBHelmholtzEBBC > | create (const int a_iphase, const RefCountedPtr< MFHelmholtzJumpBC > &a_jumpBC) const override |
Factory method. More... | |
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. | |
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 |
|
virtual |
Set BC order.
[in] | a_order | Approximation order (1 and 2 are accepted) |
|
virtual |
Set BC order.
[in] | a_weight | Weight for least squares stencils. |