TQROINIT
Fortran |
TQROINIT(NWSR, IWSR, IWSG, IWSE) |
|
---|---|---|
C-interface |
tq_roinit( TC_INT nwsr, TC_INT* iwsr,TC_INT* iwsg, TC_INT* iwse); |
|
Full name: |
Initialize IWSR workspace for reordering of CS in TQ. |
|
Purpose: |
With this subroutine the application program initializes the Thermo‑Calc package for use of the reordering subroutines. It must be called before using any of the subroutines TQSETRX, TQORDER, TQLROX. |
|
Comments: |
NWSR=1000 should be enough for several composition sets |
|
Arguments |
||
Name |
Type |
Value set on call or returned |
NWSR |
Integer |
On call set to size of the workspace IWSR. |
IWSR |
Integer array |
Memory area for storage of data inside the package. |
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.