::hwat::utils::SetSolver

Sets the global SOLVER variable and sources the solver specific files. If the solver name passed is the same as the SOLVER variable, the files are not sourced.

Syntax

::hwat::utils::SetSolver [solverName]

Arguments

solverName
The name of the solver, such as LS-DYNA, Radioss, MADYMO.
Default = ""

Returns

Success
The current solver name.
Failure
{}

Example

::hwat::utils::SetSolver dyna.

Comments

If no solver name is given the function returns the current value of the SOLVER variable.