3.18: TQNOSL

TOCGroup 2TQGNLCTQNOLCGroup 3A-ZGroup 2

GET-NUMBER-OF-SUBLATTICES

Use TQNOSL to get the number of sublattices for a specified phase.

Added for ChemApp version 3.3.1

Synopsis

FORTRAN: CALL TQNOSL(INDEXP,NSUBL,NOERR)

C: tqnosl(indexp,&nsubl,&noerr);

Pascal: tqnosl(indexp,nsubl,noerr);

Basic: Call tqnosl(indexp,nsubl,noerr)


Name Type Value set on call or returned
INDEXP INTEGER Set to the index number for a phase
NSUBL INTEGER Returns the number of sublattices
NOERR INTEGER Returns an error number

While all solution models are considered to be modelled with one or more sublattices, INDEXP is normally set to the index number of a phase modelled according to a sublattice formalism (see TQMODL). The number of sublattices in this phase returned in NSUBL is normally used as upper limit in loops over all sublattices of phase INDEXP.

See also

TQINLC, TQGNLC, TQNOLC, TQGTLC

Examples

See TQINLC, TQGNLC


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