2.1: TQINI

TOCGroup 1TQERRTQCPRTGroup 2A-ZGroup 1

INITIALISE-INTERFACE

Use TQINI to initialise ChemApp.

Synopsis

FORTRAN: CALL TQINI(NOERR)

C: tqini(&noerr);

Pascal: tqini(noerr);

Basic: Call tqini(noerr)


Name Type Value set on call or returned
NOERR INTEGER Returns an error number

TQINI must be called before any other ChemApp subroutine, or whenever you wish to reinstate the complete set of default values and units (see Table 4), and read a thermodynamic data-file.

See also

TQREMC

Examples

FORTRAN:View plain source code



C The shortest possible (but very useless) ChemApp program PROGRAM CAF1 IMPLICIT NONE
INTEGER NOERR
C Initialise ChemApp CALL TQINI(NOERR)
END

C:View plain source code



/* Program cac1 */ /* The shortest possible (but very useless) ChemApp program */
#include "cacint.h"
int main() { LI noerr;
/* Initialise ChemApp */ tqini(&noerr);
return 0;
}


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