Stellarator-Tools
Loading...
Searching...
No Matches
emission::emission_class Type Reference

Base class representing the soft x-ray emission function. More...

Public Member Functions

procedure get_emission (this, te, ne, index)
 Gets the emission as a function of energy for a fixed temperature.
 
FINAL emission_destruct (this)
 Deconstruct a emission_class object.
 

Public Attributes

real(rprec) te_start = 0.0
 Initial temperature.
 
real(rprec) te_step = 0.0
 Temperature step.
 
real(rprec), dimension(:,:), pointer emissivity => null()
 X-Ray Emission function.
 

Detailed Description

Base class representing the soft x-ray emission function.

Member Function/Subroutine Documentation

◆ emission_destruct()

FINAL emission::emission_class::emission_destruct ( type (emission_class), intent(inout)  this)
final

Deconstruct a emission_class object.

Deallocates memory and uninitializes a emission_class object.

Parameters
[in,out]thisA emission_class instance.

◆ get_emission()

procedure emission::emission_class::get_emission ( class (emission_class), intent(in)  this,
real (rprec), intent(in)  te,
real (rprec), intent(in)  ne,
integer, intent(in)  index 
)

Gets the emission as a function of energy for a fixed temperature.

The emission for a fixed temperature is interpolated from a the temperature grid points. The emission array columns are the temperature and rows are the energy. Transmission and absorption function convert to the signal

Parameters
[in]thisA emission_class instance.
[in]teThe electron temperature.
[in]neThe electron density.
[in]indexFilter index of the camera array.
Returns
The emissivity function for a fixed temperature.

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