19 #ifndef GEOSX_LINEARALGEBRA_INTERFACES_PETSCSOLVER_HPP_ 20 #define GEOSX_LINEARALGEBRA_INTERFACES_PETSCSOLVER_HPP_ 63 DofManager const *
const dofManager =
nullptr );
This class creates and provides basic support for PETSc solvers.
void solve(PetscMatrix &mat, PetscVector &sol, PetscVector &rhs, DofManager const *const dofManager=nullptr)
Solve system with an iterative solver.
Set of parameters for a linear solver or preconditioner.
Results/stats of a linear solve.
The DoFManager is responsible for allocating global dofs, constructing sparsity patterns, and generally simplifying the interaction between PhysicsSolvers and linear algebra operations.
This class creates and provides basic support for Vec vector object type used in PETSc.
This class creates and provides basic support for the Mat matrix object type used in PETSc...
PetscSolver(LinearSolverParameters parameters)
Solver constructor, with parameter list reference.
virtual ~PetscSolver()=default
Virtual destructor.
LinearSolverResult const & result()
Get the result of previous solve.