Adaptive Interpolation Schemes
About Adaptive Interpolation Schemes
In order to perform a simulation using the scheme, the TQ-library must be initialized in the normal way using the routine TQINI and thermodynamic information must be loaded, usually with the TQRFIL routine.
The scheme is then initialized using the TQIPS_INIT_TOP routine and each branch in the calculation is initialized using the TQIPS_INIT_BRANCH routine. For each set of interpolated values which are to be defined and obtained from a certain branch of the scheme, the TQIPS_INIT_FUNCTION routine is called. The values for all functions defined in the branch are then returned using the TQIPS_GET_VALUE routine.
Purpose | Subroutine |
---|---|
Initiate the interpolation scheme |
|
Initiate a branch in the interpolation scheme |
|
Define a function or state variable to be interpolated |
|
Retrieve the interpolated value |
|
Write the data of the interpolation scheme to file. |
|
Read interpolation scheme data from file. |
|
Get statistics on the usage of the interpolation scheme. |