Module for calculating fits for rate coefficients k_iz, k_rec and cooling rate coefficients w_iz, p_rec
Class for rate coefficients (ionization & recombination)
| procedure , public :: create => create_rate_coeff Subroutine | |
| procedure , public :: eval => eval_rate_coeff Function |
Evaluate the normalized rate coefficient from a double polynomial fit
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(rate_coeff_neutrals_t), | intent(in) | :: | self |
Instance of class |
||
| real(kind=GP), | intent(in) | :: | te_in |
Electron temperature |
||
| real(kind=GP), | intent(in) | :: | ne_in |
Plasma density |
Returns double polynomial of degree 8x8, with coefficients pc(x,y), evaluated at x and y.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=GP), | intent(in), | dimension(0:8,0:8) | :: | pc |
polynomial coefficients |
|
| real(kind=GP), | intent(in) | :: | x |
input variables |
||
| real(kind=GP), | intent(in) | :: | y |
input variables |
Returns polynomial of degree 8, with coefficients pc(0:8), evaluated at x.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=GP), | intent(in), | dimension(0:8) | :: | pc |
polynomial coefficients |
|
| real(kind=GP), | intent(in) | :: | x |
input variable |
Create rate coefficient object with fit coefficients taken from data file
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(rate_coeff_neutrals_t), | intent(inout) | :: | self |
Instance of class |
||
| character(len=*), | intent(in) | :: | file_name |
Name of atomic data file to read coefficients from |
||
| real(kind=GP), | intent(in) | :: | ne_ref |
Reference for electron density |
||
| real(kind=GP), | intent(in) | :: | te_ref |
Reference for electron temperature |
||
| real(kind=GP), | intent(in) | :: | k_ref |
Reference for rate coefficient |