ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/branches/no-template-branch/OOPSE/libmdtools/mpiForceField.c
Revision: 831
Committed: Tue Oct 28 16:20:29 2003 UTC (20 years, 8 months ago)
Content type: text/plain
File size: 393 byte(s)
Log Message:
This commit was manufactured by cvs2svn to create branch 'no-template-
branch'.

File Contents

# User Rev Content
1 mmeineke 377 #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 recieveFrcStruct( void *frcStruct, MPI_Datatype structType ){
20    
21     MPI_Bcast(frcStruct,1,structType,0,MPI_COMM_WORLD);
22     }
23    
24    
25     #endif // is_mpi