Declaration of a class that defines an interface to radiative transfer solvers, i.e. RtSolver.
More...
#include <CD_RtSpecies.H>
|
|
| RtSpecies () |
| | Weak constructor. Sets absorption length and scattering coefficients to one.
|
| |
|
virtual | ~RtSpecies () |
| | Weak constructor. Sets absorption length and scattering coefficients to one.
|
| |
| std::string | getName () const |
| | Get species name.
|
| |
| virtual Real | getAbsorptionCoefficient (const RealVect &a_pos) const =0 |
| | Get kappa (i.e. the inverse absorption length) at physical coordinates.
|
| |
| virtual Real | getScatteringCoefficient (const RealVect &a_pos) const |
| | Get scattering coefficient (i.e. the inverse scattering length) at physical coordinates.
|
| |
|
|
std::string | m_name |
| | Group name.
|
| |
Declaration of a class that defines an interface to radiative transfer solvers, i.e. RtSolver.
This is a lightweight class - it just holds a name for the species as well as a function signature for obtaining the absorption and scattering coefficients. Note that this species supports spatially varying absorption and scattering coefficients.
◆ getAbsorptionCoefficient()
| virtual Real RtSpecies::getAbsorptionCoefficient |
( |
const RealVect & |
a_pos | ) |
const |
|
pure virtual |
◆ getName()
| std::string RtSpecies::getName |
( |
| ) |
const |
Get species name.
- Returns
- Name
◆ getScatteringCoefficient()
| Real RtSpecies::getScatteringCoefficient |
( |
const RealVect & |
a_pos | ) |
const |
|
virtual |
Get scattering coefficient (i.e. the inverse scattering length) at physical coordinates.
- Parameters
-
| [in] | a_pos | Physical coordinates. |
- Note
- This is not used anywhere (yet).
- Returns
- Scattering coefficient
The documentation for this class was generated from the following files: