OOF2: The Manual

Name

Basic (BasicSolverMode) — Let OOF2 choose many solution parameters.

Synopsis

BasicSolverMode(time_stepper,matrix_method)

Details

  • Base class: SolverMode
  • Parameters:

    time_stepper
    How to take time steps. Type: An object of the BasicStepDriver class.
    matrix_method
    How to solve matrix equations. Type: An object of the BasicMatrixMethod class.

Description

When the solver_mode argument to OOF.Subproblem.Set_Solver is BasicSolverMode, OOF2 makes all of the detailed decisions about the solution method. The user only has to choose whether the time stepper should be static, uniform, or adaptive, and whether the matrix method should be iterative or direct. The specific time stepping method, matrix method, and nonlinear solver, if required, are all selected automatically.

If the SubProblem is nonlinear, BasicSolverMode will use Newton's method, with relative_tolerance=10-5, absolute_tolerance=10-15, and maximum_iterations=200. The other details depend on settings of time_stepper and matrix_method.