3.10: TQNOP

TOCGroup 2TQMODLTQINPCGroup 3A-ZGroup 2

GET-NUMBER-OF-PHASES

Use TQNOP to get the total number of phases.

Synopsis

FORTRAN: CALL TQNOP(NPHASE,NOERR)

C: tqnop(&nphase,&noerr);

Pascal: tqnop(nphase,noerr);

Basic: Call tqnop(nphase,noerr)


Name Type Value set on call or returned
NPHASE INTEGER Returns the total number of phases
NOERR INTEGER Returns an error number

NPHASE is normally used as upper limit in loops over all phases. A loop over all condensed phases would start from index number 2, since the index number 1 is reserved for the gas phase.

See also

TQINP, TQGNP, TQMODL

Examples

See TQINP


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