TQGPCI
Fortran |
TQGPCI(INDEXP, INDEXC, NAME, IWSG, IWSE) |
|
---|---|---|
C-interface |
tq_gpci(TC_INT indexp,TC_INT* indexc,TC_STRING name,TC_INT* iwsg,TC_INT* iwse); |
|
Full name: |
Get Phase Constituent Index. |
|
Purpose: |
With this subroutine the application program can get the index of a constituent if its name is known. |
|
Comments: |
The opposite conversion is done by TQGPCN. |
|
Arguments |
||
Name |
Type |
Value set on call or returned |
INDEXP |
Integer |
Set to a phase index. |
INDEXC |
Integer |
Return the constituent index. |
NAME |
Character*24 |
Set to the constituent name. |
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.