NeoFOAM
WIP Prototype of a modern OpenFOAM core
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
NeoFOAM::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 NeoFOAM::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 262 of file sundials.hpp.

Member Typedef Documentation

◆ KVector

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

Definition at line 276 of file sundials.hpp.

Constructor & Destructor Documentation

◆ SKVectorSerial() [1/3]

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

Definition at line 266 of file sundials.hpp.

◆ ~SKVectorSerial()

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

◆ SKVectorSerial() [2/3]

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

Definition at line 268 of file sundials.hpp.

◆ SKVectorSerial() [3/3]

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

Definition at line 270 of file sundials.hpp.

Member Function Documentation

◆ initNVector()

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

Definition at line 277 of file sundials.hpp.

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

◆ sunNVector() [1/2]

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

Definition at line 283 of file sundials.hpp.

◆ sunNVector() [2/2]

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

Definition at line 282 of file sundials.hpp.


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