| 1 | mmeineke | 377 | #ifdef __C | 
| 2 | mmeineke | 836 | #ifndef __MPICOMPONENTPLAN_H__ | 
| 3 |  |  | #define __MPICOMPONENTPLAN_H__ | 
| 4 |  |  |  | 
| 5 | mmeineke | 377 | /** This header provides dual access for mpiComponenPlan | 
| 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 | gezelter | 405 | int myNMol; | 
| 17 | mmeineke | 377 | int myNlocal; | 
| 18 |  |  | int myNode; | 
| 19 |  |  | int numberProcessors; | 
| 20 |  |  | int rowComm; | 
| 21 |  |  | int columnComm; | 
| 22 |  |  | int numberRows; | 
| 23 |  |  | int numberColumns; | 
| 24 |  |  | int nComponentsRow; | 
| 25 |  |  | int nComponentsColumn; | 
| 26 |  |  | int rowIndex; | 
| 27 |  |  | int columnIndex; | 
| 28 |  |  | } mpiSimData; | 
| 29 |  |  |  | 
| 30 | mmeineke | 836 | #endif // __MPICOMPONENTPLAN_H__ | 
| 31 | mmeineke | 377 |  | 
| 32 | mmeineke | 836 | #endif // __C | 
| 33 | mmeineke | 377 |  | 
| 34 |  |  |  | 
| 35 |  |  | #ifdef __FORTRAN90 | 
| 36 |  |  | type, public :: mpiComponentPlan | 
| 37 |  |  | sequence | 
| 38 |  |  | integer :: nMolGlobal = 0 | 
| 39 |  |  | integer :: nAtomsGlobal = 0 | 
| 40 |  |  | integer :: nBondsGlobal = 0 | 
| 41 |  |  | integer :: nBendsGlobal = 0 | 
| 42 |  |  | integer :: nTorsionsGlobal = 0 | 
| 43 |  |  | integer :: nSRIGlobal = 0 | 
| 44 | gezelter | 405 | integer :: myNMol = 0 | 
| 45 | mmeineke | 377 | integer :: myNlocal = 0 | 
| 46 |  |  | integer :: myNode = 0 | 
| 47 |  |  | integer :: numberProcessors = 0 | 
| 48 |  |  | integer :: rowComm = 0 | 
| 49 |  |  | integer :: columnComm = 0 | 
| 50 |  |  | integer :: numberRows = 0 | 
| 51 |  |  | integer :: numberColumns = 0 | 
| 52 |  |  | integer :: nComponentsRow = 0 | 
| 53 |  |  | integer :: nComponentsColumn = 0 | 
| 54 |  |  | integer :: rowIndex = 0 | 
| 55 |  |  | integer :: columnIndex = 0 | 
| 56 |  |  | end type mpiComponentPlan | 
| 57 |  |  |  | 
| 58 |  |  | #endif |