OGS
[tag] parameters

Sets PETSc options from the given parameter string.

The default value is "-ksp_type cg -pc_type bjacobi -ksp_rtol 1e-16 -ksp_max_it 10000"

Attention
PETSc can also receive options from the command line arguments. However, the values from the project file are applied directly to the linear solver. If specifying both, make sure that you check which options take precedence.

Additional info

From MathLib/LinAlg/PETSc/LinearSolverOptionsParser.cpp line 36

  • This is an optional parameter.
  • Data type: std::string
  • Expanded tag path: linear_solvers.linear_solver.petsc.parameters
  • Go to source code: → ogs/ogs/master

Used in the following test data files