Panzer Version of the Day
Loading...
Searching...
No Matches
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 22 of file Panzer_DOFManager_Functors.hpp.

Member Typedef Documentation

◆ policy_t

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 23 of file Panzer_DOFManager_Functors.hpp.

Member Function Documentation

◆ apply()

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

Definition at line 27 of file Panzer_DOFManager_Functors.hpp.

Member Data Documentation

◆ values

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

Definition at line 25 of file Panzer_DOFManager_Functors.hpp.


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