ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/mdtools/headers/mpiComponentPlan.h
Revision: 204
Committed: Tue Dec 10 22:15:00 2002 UTC (21 years, 7 months ago) by chuckv
Content type: text/plain
File size: 1039 byte(s)
Log Message:
fixed typo with #ifdef.

File Contents

# User Rev Content
1 chuckv 204 #ifdef __C
2 chuckv 203 /* This header provides dual access for mpi structure in fortran and in
3     c, C++
4     */
5    
6     typdef struct{
7     int nMolGlobal;
8     int nAtomsGlobal;
9     int myMolStart;
10     int myMolEnd;
11     int myAtomStart;
12     int myAtomEnd;
13     int myMol;
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     } mpiComponentPlan;
24    
25    
26     #endif
27    
28    
29     #ifdef __FORTRAN90
30     type, public :: mpiComponentPlan
31     sequence
32     integer :: nMolGlobal = 0
33     integer :: nAtomsGlobal = 0
34     integer :: myMolStart = 0
35     integer :: myMolEnd = 0
36     integer :: myAtomStart = 0
37     integer :: myAtomEnd = 0
38     integer :: myMol = 0
39     integer :: myNlocal = 0
40     integer :: myNode = 0
41     integer :: numberProcessors = 0
42     integer :: rowComm = 0
43     integer :: columnComm = 0
44     integer :: numberRows = 0
45     integer :: numberColumns = 0
46     integer :: nComponentsRow = 0
47     integer :: nComponentsColumn = 0
48     end type mpiComponentPlan
49    
50     #endif