|
chombo-discharge
|
Encapsulation of radiative transfer species for usage with CdrPlasmaJSON. More...
#include <CD_RteSpeciesJSON.H>


Public Types | |
| using | KappaFunction = std::function< Real(const RealVect a_pos)> |
| Alias for absorption length function. | |
Public Member Functions | |
| RteSpeciesJSON ()=default | |
| Default constructor. Must subsequently call define. | |
| RteSpeciesJSON (const std::string &a_name, const KappaFunction &a_kappaFunction) | |
| Full constructor. Calls the define function. | |
| RteSpeciesJSON (const RteSpeciesJSON &a_other)=delete | |
| Disallowed constructor. | |
| RteSpeciesJSON (const RteSpeciesJSON &&a_other)=delete | |
| Disallowed move constructor. | |
| RteSpeciesJSON & | operator= (const RteSpeciesJSON &a_other)=delete |
| Disallowed copy assignment. | |
| RteSpeciesJSON & | operator= (const RteSpeciesJSON &&a_other)=delete |
| Disallowed move assignment. | |
| virtual | ~RteSpeciesJSON () |
| Destructor. | |
| void | define (const std::string &a_name, const KappaFunction &a_kappaFunction) |
| Define function. | |
| Real | getAbsorptionCoefficient (const RealVect a_pos) const override final |
| Initial data function. | |
Public Member Functions inherited from RtSpecies | |
| 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 | getScatteringCoefficient (const RealVect a_pos) const |
| Get scattering coefficient (i.e. the inverse scattering length) at physical coordinates. | |
Protected Attributes | |
| bool | m_isDefined |
| Is defined or not. | |
| KappaFunction | m_absorptionFunction |
| Absorption coefficient function. | |
Protected Attributes inherited from RtSpecies | |
| std::string | m_name |
| Group name. | |
Encapsulation of radiative transfer species for usage with CdrPlasmaJSON.
Alias for absorption length function.
Users must provide this in order to set the absorption coefficient (i.e., kappa) for the radiative transfer equation.
| RteSpeciesJSON::RteSpeciesJSON | ( | const std::string & | a_name, |
| const KappaFunction & | a_kappaFunction | ||
| ) |
Full constructor. Calls the define function.
| [in] | a_name | Species name |
| [in] | a_kappaFunction | Initial data function |
|
delete |
Disallowed constructor.
| [in] | a_other | Other species |
|
delete |
Disallowed move constructor.
| [in] | a_other | Other species |
| void RteSpeciesJSON::define | ( | const std::string & | a_name, |
| const KappaFunction & | a_kappaFunction | ||
| ) |
Define function.
| [in] | a_name | Species name |
| [in] | a_kappaFunction | Function for setting absorption coefficient |
Initial data function.
| [in] | a_pos | Physical coordinates |
| [in] | a_time | Time |
Implements RtSpecies.
|
delete |
Disallowed move assignment.
| [in] | a_other | Other species |
|
delete |
Disallowed copy assignment.
| [in] | a_other | Other species |