TQGMOB

Fortran

TQGMOB(INDEXP, ISP, VAL, IWSG, IWSE)

C-interface

tq_gmob(TC_INT indexp,TC_INT isp,TC_FLOAT* val,TC_INT* iwsg,TC_INT* iwse);

Full name:

Get Mobility

Purpose:

Getting mobility of a species in a phase with the temperature, pressure, and site fractions given by other subroutines shown.

Comments:

Remember this subroutine requires no action of setting condition and calculating equilibrium. It is for getting the atomic or species mobility in a single phase with given temperature, pressure and atomic arrangements no matter if the phase is stable, metastable, or unstable in competition with other phases. The application program should take care of the phase stability or phase equilibrium if it is of interest.

The use of this subroutine is demonstrated in Example 9.

Arguments

Name

Type

Value set on call or returned

INDEXP

Integer

Set to a phase index.

ISP

Integer

Set to a system species index

VAL

Double precision

Return species or atomic mobility value.

IWSG

Integer array

Workspace

IWSE

Integer array

Workspace