functiongetGasIDXVector
Function getGasIDXVector(gasType, listOfSubstances) returns a vector with the the position of the gases of gastypes in the given listOfSubstances.
Information
Syntax
parameter Integer gasIDXVector = getGasIDXVector( gasType, listOfSubtances);
Description
The position of the gases of a gas mixture in the given listOfSubstances is returned as a vector.
The listOfSubstances you can find in TILMedia.Internals.GetIDXfromCAS.ListOfSubstances.
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| TILMedia.Gas.Types.BaseGas | gasType | ||
| TILMedia.Internals.GetIDXfromCAS.ListOfSubstances | listOfSubstances |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Integer[size(gasType.gasNames, 1)] | gasIDXVector |