Panzer  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Member Functions | Public Attributes | List of all members
panzer::dof_functors::SumRank2< ReductionDataType, view_t > Struct Template Reference

Sums all entries of a Rank 2 Kokkos View. More...

#include <Panzer_DOFManager_Functors.hpp>

Public Types

using policy_t = Kokkos::MDRangePolicy< typename view_t::execution_space, Kokkos::Rank< 2 >>
 

Public Member Functions

void apply (ReductionDataType &sum) const
 

Public Attributes

const view_t values
 

Detailed Description

template<typename ReductionDataType, typename view_t>
struct panzer::dof_functors::SumRank2< ReductionDataType, view_t >

Sums all entries of a Rank 2 Kokkos View.

Definition at line 54 of file Panzer_DOFManager_Functors.hpp.

Member Typedef Documentation

template<typename ReductionDataType , typename view_t >
using panzer::dof_functors::SumRank2< ReductionDataType, view_t >::policy_t = Kokkos::MDRangePolicy<typename view_t::execution_space, Kokkos::Rank<2>>

Definition at line 55 of file Panzer_DOFManager_Functors.hpp.

Member Function Documentation

template<typename ReductionDataType , typename view_t >
void panzer::dof_functors::SumRank2< ReductionDataType, view_t >::apply ( ReductionDataType &  sum) const
inline

Definition at line 59 of file Panzer_DOFManager_Functors.hpp.

Member Data Documentation

template<typename ReductionDataType , typename view_t >
const view_t panzer::dof_functors::SumRank2< ReductionDataType, view_t >::values

Definition at line 57 of file Panzer_DOFManager_Functors.hpp.


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