Electrode class for encapsulating the concept of an electrical conductor.
More...
#include <CD_Electrode.H>
|
| Electrode () |
| Default constructor. Must subsequently call define()
|
|
| Electrode (const RefCountedPtr< BaseIF > &a_baseIF, const bool a_live, const Real a_voltageFraction=1.0) |
| Constructor. More...
|
|
virtual | ~Electrode () |
| Destructor (does nothing)
|
|
virtual void | define (const RefCountedPtr< BaseIF > &a_baseIF, const bool a_live, const Real a_voltageFraction=1.0) |
| Define function. More...
|
|
virtual const RefCountedPtr< BaseIF > & | getImplicitFunction () const |
| Get implicit function. More...
|
|
virtual const bool & | isLive () const |
| Get live or not. More...
|
|
virtual const Real & | getFraction () const |
| Get fraction of live voltage. More...
|
|
Electrode class for encapsulating the concept of an electrical conductor.
◆ Electrode()
Electrode::Electrode |
( |
const RefCountedPtr< BaseIF > & |
a_baseIF, |
|
|
const bool |
a_live, |
|
|
const Real |
a_voltageFraction = 1.0 |
|
) |
| |
Constructor.
- Parameters
-
[in] | a_baseIF | Implicit function for the electrode |
[in] | a_live | Live electrode or not |
[in] | a_voltageFraction | Fraction of live voltage (if live) |
- Note
- Calls the define function
◆ define()
void Electrode::define |
( |
const RefCountedPtr< BaseIF > & |
a_baseIF, |
|
|
const bool |
a_live, |
|
|
const Real |
a_voltageFraction = 1.0 |
|
) |
| |
|
virtual |
Define function.
- Parameters
-
[in] | a_baseIF | Implicit function for the electrode |
[in] | a_live | Live electrode or not |
[in] | a_voltageFraction | Fraction of live voltage (if live) |
◆ getFraction()
const Real & Electrode::getFraction |
( |
| ) |
const |
|
virtual |
Get fraction of live voltage.
- Returns
- m_voltageFraction
◆ getImplicitFunction()
const RefCountedPtr< BaseIF > & Electrode::getImplicitFunction |
( |
| ) |
const |
|
virtual |
Get implicit function.
- Returns
- Returns m_baseIF
◆ isLive()
const bool & Electrode::isLive |
( |
| ) |
const |
|
virtual |
Get live or not.
- Returns
- Returns m_isLive
The documentation for this class was generated from the following files: