KTable
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 KTable
is in write instructions as in the example below.
Example E-1. KTable
: Using 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(:) )
![]()
KRate
holds the values of the reaction rate
coefficients sorted by PLASMAKIN.