3.19: TQNOLC

TOCGroup 2TQNOSLTQGSPGroup 3A-ZGroup 2

GET-NUMBER-OF-SUBLATTICE-CONSTITUENTS

Use TQNOLC to get the number of sublattice constituents for a specified sublattice.

Added for ChemApp version 3.3.1

Synopsis

FORTRAN: CALL TQNOLC(INDEXP,INDEXL,NSLCON,NOERR)

C: tqnolc(indexp,indexl,&nslcon,&noerr);

Pascal: tqnolc(indexp,indexl,nslcon,noerr);

Basic: Call tqnolc(indexp,indexl,nslcon,noerr)


Name Type Value set on call or returned
INDEXP INTEGER Set to the index number for a phase
INDEXL INTEGER Set to the index number for a sublattice
NSLCON INTEGER Returns the number of sublattice constituents
NOERR INTEGER Returns an error number

INDEXP has to be set to the index number of a solution phase, INDEXL to the index number of a sublattice in that phase. The number of sublattice constituents in that sublattice returned in NSLCON is normally used as upper limit in loops over all sublattices constituents of sublattice INDEXL in phase INDEXP. All solution phases are considered to be modelled with one or several sublattices.

See also

TQINLC, TQGNLC, TQNOSL, TQGTLC

Examples

See TQINLC, TQGNLC


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