TQINI3

Fortran

TQINI3(DATABASE_PATH, TEMP_PATH, NWSG, NWSE, IWSG, IWSE)

C-interface

tq_ini3(TC_STRING database_path, TC_STRING temp_path, TC_INT nwsg, TC_INT nwse, TC_INT* iwsg, TC_INT* iwse);

Full name:

Initialize TQ-Interface with user-specified database and temporary directories. If a GES file is used (i.e. no databases are opened) the directories can be empty strings.

Purpose:

The application program initializes the Thermo‑Calc package for thermodynamic calculations. This or TQINI must be called before using any other subroutines in the TQ-Interface.

Arguments

Name

Type

Value set on call or returned

database_path

Character*256

Path to the directory holding the data directory, which in turn contains the databases.

See the examples collection for a default value for this parameter.

temp_path

Character*256

Path to the directory for temporary and log file output. This directory has to be writable by the user who runs the application.

See the examples collection for a default value for this parameter.

NWSG

Integer

Set to size of the workspace IWSG.

NWSE

Integer

Set to size of the workspace IWSE.

IWSG

Integer array

Memory area for storage of data inside the package.

IWSE

Integer array

Memory area for storage of data inside the package.