Opm::LinearSolverFactory Class Reference
Inheritance diagram for Opm::LinearSolverFactory:
Detailed DescriptionConcrete class encapsulating any available linear solver. For the moment, this means UMFPACK and dune-istl. Since both are optional dependencies, either or both may be unavailable, depending on configuration. Constructor & Destructor Documentation
Default constructor.
Construct from parameters. The accepted parameters are (default) (allowed values): linsolver ("umfpack") ("umfpack", "istl", "petsc") For the umfpack solver to be available, this class must be compiled with UMFPACK support, as indicated by the variable HAVE_SUITESPARSE_UMFPACK_H in config.h. For the istl solver to be available, this class must be compiled with dune-istl support, as indicated by the variable HAVE_DUNE_ISTL in config.h. For the petsc solver to be available, this class must be compiled with petsc support, as indicated by the variable HAVE_PETSC in config.h. Any further parameters are passed on to the constructors of the actual solver used, see LinearSolverUmfpack, LinearSolverIstl and LinearSolverPetsc for details.
Destructor. Member Function Documentation
Get tolerance for the linear solver.
Implements Opm::LinearSolverInterface.
Set tolerance for the linear solver.
Implements Opm::LinearSolverInterface.
Solve a linear system, with a matrix given in compressed sparse row format.
Solve a linear system, with a matrix given in compressed sparse row format.
Implements Opm::LinearSolverInterface. The documentation for this class was generated from the following file: |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||