33 #ifndef SPARSE_SOLVER_MIXED_PRECISION_HPP
34 #define SPARSE_SOLVER_MIXED_PRECISION_HPP
41 #include "iterative/IterativeSolvers.hpp"
43 #include "StrumpackSparseSolver.hpp"
84 template<
typename factor_t,
typename refine_t,
typename integer_t>
104 bool verbose=
true,
bool root=
true);
115 ReturnCode reorder(
int nx=1,
int ny=1,
int nz=1);
119 bool use_initial_guess=
false);
120 ReturnCode solve(
const refine_t* b, refine_t* x,
121 bool use_initial_guess=
false);
125 bool use_initial_guess=
false);
126 ReturnCode solve(
const factor_t* b, factor_t* x,
127 bool use_initial_guess=
false);
132 SparseSolver<factor_t,integer_t>& solver() {
return solver_; }
133 const SparseSolver<factor_t,integer_t>& solver()
const {
return solver_; }
148 template<
typename factor_t,
typename refine_t,
typename integer_t>
149 using StrumpackSparseSolverMixedPrecision =
150 SparseSolverMixedPrecision<factor_t,refine_t,integer_t>;
Holds options for the sparse solver.
This class represents a matrix, stored in column major format, to allow direct use of BLAS/LAPACK rou...
Definition: DenseMatrix.hpp:138
SparseSolverMixedPrecision Allows to use lower precision (float) for the factorization/preconditioner...
Definition: StrumpackSparseSolverMixedPrecision.hpp:85
SparseSolverMixedPrecision(int argc, char *argv[], bool verbose=true, bool root=true)
~SparseSolverMixedPrecision()
SparseSolverMixedPrecision(bool verbose=true, bool root=true)
int Krylov_iterations() const
Definition: StrumpackSparseSolverMixedPrecision.hpp:139
Definition: StrumpackOptions.hpp:42
ReturnCode
Enumeration for the possible return codes.
Definition: StrumpackParameters.hpp:60