TQX2Y

Fortran

TQX2Y(INDEXP, NE, NCNV, NC, IWORK, WORK, XF, YF, IWSG, IWSE)

C-interface

tq_x2y(TC_INT indexp,TC_INT ne,TC_INT ncnv,TC_INT nc,TC_INT* iwork,TC_FLOAT* work,TC_FLOAT* xf,TC_FLOAT* yf,TC_INT* iwsg,TC_INT* iwse);

Full name:

Get Y-fraction given X-fraction.

Purpose:

Converting mole fractions to site fractions in a phase without internal degree of freedom.

Comments:

This subroutine uses the phase constitution properties obtained by TQGPHP as input.

See Example 10.

Arguments

Name

Type

Value set on call or returned

INDEXP

Integer

Set to a phase index

NE

Integer

Set to number of components

NCNV

Integer

Set to number of constituents without counting vacancies

NC

Integer

Set to number of constituents

IWORK

Integer array

Set to values needed in X to Y conversion

WORK

Double precision array

Set to values needed in X to Y conversion

XF

Double precision array

Set to mole fractions

YF

Double precision array

Return site fractions

IWSG

Integer array

Workspace

IWSE

Integer array

Workspace