2004-01-10 01:09:51 +03:00
|
|
|
/*
|
|
|
|
* $HEADER$
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef LAM_GROUP_H
|
|
|
|
#define LAM_GROUP_H
|
|
|
|
|
|
|
|
#include "mpi.h"
|
2004-01-11 03:13:22 +03:00
|
|
|
#include "mpi/proc/proc.h"
|
2004-01-10 01:09:51 +03:00
|
|
|
|
2004-01-10 20:10:29 +03:00
|
|
|
struct lam_group_t {
|
2004-02-12 01:55:06 +03:00
|
|
|
/* base class */
|
|
|
|
lam_object_t super;
|
|
|
|
/* number of processes in group */
|
|
|
|
int grp_proc_count;
|
|
|
|
/* rank in group */
|
|
|
|
int grp_my_rank;
|
|
|
|
/* index in Fortran <-> C translation array */
|
|
|
|
int grp_f_to_c_index;
|
|
|
|
/* list of pointers to lam_proc_t structures for each
|
|
|
|
* process in the group */
|
|
|
|
lam_proc_t **grp_proc_pointers;
|
2004-01-10 20:10:29 +03:00
|
|
|
};
|
|
|
|
typedef struct lam_group_t lam_group_t;
|
2004-01-10 01:09:51 +03:00
|
|
|
|
|
|
|
#endif /* LAM_GROUP_H */
|