ogstools.ogs6py.linsolvers module#
- Copyright (c) 2012-2024, OpenGeoSys Community (http://www.opengeosys.org)
- Distributed under a Modified BSD License.
See accompanying file LICENSE or http://www.opengeosys.org/project/license
- class ogstools.ogs6py.linsolvers.LinSolvers[source]#
Bases:
BuildTree
Class for defining a linear solvers in the project file.”
- add_lin_solver(**args)[source]#
Adds a linear solver.
Parameters#
- namestr
linear solver name
- kindstr
one of petsc, eigen or lis
- solver_typestr
Eigen solver type
- precon_typestr, optional
Eigen preconditioner type
- max_iteration_stepint, optional
max. iteration step
- scalingstr, optional
scaling of diagonal
- error_tolerancefloat
error tolerance
- prefixstr, optional
prefix for petsc solver
- parametersstr
petsc parameter configuration
- lisstr for lis only
lis parameter configuration