1 |
chuckv |
142 |
#include <stdio.h> |
2 |
|
|
#include <stdlib.h> |
3 |
mmeineke |
150 |
#include <string.h> |
4 |
chuckv |
142 |
#include <mpi.h> |
5 |
|
|
|
6 |
|
|
#include <mpiForceField.h> |
7 |
mmeineke |
150 |
|
8 |
|
|
|
9 |
|
|
|
10 |
chuckv |
261 |
|
11 |
mmeineke |
150 |
void sendFrcStruct( void *frcStruct, MPI_Datatype structType ){ |
12 |
|
|
|
13 |
mmeineke |
176 |
MPI_Bcast(frcStruct,1,structType,0,MPI_COMM_WORLD); |
14 |
mmeineke |
150 |
} |
15 |
|
|
|
16 |
|
|
|
17 |
|
|
void recieveFrcStruct( void *frcStruct, MPI_Datatype structType ){ |
18 |
|
|
|
19 |
mmeineke |
176 |
MPI_Bcast(frcStruct,1,structType,0,MPI_COMM_WORLD); |
20 |
mmeineke |
150 |
} |
21 |
|
|
|