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

Member Typedef Documentation

◆ KVector

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

Definition at line 301 of file sundials.hpp.

Constructor & Destructor Documentation

◆ SKVectorHostDefault() [1/3]

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

◆ ~SKVectorHostDefault()

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

◆ SKVectorHostDefault() [2/3]

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

Definition at line 305 of file sundials.hpp.

◆ SKVectorHostDefault() [3/3]

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

Definition at line 307 of file sundials.hpp.

Member Function Documentation

◆ initNVector()

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

Definition at line 312 of file sundials.hpp.

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

◆ sunNVector() [1/2]

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

Definition at line 318 of file sundials.hpp.

◆ sunNVector() [2/2]

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

Definition at line 317 of file sundials.hpp.


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