chombo-discharge
Public Member Functions | Protected Attributes | List of all members
Physics::ItoKMC::ItoKMCPhotonSpecies Class Reference

Simple RtSpecies class for usage with ItoKMCJSON. More...

#include <CD_ItoKMCPhotonSpecies.H>

Inheritance diagram for Physics::ItoKMC::ItoKMCPhotonSpecies:
Inheritance graph
[legend]
Collaboration diagram for Physics::ItoKMC::ItoKMCPhotonSpecies:
Collaboration graph
[legend]

Public Member Functions

 ItoKMCPhotonSpecies (const std::string a_name, const std::function< Real(const RealVect &a_pos)> &a_kappaFunction)
 Full constructor. More...
 
virtual ~ItoKMCPhotonSpecies () noexcept
 Destructor. Does nothing.
 
Real getAbsorptionCoefficient (const RealVect a_pos) const override final
 Initial data.
 
- 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. More...
 

Protected Attributes

std::function< Real(const RealVect &a_position)> m_kappa
 Absorption function.
 
- Protected Attributes inherited from RtSpecies
std::string m_name
 Group name.
 

Detailed Description

Simple RtSpecies class for usage with ItoKMCJSON.

Constructor & Destructor Documentation

◆ ItoKMCPhotonSpecies()

Physics::ItoKMC::ItoKMCPhotonSpecies::ItoKMCPhotonSpecies ( const std::string  a_name,
const std::function< Real(const RealVect &a_pos)> &  a_kappaFunction 
)
inline

Full constructor.

Parameters
[in]a_nameName of the species
[in]a_kappaFunctionAbsorption function

The documentation for this class was generated from the following file: