Integer array with dimension
KTable is a translation table to map the internal PLASMAKIN reaction
indices to the corresponding reaction indices in the input file.
When the input file is read, the reactions are classified and sorted
to speed up further operations. However, interpretation of several results
depends on their relationship to the input file reaction order. The array
KTable holds this information. A typical use of the array
is in write instructions as in the example below.
KTable to control
the order of variable printing.
REAL(8), ALLOCATABLE :: KRate(:) ... ALLOCATE( KRate(NKReac) ) ... CALL pkGetReacCoef( 'value', KRate(:), 1 ) print *, KRate(:) print *, KRate( KTable(:) )
KRateholds the values of the reaction rate coefficients sorted by PLASMAKIN.