Template Class ArrayMask
Defined in File array_mask.h
Class Documentation
-
template<typename MemorySpace>
class ArrayMask Public Types
-
using execution_space = typename MemorySpace::execution_space
Public Functions
-
ArrayMask() = default
-
inline explicit ArrayMask(Rank1View<const int8_t, MemorySpace> mask)
-
template<typename T>
inline auto Apply(Rank1View<const T, MemorySpace> data, Rank1View<T, MemorySpace> filtered_data, Rank1View<const pcms::LO, MemorySpace> permutation = {}) const -> void
-
template<typename T>
inline auto Apply(const Rank1View<T, MemorySpace> data) const -> Kokkos::View<T, MemorySpace>
-
template<typename T>
inline auto ToFullArray(Rank1View<const T, MemorySpace> filtered_data, Rank1View<T, MemorySpace> output_array, Rank1View<const pcms::LO, MemorySpace> permutation = {}) const -> void This function takes an array that has been filtered (size of num_active_entries) and sets the appropriate entries in output_array based on the active entries in the filter
-
inline bool empty() const noexcept
-
inline explicit operator bool() const noexcept
-
inline auto GetMap() const
-
using execution_space = typename MemorySpace::execution_space