TQNSEG
Fortran |
TQNSEG(ID, IWSG, IWSE) |
|
---|---|---|
C-interface |
tq_nseg(TC_STRING id, TC_INT* iwsg,TC_INT* iwse); |
|
Full name: |
New Equilibrium Segment. |
|
Purpose: |
With this subroutine the application program can create a new equilibrium description with the same thermodynamic data. This subroutine is useful when simulating several equilibria representing local conditions, for example, in the reactor simulator. |
|
Comments: |
TQNSEG does not read any thermodynamic file. This must have already been done with TQRFIL. Note that when several segments are used, an equilibrium should be computed when a segment is selected before any data is retrieved. |
|
Arguments |
||
Name |
Type |
Value set on call or returned |
ID |
Character*24 |
Set as identifier of the equilibrium segment. |
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.