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 commandline arguments. However, the values from the prj 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/PETScLinearSolver.cpp line 43
- 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