TQIPS_INIT_FUNCTION
Fortran |
TQIPS_INIT_FUNCTION(STRING, IBRANCH, IERR, IWSG, IWSE) |
|
---|---|---|
C-interface |
tq_ips_init_function(TC_STRING function_string, TC_INT branch_nr, TC_INT* err, TC_INT* iwsg, TC_INT* iwse); |
|
Full name: |
Initiates a function for a specific branch whose value(s) are to be retrieved from the adaptive interpolation scheme. |
|
Purpose: |
Initiates a function or state variable for a specific branch whose value(s) are to be retrieved from the adaptive interpolation scheme. |
|
Arguments |
||
Name |
Type |
Value set on call or returned |
STRING |
Character*128 |
Set to the name of the function or state variable to be interpolated, wildcards (*) may be used in place of element and/or phase names. |
IBRANCH |
Integer |
Set to branch number for which the variable in STRING is to be interpolated. |
IERR |
Integer |
Returns the error code. |
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.