OOF2: The Manual

Name

OOF.Subproblem.Set_Solver — Specify the solution method for a subproblem.

Synopsis

OOF.Subproblem.Set_Solver(subproblem,solver_mode)

Details

  • Parent Menu: OOF.Subproblem
  • Callback: function setSolver in module ooflib.engine.IO.subproblemmenu
  • Parameters:

    subproblem
    Type: The path to an existing SubProblem object.
    solver_mode
    Various ways to set time-stepping parameters. Type: An object of the SolverMode class.

Description

Assign a solver to the given SubProblem. If the SubProblem already has a solver, it will be replaced. To remove the solver from a SubProblem, use OOF.Subproblem.Remove_Solver.

The argument to Set_Solver is either a BasicSolverMode or an AdvancedSolverMode object. The arguments to those objects specify the actual time stepping and matrix methods and their parameters, in minimal detail for BasicSolverMode and in full detail in AdvancedSolverMode.

In the GUI, this command is invoked by the Set button in the Solver pane of the Solver page.