ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/mdtools/mpi_implementation/mpiForceField.c
Revision: 176
Committed: Thu Nov 14 22:00:44 2002 UTC (22 years, 5 months ago) by mmeineke
Content type: text/plain
File size: 359 byte(s)
Log Message:
*** empty log message ***

File Contents

# User Rev Content
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     void sendFrcStruct( void *frcStruct, MPI_Datatype structType ){
11    
12 mmeineke 176 MPI_Bcast(frcStruct,1,structType,0,MPI_COMM_WORLD);
13 mmeineke 150 }
14    
15    
16     void recieveFrcStruct( void *frcStruct, MPI_Datatype structType ){
17    
18 mmeineke 176 MPI_Bcast(frcStruct,1,structType,0,MPI_COMM_WORLD);
19 mmeineke 150 }
20