STAPL API Reference          
Overview   Containers   Algorithms   Views   Skeletons   Run-Time System
Modules     Classes    
List of all members | Public Member Functions
stapl::cm_impl::bc_min_max< N, Index > Struct Template Reference

Work function implementing the traversal of a tuple to compare each element against known min and max values. More...

Public Member Functions

 bc_min_max (Index &min, Index &max)
 
void operator() (Index const &val)
 

Detailed Description

template<int N, typename Index>
struct stapl::cm_impl::bc_min_max< N, Index >

Work function implementing the traversal of a tuple to compare each element against known min and max values.

Template Parameters
Ncurrent element of the tuple being examined
Indextype of the full tuple being compared.

The work function is used to determine the bounds of the domains for multiarray base containers. This is needed because we currently find the GIDs in each domain in their linear form and delinearize them to get the necessary GID. The multidimensional domain constructor requires we pass the extrema of the domain to its constructor.


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