Base class for making Robin domain boundary conditions with MFHelmholtzOp.
More...
#include <CD_MFHelmholtzRobinDomainBCFactory.H>
|
|
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 MFHelmholtzOp.
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.
◆ MFHelmholtzRobinDomainBCFactory() [1/2]
| MFHelmholtzRobinDomainBCFactory::MFHelmholtzRobinDomainBCFactory |
( |
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 |
◆ MFHelmholtzRobinDomainBCFactory() [2/2]
| MFHelmholtzRobinDomainBCFactory::MFHelmholtzRobinDomainBCFactory |
( |
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()
| RefCountedPtr< EBHelmholtzDomainBC > MFHelmholtzRobinDomainBCFactory::create |
( |
const int |
a_iphase | ) |
const |
|
overridevirtual |
◆ setCoefficients() [1/2]
| void MFHelmholtzRobinDomainBCFactory::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 MFHelmholtzRobinDomainBCFactory::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: