Class for making Robin boundary conditions on the EB in a multifluid context.
More...
#include <CD_MFHelmholtzRobinEBBCFactory.H>
|
|
| MFHelmholtzRobinEBBCFactory ()=delete |
| | Disallowed weak construction. Use the full constructors.
|
| |
| | MFHelmholtzRobinEBBCFactory (const int a_order, const int a_weight, const Real a_A, const Real a_B, const Real a_C) |
| | Full constructor which sets constant coefficients.
|
| |
| | MFHelmholtzRobinEBBCFactory (const int a_order, const int a_weight, const std::function< Real(const RealVect &a_pos)> &a_A, const std::function< Real(const RealVect &a_pos)> &a_B, const std::function< Real(const RealVect &a_pos)> &a_C) |
| | Full constructor which sets variable coefficients.
|
| |
|
| ~MFHelmholtzRobinEBBCFactory () |
| | Default constructor (does nothing)
|
| |
| void | setOrder (const int a_order) |
| | Set BC order.
|
| |
| void | setWeight (const int a_weight) |
| | Set equation weights for least squares reconstruction.
|
| |
| void | setDomainDropOrder (const int a_domainSize) |
| | Drop BC order if domain size is equal or below this.
|
| |
| void | setCoefficients (const Real a_A, const Real a_B, const Real a_C) |
| | Set constant Robin BC coefficients.
|
| |
| void | setCoefficients (const std::function< Real(const RealVect &a_pos)> &a_A, const std::function< Real(const RealVect &a_pos)> &a_B, const std::function< Real(const RealVect &a_pos)> &a_C) |
| | Set variable Robin BC coefficients.
|
| |
| RefCountedPtr< EBHelmholtzEBBC > | create (const int a_iphase, const RefCountedPtr< MFHelmholtzJumpBC > &a_jumpBC) const override |
| | Factory method.
|
| |
|
| MFHelmholtzEBBCFactory () |
| | Weak constructor. Must subsequently set order, weight, and value.
|
| |
|
virtual | ~MFHelmholtzEBBCFactory () |
| | Default constructor.
|
| |
|
|
bool | m_useConstant |
| | Use constant.
|
| |
|
bool | m_useFunction |
| | Hook when using variable coefficients on the EB.
|
| |
|
int | m_order |
| | Stencil order.
|
| |
|
int | m_weight |
| | Equation weighting (in least squares reconstruction)
|
| |
|
int | m_domainDropOrder |
| | Special flag for dropping stencil order when domains become coarser than this.
|
| |
|
Real | m_constantA |
| | Constant A-coefficient.
|
| |
|
Real | m_constantB |
| | Constant B-coefficient.
|
| |
|
Real | m_constantC |
| | Constant C-coefficient.
|
| |
|
std::function< Real(const RealVect &a_pos)> | m_functionA |
| | Function-based A-coefficient.
|
| |
|
std::function< Real(const RealVect &a_pos)> | m_functionB |
| | Function-based B-coefficient.
|
| |
|
std::function< Real(const RealVect &a_pos)> | m_functionC |
| | Function-based C-coefficient.
|
| |
Class for making Robin boundary conditions on the EB in a multifluid context.
◆ MFHelmholtzRobinEBBCFactory() [1/2]
| MFHelmholtzRobinEBBCFactory::MFHelmholtzRobinEBBCFactory |
( |
const int |
a_order, |
|
|
const int |
a_weight, |
|
|
const Real |
a_A, |
|
|
const Real |
a_B, |
|
|
const Real |
a_C |
|
) |
| |
Full constructor which sets constant coefficients.
- Parameters
-
| [in] | a_order | Stencil order. Must be > 0 |
| [in] | a_weight | Equation weights. Must be >=0 |
| [in] | a_A | Robin A-coefficient |
| [in] | a_B | Robin B-coefficient |
| [in] | a_C | Robin C-coefficient |
◆ MFHelmholtzRobinEBBCFactory() [2/2]
| MFHelmholtzRobinEBBCFactory::MFHelmholtzRobinEBBCFactory |
( |
const int |
a_order, |
|
|
const int |
a_weight, |
|
|
const std::function< Real(const RealVect &a_pos)> & |
a_A, |
|
|
const std::function< Real(const RealVect &a_pos)> & |
a_B, |
|
|
const std::function< Real(const RealVect &a_pos)> & |
a_C |
|
) |
| |
Full constructor which sets variable coefficients.
- Parameters
-
| [in] | a_order | Stencil order. Must be > 0 |
| [in] | a_weight | Equation weights. Must be >=0 |
| [in] | a_A | Robin A-coefficient |
| [in] | a_B | Robin B-coefficient |
| [in] | a_C | Robin C-coefficient |
◆ create()
Factory method.
- Parameters
-
| [in] | a_jumpBC | Jump bc object. |
- Returns
- Return value
- Parameters
-
Implements MFHelmholtzEBBCFactory.
◆ setCoefficients() [1/2]
| void MFHelmholtzRobinEBBCFactory::setCoefficients |
( |
const Real |
a_A, |
|
|
const Real |
a_B, |
|
|
const Real |
a_C |
|
) |
| |
Set constant Robin BC coefficients.
- Parameters
-
| [in] | a_A | A-coefficient |
| [in] | a_B | B-coefficient |
| [in] | a_C | C-coefficient |
◆ setCoefficients() [2/2]
| void MFHelmholtzRobinEBBCFactory::setCoefficients |
( |
const std::function< Real(const RealVect &a_pos)> & |
a_A, |
|
|
const std::function< Real(const RealVect &a_pos)> & |
a_B, |
|
|
const std::function< Real(const RealVect &a_pos)> & |
a_C |
|
) |
| |
Set variable Robin BC coefficients.
- Parameters
-
| [in] | a_A | A-coefficient |
| [in] | a_B | B-coefficient |
| [in] | a_C | C-coefficient |
◆ setDomainDropOrder()
| void MFHelmholtzRobinEBBCFactory::setDomainDropOrder |
( |
const int |
a_domainSize | ) |
|
Drop BC order if domain size is equal or below this.
- Parameters
-
| [in] | a_domainSize | Description |
◆ setOrder()
| void MFHelmholtzRobinEBBCFactory::setOrder |
( |
const int |
a_order | ) |
|
Set BC order.
- Parameters
-
| [in] | a_order | Order. Must be > 0 |
◆ setWeight()
| void MFHelmholtzRobinEBBCFactory::setWeight |
( |
const int |
a_weight | ) |
|
Set equation weights for least squares reconstruction.
- Parameters
-
| [in] | a_weight | Weights. Must be >= 0 |
The documentation for this class was generated from the following files: