TQSDMC
Fortran |
TQSDMC(INDEXP, IWSG, IWSE) |
|
---|---|---|
C-interface |
tq_sdmc(TC_INT indexp,TC_INT* iwsg,TC_INT* iwse); |
|
Full name: |
Set Default Major Constituents. |
|
Purpose: |
To set the major phase constituents to the default ones defined in the thermodynamic data file. |
|
Comments: |
Major constituents in a phase can be set in the Gibbs (GES) module of Thermo‑Calc and then saved into a thermodynamic data file for the use of this interface. |
|
Arguments |
||
Name |
Type |
Value set on call or returned |
INDEXP |
Integer |
Set as a phase index |
IWSG |
Integer array |
Workspace |
IWSE |
Integer array |
Workspace |

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.