TQSCOM
Fortran |
TQSCOM(NCOM, NAMES, STOI, IWSG, IWSE) |
|
---|---|---|
C-interface |
tq_scom(TC_INT num,tc_components_strings* components,TC_FLOAT* stoi,TC_INT* iwsg,TC_INT* iwse); |
|
Full name: |
Set System Component. |
|
Purpose: |
A new set of system components can be defined. The new number of components must be the same as previously. The number of system components can be changed by suspending a component by TQCSSC. |
|
Comments: |
![]() For example, to transform from the components A, B, C to
|
|
Arguments |
||
Name |
Type |
Value set on call or returned |
NCOM |
Integer |
Set to the number of components. |
NAMES |
Character*24 array |
Set to component names. |
STOI |
Double precision matrix |
Stoichiometry matrix in old components. |
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.