Cabana 0.8.0-dev
 
Loading...
Searching...
No Matches
Cabana_Utils.hpp File Reference

Cabana utilities. More...

#include <Cabana_Core_Config.hpp>
#include <Kokkos_Core.hpp>
#include <array>
#include <type_traits>
Include dependency graph for Cabana_Utils.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  Cabana
 Core: particle data structures and algorithms.
 

Functions

template<class Scalar, std::size_t Dim>
auto Cabana::copyArray (const std::array< Scalar, Dim > input)
 Copy std::array into Kokkos::Array for potential device use.
 
template<class Scalar, std::size_t Dim>
auto Cabana::copyArray (const Kokkos::Array< Scalar, Dim > input)
 Return original Kokkos::Array.
 
template<class Scalar, std::size_t Dim>
auto Cabana::copyArray (const Scalar input[Dim])
 Copy c-array into Kokkos::Array for potential device use.
 

Detailed Description

Cabana utilities.