*registersolver()
Registers a solver for use in the Solver panel.
Syntax
*registersolver(solver,executable,strings,parameters)
Type
hm.cfg Commands
Description
Registers a solver for use in the Solver panel. This command creates a Solver panel with user input fields. A maximum of six fields are allowed per solver. The solver field can be of type value or file.
Inputs
- solver
- The name that should appear in the Solver panel.
- executable
- The name and path of the solver executable.
- strings
- A character string that is passed to the operating system to invoke the solver, after substituting the user-input parameters.
- parameters
- A character string that is of type file or value, depending on the expected input. Each character string represents an input field. The number of strings is identical to the substitutable fields in the strings argument. A maximum of six fields are allowed per solver.
Example
*registersolver(OPTISTRUCT, optistruct, "*solver *input.fem *memory in
MB > *output.out", "file:input", "value:memory in MB", "file:output")