Reference documentation for deal.II version 9.3.3
\(\newcommand{\dealvcentcolon}{\mathrel{\mathop{:}}}\) \(\newcommand{\dealcoloneq}{\dealvcentcolon\mathrel{\mkern-1.2mu}=}\) \(\newcommand{\jump}[1]{\left[\!\left[ #1 \right]\!\right]}\) \(\newcommand{\average}[1]{\left\{\!\left\{ #1 \right\}\!\right\}}\)
Public Member Functions | Private Attributes | List of all members
SUNDIALS::internal::LinearSolverWrapper< VectorType > Class Template Reference

#include <deal.II/sundials/sunlinsol_wrapper.h>

Inheritance diagram for SUNDIALS::internal::LinearSolverWrapper< VectorType >:
[legend]

Public Member Functions

 LinearSolverWrapper (LinearSolveFunction< VectorType > lsolve)
 
 ~LinearSolverWrapper ()
 
 operator SUNLinearSolver ()
 

Private Attributes

SUNLinearSolver sun_linear_solver
 
std::unique_ptr< LinearSolverContent< VectorType > > content
 

Detailed Description

template<typename VectorType>
class SUNDIALS::internal::LinearSolverWrapper< VectorType >

Attach wrapper functions to SUNDIALS' linear solver interface. We pretend that the user-supplied linear solver is matrix-free, even though it can be matrix-based. This way SUNDIALS does not need to understand our matrix types.

Definition at line 166 of file sunlinsol_wrapper.h.

Constructor & Destructor Documentation

◆ LinearSolverWrapper()

template<typename VectorType >
SUNDIALS::internal::LinearSolverWrapper< VectorType >::LinearSolverWrapper ( LinearSolveFunction< VectorType >  lsolve)
explicit

Definition at line 178 of file sunlinsol_wrapper.cc.

◆ ~LinearSolverWrapper()

template<typename VectorType >
SUNDIALS::internal::LinearSolverWrapper< VectorType >::~LinearSolverWrapper

Definition at line 200 of file sunlinsol_wrapper.cc.

Member Function Documentation

◆ operator SUNLinearSolver()

template<typename VectorType >
SUNDIALS::internal::LinearSolverWrapper< VectorType >::operator SUNLinearSolver

Implicit conversion to SUNLinearSolver.

Definition at line 208 of file sunlinsol_wrapper.cc.

Member Data Documentation

◆ sun_linear_solver

template<typename VectorType >
SUNLinearSolver SUNDIALS::internal::LinearSolverWrapper< VectorType >::sun_linear_solver
private

Definition at line 179 of file sunlinsol_wrapper.h.

◆ content

template<typename VectorType >
std::unique_ptr<LinearSolverContent<VectorType> > SUNDIALS::internal::LinearSolverWrapper< VectorType >::content
private

Definition at line 180 of file sunlinsol_wrapper.h.


The documentation for this class was generated from the following files: