dielectric class. Simple tuple.
More...
#include <CD_Dielectric.H>
|
| Dielectric () |
| Weak constructor, must subsequently call one of the define methods.
|
|
| Dielectric (const RefCountedPtr< BaseIF > &a_baseIF, const Real a_permittivity) |
| Full constructor which uses constant permittivity. More...
|
|
| Dielectric (const RefCountedPtr< BaseIF > &a_baseIF, const std::function< Real(const RealVect a_pos)> &a_permittivity) |
| Full constructor which uses variable permittivity. More...
|
|
virtual | ~Dielectric () |
| Destructor (does nothing).
|
|
virtual void | define (const RefCountedPtr< BaseIF > &a_baseIF, const Real a_permittivity) |
| Define function. More...
|
|
virtual void | define (const RefCountedPtr< BaseIF > &a_baseIF, const std::function< Real(const RealVect a_pos)> &a_permittivity) |
| Define function for variable permittivity. More...
|
|
virtual const RefCountedPtr< BaseIF > & | getImplicitFunction () const |
| Get level-set function. More...
|
|
virtual Real | getPermittivity (const RealVect a_pos) const |
| Get permittivity. More...
|
|
dielectric class. Simple tuple.
◆ Dielectric() [1/2]
Dielectric::Dielectric |
( |
const RefCountedPtr< BaseIF > & |
a_baseIF, |
|
|
const Real |
a_permittivity |
|
) |
| |
Full constructor which uses constant permittivity.
- Parameters
-
[in] | a_baseIF | Implicit function |
[in] | a_permittivity | Constant permittivity |
- Note
- Calls the define function for constant permittivity.
◆ Dielectric() [2/2]
Dielectric::Dielectric |
( |
const RefCountedPtr< BaseIF > & |
a_baseIF, |
|
|
const std::function< Real(const RealVect a_pos)> & |
a_permittivity |
|
) |
| |
Full constructor which uses variable permittivity.
- Parameters
-
[in] | a_baseIF | Implicit function |
[in] | a_permittivity | Variable permittivity |
- Note
- Calls the define function for variable permittivity.
◆ define() [1/2]
void Dielectric::define |
( |
const RefCountedPtr< BaseIF > & |
a_baseIF, |
|
|
const Real |
a_permittivity |
|
) |
| |
|
virtual |
Define function.
- Parameters
-
[in] | a_baseIF | Implicit function |
[in] | a_permittivity | Constant permittivity |
◆ define() [2/2]
void Dielectric::define |
( |
const RefCountedPtr< BaseIF > & |
a_baseIF, |
|
|
const std::function< Real(const RealVect a_pos)> & |
a_permittivity |
|
) |
| |
|
virtual |
Define function for variable permittivity.
- Parameters
-
[in] | a_baseIF | Implicit function |
[in] | a_permittivity | Variable permittivity |
◆ getImplicitFunction()
const RefCountedPtr< BaseIF > & Dielectric::getImplicitFunction |
( |
| ) |
const |
|
virtual |
Get level-set function.
- Returns
- Returns m_baseIF
◆ getPermittivity()
Real Dielectric::getPermittivity |
( |
const RealVect |
a_pos | ) |
const |
|
virtual |
Get permittivity.
- Parameters
-
- Returns
- Returns permittivity for physical coordinates a_pos.
The documentation for this class was generated from the following files: