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) |
Work function implementing the traversal of a tuple to compare each element against known min and max values.
N | current element of the tuple being examined |
Index | type 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.