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

Default executor SUNDIALS Kokkos vector wrapper. More...

#include <sundials.hpp>

Public Types

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

Public Member Functions

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

Default executor SUNDIALS Kokkos vector wrapper.

Template Parameters
ValueTypeThe vector data type

Provides RAII management of SUNDIALS Kokkos vectors for GPU execution.

Definition at line 332 of file sundials.hpp.

Member Typedef Documentation

◆ KVector

template<typename ValueType >
using NeoFOAM::sundials::SKVectorDefault< ValueType >::KVector = ::sundials::kokkos::Vector<Kokkos::DefaultExecutionSpace>

Definition at line 336 of file sundials.hpp.

Constructor & Destructor Documentation

◆ SKVectorDefault() [1/3]

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

◆ ~SKVectorDefault()

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

◆ SKVectorDefault() [2/3]

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

Definition at line 340 of file sundials.hpp.

◆ SKVectorDefault() [3/3]

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

Definition at line 342 of file sundials.hpp.

Member Function Documentation

◆ initNVector()

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

Definition at line 347 of file sundials.hpp.

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

◆ sunNVector() [1/2]

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

Definition at line 355 of file sundials.hpp.

◆ sunNVector() [2/2]

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

Definition at line 353 of file sundials.hpp.


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