Base class for making Robin domain boundary conditions with EBHelmholtzOp.
More...
#include <CD_EBHelmholtzRobinDomainBCFactory.H>
|
|
| EBHelmholtzRobinDomainBCFactory () |
| | Constructor.
|
| |
| | EBHelmholtzRobinDomainBCFactory (const Real a_A, const Real a_B, const Real a_C) |
| | Full constructor which sets constant coefficients.
|
| |
| | EBHelmholtzRobinDomainBCFactory (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.
|
| |
|
virtual | ~EBHelmholtzRobinDomainBCFactory () |
| | Destructor.
|
| |
| void | setCoefficients (const Real a_A, const Real a_B, const Real a_C) |
| | Set constant 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 coefficients.
|
| |
| virtual RefCountedPtr< EBHelmholtzDomainBC > | create () const override |
| | Factory method.
|
| |
Public Member Functions inherited from EBHelmholtzDomainBCFactory |
|
| EBHelmholtzDomainBCFactory () |
| | Constructor.
|
| |
|
virtual | ~EBHelmholtzDomainBCFactory () |
| | Destructor.
|
| |
|
| EBHelmholtzDomainBCFactory (const EBHelmholtzDomainBCFactory &a_other)=delete |
| | Disallowed – don't see why you would need it.
|
| |
|
EBHelmholtzDomainBCFactory & | operator= (const EBHelmholtzDomainBCFactory &a_other)=delete |
| | Disallowed - don't see why you would need it.
|
| |
|
|
bool | m_useConstant |
| | Use constant.
|
| |
|
bool | m_useFunction |
| | Use function for BC value.
|
| |
|
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.
|
| |
Base class for making Robin domain boundary conditions with EBHelmholtzOp.
Robin bcs are in the form A*phi + B*dphi/dn = C. We impose dphi/dn = (C - A*phi)/B where phi is extrapolated to the EB to first order.
- Note
- The B-coefficient is not the same as in the Helmholtz equation...
-
In our notation, n points into the computational domain.
◆ EBHelmholtzRobinDomainBCFactory() [1/2]
| EBHelmholtzRobinDomainBCFactory::EBHelmholtzRobinDomainBCFactory |
( |
const Real |
a_A, |
|
|
const Real |
a_B, |
|
|
const Real |
a_C |
|
) |
| |
Full constructor which sets constant coefficients.
- Parameters
-
| [in] | a_A | A-coefficient |
| [in] | a_B | B-coefficient |
| [in] | a_C | C-coefficient |
◆ EBHelmholtzRobinDomainBCFactory() [2/2]
| EBHelmholtzRobinDomainBCFactory::EBHelmholtzRobinDomainBCFactory |
( |
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_A | A-coefficient |
| [in] | a_B | B-coefficient |
| [in] | a_C | C-coefficient |
◆ create()
◆ setCoefficients() [1/2]
| void EBHelmholtzRobinDomainBCFactory::setCoefficients |
( |
const Real |
a_A, |
|
|
const Real |
a_B, |
|
|
const Real |
a_C |
|
) |
| |
Set constant coefficients.
- Parameters
-
| [in] | a_A | A-coefficient |
| [in] | a_B | B-coefficient |
| [in] | a_C | C-coefficient |
◆ setCoefficients() [2/2]
| void EBHelmholtzRobinDomainBCFactory::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 coefficients.
- Parameters
-
| [in] | a_A | A-coefficient |
| [in] | a_B | B-coefficient |
| [in] | a_C | C-coefficient |
The documentation for this class was generated from the following files: