ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/oopse-1.0/libmdtools/mpiComponentPlan.h
Revision: 1447
Committed: Fri Jul 30 21:01:35 2004 UTC (19 years, 11 months ago) by gezelter
Content type: text/plain
File size: 1465 byte(s)
Log Message:
Initial import of OOPSE sources into cvs tree

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 nGroupsGlobal;
13 int nBondsGlobal;
14 int nBendsGlobal;
15 int nTorsionsGlobal;
16 int nSRIGlobal;
17 int nMolLocal;
18 int nAtomsLocal;
19 int nGroupsLocal;
20 int myNode;
21 int nProcessors;
22 int rowComm;
23 int columnComm;
24 int nRows;
25 int nColumns;
26 int nAtomsInRow;
27 int nAtomsInColumn;
28 int nGroupsInRow;
29 int nGroupsInColumn;
30 int rowIndex;
31 int columnIndex;
32 } mpiSimData;
33
34 #endif // __MPICOMPONENTPLAN_H__
35
36 #endif // __C
37
38
39 #ifdef __FORTRAN90
40 type, public :: mpiComponentPlan
41 sequence
42 integer :: nMolGlobal = 0
43 integer :: nAtomsGlobal = 0
44 integer :: nGroupsGlobal = 0
45 integer :: nBondsGlobal = 0
46 integer :: nBendsGlobal = 0
47 integer :: nTorsionsGlobal = 0
48 integer :: nSRIGlobal = 0
49 integer :: nMolLocal = 0
50 integer :: nAtomsLocal = 0
51 integer :: nGroupsLocal = 0
52 integer :: myNode = 0
53 integer :: nProcessors = 0
54 integer :: rowComm = 0
55 integer :: columnComm = 0
56 integer :: nRows = 0
57 integer :: nColumns = 0
58 integer :: nAtomsInRow = 0
59 integer :: nAtomsInColumn = 0
60 integer :: nGroupsInRow = 0
61 integer :: nGroupsInColumn = 0
62 integer :: rowIndex = 0
63 integer :: columnIndex = 0
64 end type mpiComponentPlan
65
66 #endif