TQSETRX
Fortran |
TQSETRX(PHASE, X, IWSR, IWSG, IWSE) |
|
---|---|---|
C-interface |
tq_setrx(TC_STRING phase, TC_FLOAT* x, TC_INT* iwsr, TC_INT* iwsg, TC_INT* iwse); |
|
Full name: |
Set ideal composition in this phase |
|
Purpose: |
Store composition of phase in IWSR for future use. |
|
Comments: |
The order in the X array is the order of the components in the system |
|
Arguments |
||
Name |
Type |
Value set on call or returned |
Phase |
Character*24 |
Phase name (e.g. 'fcc#2') |
X |
Double precision array |
On call set to the ideal composition in this composition set in this phase. |
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.