::hwat::solver::ChangeFormulation

Changes the formulation for displayed components to the desired value if required.

Syntax

::hwat::solver::ChangeFormulation str_newForm {str_OldForm}

Arguments

str_newForm
Desired formulation.
str_oldForm
If this argument is provided, then the components having this formulation will be changed to the new formulation and all others will be left as they are.
Optional.

Returns

Success
The number of components changed.
Failure
{}

Example

::hwat::solver::ChangeFormulation $NewFormulation
::hwat::solver::ChangeFormulation $NewFormulation $OldFormulation

Comments

If the components are already in the new formulation specifed, then no change is made.

This function only operates on the displayed elements. Elements not on the display will not be modified.