3.4: TQNOSC

TOCGroup 2TQGNSCTQSTSCGroup 3A-ZGroup 2

GET-NUMBER-OF-SYSTEM-COMPONENTS

Use TQNOSC to get the total number of system components.

Synopsis

FORTRAN: CALL TQNOSC(NSCOM,NOERR)

C: tqnosc(&nscom,&noerr);

Pascal: tqnosc(nscom,noerr);

Basic: Call tqnosc(nscom,noerr)


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

NSCOM is normally used as an upper limit in loops over all system components. Note that NSCOM may be different from the total number of chemical elements in the system. It can be less when compounds are chosen as components, and greater when the system includes phase-internal electrons.

See also

TQINSC, TQGNSC, TQSTSC, TQCSC

Examples

See TQINSC


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