deal.II version GIT relicensing-6842-g793a97d2aa 2026-10-02 14:00:01+00:00
\(\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\}}\)
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
SUNDIALS::internal::LinearSolverWrapper< VectorType > Class Template Reference

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 231 of file sunlinsol_wrapper.h.

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

Public Member Functions

 LinearSolverWrapper (const LinearSolveFunction< VectorType > &lsolve, std::exception_ptr &pending_exception, SUNContext linsol_ctx)
 
 ~LinearSolverWrapper ()
 
 operator SUNLinearSolver ()
 

Private Attributes

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

Constructor & Destructor Documentation

◆ LinearSolverWrapper()

template<typename VectorType >
SUNDIALS::internal::LinearSolverWrapper< VectorType >::LinearSolverWrapper ( const LinearSolveFunction< VectorType > &  lsolve,
std::exception_ptr &  pending_exception,
SUNContext  linsol_ctx 
)
explicit

◆ ~LinearSolverWrapper()

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

Member Function Documentation

◆ operator SUNLinearSolver()

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

Implicit conversion to SUNLinearSolver.

Member Data Documentation

◆ sun_linear_solver

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

Definition at line 251 of file sunlinsol_wrapper.h.

◆ content

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

Definition at line 252 of file sunlinsol_wrapper.h.


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