TQSGA
Fortran |
TQSGA (INDEXP, VALUE, IWSG, IWSE) |
|
---|---|---|
C-interface |
tq_gga(TC_INT indexp,TC_FLOAT value,TC_INT* iwsg,TC_INT* iwse); |
|
Full name: |
Set Gibbs energy addition. |
|
Purpose: |
Add an amount of extra contribution to the Gibbs energy of a phase |
|
Comments: |
The extra contribution may be due to elastic strain energy, surface energy, etc. |
|
Arguments |
||
Name |
Type |
Value set on call or returned |
INDEXP |
Integer |
Set to a phase index. |
VALUE |
Double precision |
Set to the value of extra contribution (J/(mol formula unit) |
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.