TQORDER
Fortran |
TQORDER(IWSR, IWSG, IWSE) |
|
---|---|---|
C-interface |
tq_order(TC_INT* iwsr, TC_INT* iwsg,TC_INT* iwse); |
|
Full name: |
Reorder CS in current EQ |
|
Purpose: |
The ideal composition set by the user is used to reorder the CS in respective phase to minimize the distance compared to present eq. |
|
Comments: |
Calling routines more than once in a row should affect nothing. Routines minimize the distance between the set ideal composition and the composition found in the present equilibria, and reorder the CS in the equilibria to achieve the minima. This does not affect the properties of the equilibria. |
|
Arguments |
||
Name |
Type |
Value set on call or returned |
IWSR |
Integer array |
Workspace |
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.