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