Revision: | 1492 |
Committed: | Fri Sep 24 16:27:58 2004 UTC (20 years, 7 months ago) by tim |
Content type: | text/plain |
File size: | 405 byte(s) |
Log Message: | change the #include in source files |
# | User | Rev | Content |
---|---|---|---|
1 | gezelter | 1490 | #ifdef IS_MPI |
2 | |||
3 | #include <stdio.h> | ||
4 | #include <stdlib.h> | ||
5 | #include <string.h> | ||
6 | #include <mpi.h> | ||
7 | |||
8 | tim | 1492 | #include "UseTheForce/mpiForceField.h" |
9 | gezelter | 1490 | |
10 | |||
11 | |||
12 | |||
13 | void sendFrcStruct( void *frcStruct, MPI_Datatype structType ){ | ||
14 | |||
15 | MPI_Bcast(frcStruct,1,structType,0,MPI_COMM_WORLD); | ||
16 | } | ||
17 | |||
18 | |||
19 | void receiveFrcStruct( void *frcStruct, MPI_Datatype structType ){ | ||
20 | |||
21 | MPI_Bcast(frcStruct,1,structType,0,MPI_COMM_WORLD); | ||
22 | } | ||
23 | |||
24 | |||
25 | #endif // is_mpi |