16#ifndef dealii_sundials_n_vector_h
17#define dealii_sundials_n_vector_h
21#ifdef DEAL_II_WITH_SUNDIALS
22# include <sundials/sundials_nvector.h>
34 template <
typename VectorType>
63 template <
typename VectorType>
64 NVectorView<VectorType>
79 template <
typename VectorType>
94 template <
typename VectorType>
117 template <
typename VectorType>
168 operator N_Vector() const;
173 N_Vector operator->() const;
179 std::unique_ptr<_generic_N_Vector,
std::function<
void(N_Vector)>>
NVectorView(NVectorView &&) noexcept=default
std::unique_ptr< _generic_N_Vector, std::function< void(N_Vector)> > vector_ptr
NVectorView(VectorType &vector)
NVectorView< VectorType > make_nvector_view(VectorType &vector)
#define DEAL_II_NAMESPACE_OPEN
#define DEAL_II_NAMESPACE_CLOSE
VectorType * unwrap_nvector(N_Vector v)
const VectorType * unwrap_nvector_const(N_Vector v)