ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/mdtools/mpi_implementation/mpiForceField.c
(Generate patch)

Comparing trunk/mdtools/mpi_implementation/mpiForceField.c (file contents):
Revision 142 by chuckv, Wed Oct 16 22:24:51 2002 UTC vs.
Revision 176 by mmeineke, Thu Nov 14 22:00:44 2002 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines