Loading [MathJax]/extensions/TeX/newcommand.js
 Reference documentation for deal.II version 9.6.0
\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\}}
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
SUNDIALS::internal Namespace Reference

Classes

struct  LinearSolverContent
 
class  LinearSolverWrapper
 
class  NVectorView
 

Functions

template<typename VectorType >
VectorType * unwrap_nvector (N_Vector v)
 
template<typename VectorType >
const VectorType * unwrap_nvector_const (N_Vector v)
 

Function Documentation

◆ unwrap_nvector()

template<typename VectorType >
VectorType * SUNDIALS::internal::unwrap_nvector ( N_Vector v)

Retrieve the underlying vector attached to N_Vector v. This call will only succeed if the underlying vector is not const. Use unwrap_nvector_const() for this case.

Note
Users must ensure that they ask for the correct VectorType when calling this function and there are no type-safety checks in place.
Template Parameters
VectorTypeType of the vector that is stored in v
Parameters
vVector to unwrap
Returns
The vector that is stored inside v

◆ unwrap_nvector_const()

template<typename VectorType >
const VectorType * SUNDIALS::internal::unwrap_nvector_const ( N_Vector v)

Retrieve the underlying vector attached to N_Vector v as a constant pointer.

Note
Users must ensure that they ask for the correct VectorType when calling this function and there are no type-safety checks in place.
Template Parameters
VectorTypeType of the vector that is stored in v
Parameters
vVector to unwrap
Returns
The vector that is stored inside v