TQGCCF

Fortran

TQGCCF(INDEXC, NEL, ELNAM, STOI, MMASS, IWSG, IWSE)

C-interface

tq_gccf(TC_INT indexc,TC_INT* nel,tc_elements_strings* elname,TC_FLOAT* stoi,TC_FLOAT* mmass,TC_INT* iwsg, TC_INT* iwse);

Full name:

Get Component Chemical Formula.

Purpose:

Get the stoichiometry array for a system component in terms of element.

Comments:

Obtain the real elements in a component. All other subroutines just deal with a name that does not have to be related to the actual chemical formula. This is also the only subroutine that can provide the symbols of the actual elements in the system.

The dimension of ELNAM and STOI is NEL (number of elements in the component).

Arguments

Name

Type

Value set on call or returned

INDEXC

Integer

Set to system a component index.

NEL

Integer

Number of elements in chemical formula.

ELNAM

Character*2 array

Element symbols.

STOI

Double precision array

Stoichiometry array.

MMASS

Double precision

Total mass.

IWSG

Integer array

Workspace

IWSE

Integer array

Workspace