TQGDBN
Fortran |
TQGDBN(DB_ARR, N, IWSG, IWSE) |
|
---|---|---|
C-interface |
tq_gdbn(tc_databases_strings* databases,TC_INT* n,TC_INT* iwsg,TC_INT* iwse); |
|
Full name: |
Get Database Names and Number. |
|
Purpose: |
Get the names and total number of thermodynamic and kinetic databases listed in the database initiation file of Thermo‑Calc: |
|
Comments: |
IERR = 1001 is Failed to find the initiation file. |
|
Arguments |
||
Name |
Type |
Value set on call or returned |
DB_ARR |
Character*24 array |
Return database names. |
N |
Integer |
Return total number of databases available. |
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.