3.16: TQINLC

TOCGroup 2TQSTPCTQGNLCGroup 3A-ZGroup 2

GET-INDEX-NUMBER-OF-SUBLATTICE-CONSTITUENT

Use TQINLC to get the index number of a specified sublattice constituent.

Added for ChemApp version 3.3.1

Synopsis

FORTRAN: CALL TQINLC(NAME,INDEXP,INDEXL,INDEXC,NOERR)

C: tqinlc(name,indexp,indexl,&indexc,&noerr);

Pascal: tqinlc(name,indexp,indexl,indexc,noerr);

Basic: Call tqinlc(name,indexp,indexl,indexc,noerr)


Name Type Value set on call or returned
NAME CHARACTER Set to a sublattice constituent name
INDEXP INTEGER Set to the index number for a phase
INDEXL INTEGER Set to the index number for a sublattice
INDEXC INTEGER Returns the index number of the sublattice constituent
NOERR INTEGER Returns an error number

The input variable NAME is permitted to have a maximum length of 24 characters. INDEXL has to be set to the index number of the sublattice in the phase INDEXP of which NAME is a constituent. The returned value for INDEXC is normally used as input to other ChemApp subroutines and stays the same throughout an application, or until a different thermochemical data-file is loaded. All solution phases are considered to be modelled with one or several sublattices. For phases with one sublattice, the subroutines TQINLC and TQINPC are equivalent.

See also

TQGNLC, TQNOSL, TQNOLC, TQGTLC

Examples

See TQGNLC


ChemApp Programmer's Manual, Edition 3.6© GTT-Technologies, 2003