TQSMNG

Fortran

TQSMNG(NGP, IWSG, IWSE)

C-interface

tq_smng(TC_INT ngp,TC_INT* iwsg,TC_INT* iwse);

Full name:

Set Maximum Number of Grid points for each phase.

Purpose:

To change the maximum number of grid points that can be used for each phase.

Comments:

The global minimization technique starts with discretizing the composition space and calculating Gibbs energy values at each grid point for each phase. To balance its efficiency and robustness, an appropriate density of grid points should be chosen. The default value of NGP is 2000.  In practice, the number of grid points generated during a normal calculation is much less than this value. However, under certain circumstances, one does need to increase the density of grid point for some phases in order to find a true stable equilibrium.

Arguments

Name

Type

Value set on call or returned

NGP

Integer

Number of grid points

IWSG

Integer array

Workspace

IWSE

Integer array

Workspace