3.19: TQNOLC | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
TOC | Group 2 | TQNOSL | TQGSP | Group 3 | A-Z | Group 2 |
Use TQNOLC to get the number of sublattice constituents for a specified sublattice.
Added for ChemApp version 3.3.1
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.
TQINLC, TQGNLC, TQNOSL, TQGTLC
ChemApp Programmer's Manual, Edition 3.6 | © GTT-Technologies, 2003 |