#ifndef ONE2MANY_H #define ONE2MANY_H #include #include class One2Many { public: One2Many(MPI_Comm); ~One2Many(); void setup(int, int, int *); void scatter(double *, int, double *); protected: int me,nprocs; MPI_Comm comm; class MemoryLib *memory; std::map *hash; int nsrc; }; #endif