4.2: TQREMC

TOCGroup 4TQSETCTQSTTPGroup 5A-ZGroup 4

REMOVE-EQUILIBRIUM-CONDITION

Use TQREMC to remove a condition for the equilibrium calculation.

Synopsis

FORTRAN: CALL TQREMC(NUMCON,NOERR)

C: tqremc(numcon,&noerr);

Pascal: tqremc(numcon,noerr);

Basic: Call tqremc(numcon,noerr)


Name Type Value set on call or returned
NUMCON INTEGER Set the number for the condition
NOERR INTEGER Returns an error number

Replace NUMCON with the name of the variable that was used for setting the condition (TQSETC) to be removed. TQREMC is needed only for the case when a condition with respect to an incoming amount, chemical potential, or relative activity (see Table 13) is to be removed. Otherwise, input conditions can be replaced by using another call to TQSETC, TQCE, or TQMAP (see Chapter 5).

Three special cases for the removal of conditions are provided, which are also accessed through the value of NUMCON passed to TQREMC:

0
Using a zero value for NUMCON removes all input conditions relating to incoming amounts, but no other conditions (e.g. temperature), and no targets.

-1
A value of -1 removes all conditions and targets, plus it resets the system units to their default values.

-2
A value of -2 does the same as the above, except that it does not reset the system units to their default values (new as of version 3.0.0).

See also

TQSETC, TQINI

Examples

See TQSETC


ChemApp Programmer's Manual, Edition 3.6© GTT-Technologies, 2003