TQGPCS

Fortran

TQGPCS (INDEXP, INDEXC, STOI, MMASS, IWSG, IWSE)

C-interface

tq_gpcs(TC_INT indexp,TC_INT indexc,TC_FLOAT* stoi,TC_FLOAT* mmass,TC_INT* iwsg,TC_INT* iwse);

Full name:

Get Phase Constituent Stoichiometry.

Purpose:

With this subroutine the application program can obtain the stoichiometry of a constituent expressed in the system components and also the molecular mass.

Comments:

This does not give the chemical formula in terms of elements for the constituent. The dimension of STOI is NCOM (number of components) get by calling TQGCOM.

Arguments

Name

Type

Value set on call or returned

INDEXP

Integer

Set to a phase index.

INDEXC

Integer

Set to the constituent index.

STOI

Double precision array

Return the stoichiometry array.

MMASS

Double precision

Return the mass.

IWSG

Integer array

Workspace

IWSE

Integer array

Workspace