NeoN
A framework for CFD software
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
NeoN::sundials::SKVectorHostDefault< ValueType > Class Template Reference

Host default executor SUNDIALS Kokkos vector wrapper. More...

#include <sundials.hpp>

Public Types

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

Public Member Functions

 SKVectorHostDefault ()=default
 
 ~SKVectorHostDefault ()=default
 
 SKVectorHostDefault (const SKVectorHostDefault &other)
 
 SKVectorHostDefault (SKVectorHostDefault &&other) noexcept
 
SKVectorHostDefaultoperator= (const SKVectorHostDefault &other)=delete
 
SKVectorHostDefaultoperator= (SKVectorHostDefault &&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::SKVectorHostDefault< ValueType >

Host default executor SUNDIALS Kokkos vector wrapper.

Template Parameters
ValueTypeThe vector data type

Provides RAII management of SUNDIALS Kokkos vectors for CPU execution.

Definition at line 299 of file sundials.hpp.

Member Typedef Documentation

◆ KVector

template<typename ValueType >
using NeoN::sundials::SKVectorHostDefault< ValueType >::KVector = ::sundials::kokkos::Vector<Kokkos::DefaultHostExecutionSpace>

Definition at line 303 of file sundials.hpp.

Constructor & Destructor Documentation

◆ SKVectorHostDefault() [1/3]

template<typename ValueType >
NeoN::sundials::SKVectorHostDefault< ValueType >::SKVectorHostDefault ( )
default

◆ ~SKVectorHostDefault()

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

◆ SKVectorHostDefault() [2/3]

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

Definition at line 307 of file sundials.hpp.

◆ SKVectorHostDefault() [3/3]

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

Definition at line 309 of file sundials.hpp.

Member Function Documentation

◆ initNVector()

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

Definition at line 314 of file sundials.hpp.

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

◆ sunNVector() [1/2]

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

Definition at line 320 of file sundials.hpp.

◆ sunNVector() [2/2]

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

Definition at line 319 of file sundials.hpp.


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