TQORDER

Fortran

TQORDER(IWSR, IWSG, IWSE)

C-interface

tq_order(TC_INT* iwsr, TC_INT* iwsg,TC_INT* iwse);

Full name:

Reorder CS in current EQ

Purpose:

The ideal composition set by the user is used to reorder the CS in respective phase to minimize the distance compared to present eq.

Comments:

Calling routines more than once in a row should affect nothing. Routines minimize the distance between the set ideal composition and the composition found in the present equilibria, and reorder the CS in the equilibria to achieve the minima. This does not affect the properties of the equilibria.

Arguments

Name

Type

Value set on call or returned

IWSR

Integer array

Workspace

IWSG

Integer array

Workspace

IWSE

Integer array

Workspace