NeoN
WIP Prototype of a modern OpenFOAM core
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
NeoN::sundials::SKVectorSerial< ValueType > Class Template Reference

Serial executor SUNDIALS Kokkos vector wrapper. More...

#include <sundials.hpp>

Public Types

using KVector = ::sundials::kokkos::Vector< Kokkos::Serial >
 

Public Member Functions

 SKVectorSerial ()
 
 ~SKVectorSerial ()=default
 
 SKVectorSerial (const SKVectorSerial &other)
 
 SKVectorSerial (SKVectorSerial &&other) noexcept
 
SKVectorSerialoperator= (const SKVectorSerial &other)=delete
 
SKVectorSerialoperator= (SKVectorSerial &&other)=delete
 
void initNVector (size_t size, std::shared_ptr< SUNContext > context)
 
const N_Vector & sunNVector () const
 
N_Vector & sunNVector ()
 

Detailed Description

template<typename ValueType>
class NeoN::sundials::SKVectorSerial< ValueType >

Serial executor SUNDIALS Kokkos vector wrapper.

Template Parameters
ValueTypeThe vector data type

Provides RAII management of SUNDIALS Kokkos vectors for serial execution.

Definition at line 264 of file sundials.hpp.

Member Typedef Documentation

◆ KVector

template<typename ValueType >
using NeoN::sundials::SKVectorSerial< ValueType >::KVector = ::sundials::kokkos::Vector<Kokkos::Serial>

Definition at line 278 of file sundials.hpp.

Constructor & Destructor Documentation

◆ SKVectorSerial() [1/3]

template<typename ValueType >
NeoN::sundials::SKVectorSerial< ValueType >::SKVectorSerial ( )
inline

Definition at line 268 of file sundials.hpp.

◆ ~SKVectorSerial()

template<typename ValueType >
NeoN::sundials::SKVectorSerial< ValueType >::~SKVectorSerial ( )
default

◆ SKVectorSerial() [2/3]

template<typename ValueType >
NeoN::sundials::SKVectorSerial< ValueType >::SKVectorSerial ( const SKVectorSerial< ValueType > &  other)
inline

Definition at line 270 of file sundials.hpp.

◆ SKVectorSerial() [3/3]

template<typename ValueType >
NeoN::sundials::SKVectorSerial< ValueType >::SKVectorSerial ( SKVectorSerial< ValueType > &&  other)
inlinenoexcept

Definition at line 272 of file sundials.hpp.

Member Function Documentation

◆ initNVector()

template<typename ValueType >
void NeoN::sundials::SKVectorSerial< ValueType >::initNVector ( size_t  size,
std::shared_ptr< SUNContext >  context 
)
inline

Definition at line 279 of file sundials.hpp.

◆ operator=() [1/2]

template<typename ValueType >
SKVectorSerial & NeoN::sundials::SKVectorSerial< ValueType >::operator= ( const SKVectorSerial< ValueType > &  other)
delete

◆ operator=() [2/2]

template<typename ValueType >
SKVectorSerial & NeoN::sundials::SKVectorSerial< ValueType >::operator= ( SKVectorSerial< ValueType > &&  other)
delete

◆ sunNVector() [1/2]

template<typename ValueType >
N_Vector & NeoN::sundials::SKVectorSerial< ValueType >::sunNVector ( )
inline

Definition at line 285 of file sundials.hpp.

◆ sunNVector() [2/2]

template<typename ValueType >
const N_Vector & NeoN::sundials::SKVectorSerial< ValueType >::sunNVector ( ) const
inline

Definition at line 284 of file sundials.hpp.


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