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