A masked maximum value schedule is a communication schedule for finding the largest element of a distributed array (the source array) under the control of a mask array. A masked maximum value schedule is described by a collective object with local components of class MaxvalMsk. The public interface of the MaxvalMsk class is
class DAD ; template<class T> class MaxvalMsk { public : MaxvalMsk(const DAD* src, const DAD* msk) ; void execute(T* res, T* srcDat, int* mskDat) ; private : ... } ;