ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE/libmdtools/mpiComponentPlan.h
Revision: 405
Committed: Wed Mar 26 18:02:18 2003 UTC (21 years, 3 months ago) by gezelter
Content type: text/plain
File size: 1171 byte(s)
Log Message:
MPI stuff for passing out molecules

File Contents

# Content
1 #ifdef __C
2 /** This header provides dual access for mpiComponenPlan
3 structure in fortran and in c, C++.
4 */
5
6 typedef struct{
7 int nMolGlobal;
8 int nAtomsGlobal;
9 int nBondsGlobal;
10 int nBendsGlobal;
11 int nTorsionsGlobal;
12 int nSRIGlobal;
13 int myNMol;
14 int myNlocal;
15 int myNode;
16 int numberProcessors;
17 int rowComm;
18 int columnComm;
19 int numberRows;
20 int numberColumns;
21 int nComponentsRow;
22 int nComponentsColumn;
23 int rowIndex;
24 int columnIndex;
25 } mpiSimData;
26
27
28 #endif
29
30
31 #ifdef __FORTRAN90
32 type, public :: mpiComponentPlan
33 sequence
34 integer :: nMolGlobal = 0
35 integer :: nAtomsGlobal = 0
36 integer :: nBondsGlobal = 0
37 integer :: nBendsGlobal = 0
38 integer :: nTorsionsGlobal = 0
39 integer :: nSRIGlobal = 0
40 integer :: myNMol = 0
41 integer :: myNlocal = 0
42 integer :: myNode = 0
43 integer :: numberProcessors = 0
44 integer :: rowComm = 0
45 integer :: columnComm = 0
46 integer :: numberRows = 0
47 integer :: numberColumns = 0
48 integer :: nComponentsRow = 0
49 integer :: nComponentsColumn = 0
50 integer :: rowIndex = 0
51 integer :: columnIndex = 0
52 end type mpiComponentPlan
53
54 #endif