pkGetReacCoef
The subroutine pkGetReacCoef
returns the value of a given reaction coefficient property. If Value
is an array, a list of values is returned.
pkGetReacCoef( Property, Value, KReac[, STAT] )
Name | Description | Data type and attributes |
---|---|---|
Property | Case sensitive name of property | CHARACTER(len=*), INTENT(IN) |
{Value | Value(:) | Value(:,:)} | Value(s) of property | {CHARACTER(20) | INTEGER | LOGICAL | REAL(double)} , INTENT(OUT) |
KReacN | Index of reaction inquired about if Value is a scalar or
starting index of reaction if Value is an array | INTEGER, INTENT(IN) |
STAT | Execution status indicator | INTEGER, OPTIONAL, INTENT(OUT) |
The dummy argument Value
returns the value of the property
inquired about and can be a scalar, a one- or a two-dimensional array. A two-dimensional
array is only used to inquire about the name of the species involved in a reaction as
reactants
or products
.
If the dummy argument Value
is a scalar, the result is the
value of the property for species KReacN
. If Value
is a
one-dimensional array, the returned values are the property values from consecutive
SIZE(
species, starting in species
Value
, DIM=1)KReacN
. If Value
is a two-dimensional array, for each reaction
inquired about, the returned values are SIZE(
first names of the species involved in the reaction as Value
, DIM=2)reactants
or products
. If SIZE(
>
Value
, DIM=2)NMaxReacSpc
, the values with index higher than NMaxReacSpc
are returned as empty.
STAT
= 0: no errors; STAT
= n: error number.