TQINI
Fortran |
TQINI(NWSG, NWSE, IWSG, IWSE) |
|
---|---|---|
C-interface |
tq_ini(TC_INT nwsg, TC_INT nwse,TC_INT* iwsg,TC_INT* iwse); |
|
Full name: |
Initialize TQ Interface. |
|
Purpose: |
With this subroutine the application program initializes the Thermo‑Calc package for thermodynamic calculations. This or TQINI3 must be called before using any other subroutines in the TQ-Interface. |
|
Arguments |
||
Name |
Type |
Value set on call or returned |
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. |

Note the following conventions to distinguish between the programming languages.
- Routines starting with TQXXX, for example, TQGDAT, are in the Fortran interface
- Routines starting with tq_xxxx, for example tq_gdat, are in the C-interface.
- In Fortran, all routines are subroutines and do not return any values except where explicitly declared as functions.
- All the C procedures are declared as void and do not return any values except where explicitly otherwise declared.
An example of how to read the subroutine definitions.