TQGNP

Fortran

TQGNP (NPH, IWSG, IWSE)

C-interface

tq_gnp(TC_INT* nph,TC_INT* iwsg,TC_INT* iwse);

Full name:

Get Number of Phases.

Purpose:

The application gets the numbers of phases.

Comments:

The phases may have any status. They are numbered sequentially from 1 to NPH. Phases with miscibility gap and thus having more than one composition set are counted separately.

Arguments

Name

Type

Value set on call or returned

NPH

Integer

Return the number of phases.

IWSG

Integer array

Workspace

IWSE

Integer array

Workspace