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

TypeNameDefaultDescription
TILMedia.Gas.Types.BaseGasgasType
TILMedia.Internals.GetIDXfromCAS.ListOfSubstanceslistOfSubstances

Outputs

TypeNameDefaultDescription
Integer[size(gasType.gasNames, 1)]gasIDXVector