|
|
| DotFunctor (const ViewType &a, const ViewType &b) |
| | Constructor.
|
| |
|
template<std::size_t NSD = num_space_dim> |
| KOKKOS_INLINE_FUNCTION std::enable_if_t< 3==NSD, void > | operator() (const size_type i, const size_type j, const size_type k, const size_type l, value_type sum) const |
| | 3d dot product operation.
|
| |
|
template<std::size_t NSD = num_space_dim> |
| KOKKOS_INLINE_FUNCTION std::enable_if_t< 2==NSD, void > | operator() (const size_type i, const size_type j, const size_type l, value_type sum) const |
| | 2d dot product operation.
|
| |
|
KOKKOS_INLINE_FUNCTION void | join (value_type dst, const value_type src) const |
| | Join operation.
|
| |
|
KOKKOS_INLINE_FUNCTION void | init (value_type sum) const |
| | Zero initialization.
|
| |
template<class ViewType, std::size_t NumSpaceDim>
struct Cabana::Grid::ArrayOp::DotFunctor< ViewType, NumSpaceDim >
Dot product functor.