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);
121 ReturnCode reorder(
int nx=1,
int ny=1,
int nz=1);
125 bool use_initial_guess=
false);
126 ReturnCode solve(
const refine_t* b, refine_t* x,
127 bool use_initial_guess=
false);
128 ReturnCode solve(
int nrhs,
const refine_t* b,
int ldb,
129 refine_t* x,
int ldx,
130 bool use_initial_guess=
false);
134 bool use_initial_guess=
false);
135 ReturnCode solve(
const factor_t* b, factor_t* x,
136 bool use_initial_guess=
false);
137 ReturnCode solve(
int nrhs,
const factor_t* b,
int ldb,
138 factor_t* x,
int ldx,
139 bool use_initial_guess=
false);
144 SparseSolver<factor_t,integer_t>& solver() {
return solver_; }
145 const SparseSolver<factor_t,integer_t>& solver()
const {
return solver_; }
160 template<
typename factor_t,
typename refine_t,
typename integer_t>
161 using StrumpackSparseSolverMixedPrecision =
162 SparseSolverMixedPrecision<factor_t,refine_t,integer_t>;
Holds options for the sparse solver.
Class for storing a compressed sparse row matrix (single node).
Definition CSRMatrix.hpp:55
This class represents a matrix, stored in column major format, to allow direct use of BLAS/LAPACK rou...
Definition DenseMatrix.hpp:139
Options for the sparse solver.
Definition StrumpackOptions.hpp:217
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:151
SparseSolver is the main sequential or multithreaded sparse solver class.
Definition StrumpackSparseSolver.hpp:75
Definition StrumpackOptions.hpp:44
ReturnCode
Enumeration for the possible return codes.
Definition StrumpackParameters.hpp:50