V3FIT
|
Defines the base class of the type emission_class. This contains the X-Ray emission as function of temperature and energy. This needs to still be multiplied by ne^2. More...
Data Types | |
type | emission_class |
Base class representing the soft x-ray emission function. More... | |
interface | emission_construct |
Functions/Subroutines | |
type(emission_class) function, pointer | emission_construct_netcdf (filename) |
Construct a emission_class object. More... | |
subroutine | emission_destruct (this) |
Deconstruct a emission_class object. More... | |
real(rprec) function | emission_get_emission (this, te, ne, index) |
Gets the emission as a function of energy for a fixed temperature. More... | |
Defines the base class of the type emission_class. This contains the X-Ray emission as function of temperature and energy. This needs to still be multiplied by ne^2.
type (emission_class) function, pointer emission::emission_construct_netcdf | ( | character (len=*), intent(in) | filename | ) |
Construct a emission_class object.
Allocates memory and initialized a emission_class object from a netcdf file.
[in] | filename | File path to the emissivity netcdf file. |
Definition at line 84 of file emission.f.
subroutine emission::emission_destruct | ( | type (emission_class), pointer | this | ) |
Deconstruct a emission_class object.
Deallocates memory and uninitializes a emission_class object.
[in,out] | this | A emission_class instance. |
Definition at line 134 of file emission.f.
real (rprec) function emission::emission_get_emission | ( | type (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
[in] | this | A emission_class instance. |
[in] | te | The electron temperature. |
[in] | ne | The electron density. |
[in] | index | Filter index of the camera array. |
Definition at line 167 of file emission.f.