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