Cabana utilities.
More...
#include <Cabana_Core_Config.hpp>
#include <Kokkos_Core.hpp>
#include <array>
#include <type_traits>
Go to the source code of this file.
|
| namespace | Cabana |
| | Core: particle data structures and algorithms.
|
| |
|
|
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.
|
| |