ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/oopse-1.0/libmdtools/mpiForceField.c
Revision: 1447
Committed: Fri Jul 30 21:01:35 2004 UTC (19 years, 11 months ago) by gezelter
Content type: text/plain
File size: 393 byte(s)
Log Message:
Initial import of OOPSE sources into cvs tree

File Contents

# Content
1 #ifdef IS_MPI
2
3 #include <stdio.h>
4 #include <stdlib.h>
5 #include <string.h>
6 #include <mpi.h>
7
8 #include "mpiForceField.h"
9
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