PaCO++  0.05
paco_mpcircuit.h
Go to the documentation of this file.
1 #ifndef __paco_mpcircuit_h_
2 #define __paco_mpcircuit_h_
3 
4 #include "paco_com.h"
5 #include <Padico/MPCircuit.h>
6 
7 class paco_mpcircuit : public paco_com
8 {
9  public:
10  paco_mpcircuit(void * group);
12 
13  int paco_rank(int * rank);
14  int paco_barrier();
15 
16  // void paco_group(padico_mpcircuit_t group);
17  int paco_bcast(void* buf, int count, int root);
18 
19  protected:
20  padico_mpcircuit_t my_group_id;
21 };
22 
24 public:
25  paco_com* paco_create(void* group) {
26  return new paco_mpcircuit(group);
27  }
28 };
29 #endif
paco_com * paco_create(void *group)
int paco_rank(int *rank)
padico_mpcircuit_t my_group_id
paco_mpcircuit(void *group)
int paco_bcast(void *buf, int count, int root)