|
PaCO++
0.05
|
#include <paco_mpcircuit.h>


Public Member Functions | |
| int | paco_barrier () |
| int | paco_bcast (void *buf, int count, int root) |
| paco_mpcircuit (void *group) | |
| int | paco_rank (int *rank) |
| ~paco_mpcircuit () | |
Protected Attributes | |
| padico_mpcircuit_t | my_group_id |
Definition at line 7 of file paco_mpcircuit.h.
| paco_mpcircuit::paco_mpcircuit | ( | void * | group | ) |
Definition at line 3 of file paco_mpcircuit.cc.
References my_group_id.
{
my_group_id = (padico_mpcircuit_t) group;
}
Definition at line 8 of file paco_mpcircuit.cc.
{}
| int paco_mpcircuit::paco_barrier | ( | ) | [virtual] |
Implements paco_com.
Definition at line 18 of file paco_mpcircuit.cc.
References my_group_id.
{
padico_mpcircuit_barrier(my_group_id);
return 1;
}
| int paco_mpcircuit::paco_bcast | ( | void * | buf, |
| int | count, | ||
| int | root | ||
| ) | [virtual] |
Implements paco_com.
Definition at line 25 of file paco_mpcircuit.cc.
References my_group_id.
{
padico_mpcircuit_broadcast(buf, count, root, my_group_id);
return 1;
}
| int paco_mpcircuit::paco_rank | ( | int * | rank | ) | [virtual] |
Implements paco_com.
Definition at line 11 of file paco_mpcircuit.cc.
References my_group_id.
{
*rank = padico_mpcircuit_rank(my_group_id);
return 1;
}
padico_mpcircuit_t paco_mpcircuit::my_group_id [protected] |
Definition at line 20 of file paco_mpcircuit.h.
Referenced by paco_barrier(), paco_bcast(), paco_mpcircuit(), and paco_rank().