build: fix travis MPI/SMP build
[charm.git] / examples / charm++ / integrate / pgm.h
blob13b55892f747a75e0418836518f11310376aca15
1 #include "pgm.decl.h"
3 class main : public Chare
5 private:
6 int count; //Number of partial results that have not arrived yet
7 double integral; //Partial value of function integral
8 public:
9 main(CkMigrateMessage *m) {}
10 main(CkArgMsg *m);
11 void results(double partialIntegral);
14 class integrate : public Chare
16 private:
18 public:
19 integrate(CkMigrateMessage *m) {}
20 integrate(double xStart,double dx, int nSlices);