A count schedule is a communication schedule for counting the number of true elements in a distributed array of boolean values (the source array). A count schedule is described by a collective object with local components of class Count. The public interface of the Count class is
class DAD ; class Count { public : Count(const DAD* src) ; void execute(int* res, int* srcDat) ; private : ... } ;