deal.II version GIT relicensing-2169-gec1b43f35b 2024-11-22 07:10:00+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
Inheritance diagram for SUNDIALS::internal::LinearSolverWrapper< VectorType >:
Inheritance graph
[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
 

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

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

Definition at line 306 of file sunlinsol_wrapper.cc.

◆ ~LinearSolverWrapper()

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

Definition at line 343 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 351 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 250 of file sunlinsol_wrapper.h.

◆ content

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

Definition at line 251 of file sunlinsol_wrapper.h.


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