ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE/libmdtools/mpiComponentPlan.h
Revision: 1150
Committed: Fri May 7 21:35:05 2004 UTC (20 years, 2 months ago) by gezelter
Content type: text/plain
File size: 1420 byte(s)
Log Message:
Many changes to get group-based cutoffs to work

File Contents

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