16#ifndef dealii_sundials_sunlinsol_wrapper_h
17#define dealii_sundials_sunlinsol_wrapper_h
21#ifdef DEAL_II_WITH_SUNDIALS
23# include <sundials/sundials_linearsolver.h>
37 template <
typename VectorType>
38 struct LinearSolverContent;
45 template <
typename VectorType>
52 vmult(VectorType &dst,
const VectorType &src)
const;
54# if DEAL_II_SUNDIALS_VERSION_GTE(6, 0, 0)
81# if DEAL_II_SUNDIALS_VERSION_GTE(6, 0, 0)
108 template <
typename VectorType>
119 vmult(VectorType &dst,
const VectorType &src)
const;
121# if DEAL_II_SUNDIALS_VERSION_GTE(6, 0, 0)
161# if DEAL_II_SUNDIALS_VERSION_GTE(6, 0, 0)
213 template <
typename VectorType>
229 template <
typename VectorType>
235 std::exception_ptr &pending_exception
251 std::unique_ptr<LinearSolverContent<VectorType>>
content;
std::unique_ptr< LinearSolverContent< VectorType > > content
SUNLinearSolver sun_linear_solver
#define DEAL_II_NAMESPACE_OPEN
#define DEAL_II_SUNDIALS_VERSION_GTE(major, minor, patch)
#define DEAL_II_NAMESPACE_CLOSE
std::function< void(SundialsOperator< VectorType > &op, SundialsPreconditioner< VectorType > &prec, VectorType &x, const VectorType &b, double tol)> LinearSolveFunction
void vmult(VectorType &dst, const VectorType &src) const
void vmult(VectorType &dst, const VectorType &src) const