| 1 |
|
#ifdef __C |
| 2 |
< |
/** This header provides dual access for mpiComponenPlan |
| 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 |
|
|
| 13 |
|
int nBendsGlobal; |
| 14 |
|
int nTorsionsGlobal; |
| 15 |
|
int nSRIGlobal; |
| 16 |
< |
int myMolStart; |
| 14 |
< |
int myMolEnd; |
| 15 |
< |
int myAtomStart; |
| 16 |
< |
int myAtomEnd; |
| 17 |
< |
int myMol; |
| 16 |
> |
int myNMol; |
| 17 |
|
int myNlocal; |
| 18 |
+ |
int myNgroup; |
| 19 |
|
int myNode; |
| 20 |
|
int numberProcessors; |
| 21 |
|
int rowComm; |
| 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 |
| 35 |
> |
#endif // __C |
| 36 |
|
|
| 37 |
|
|
| 38 |
|
#ifdef __FORTRAN90 |
| 44 |
|
integer :: nBendsGlobal = 0 |
| 45 |
|
integer :: nTorsionsGlobal = 0 |
| 46 |
|
integer :: nSRIGlobal = 0 |
| 47 |
< |
integer :: myMolStart = 0 |
| 45 |
< |
integer :: myMolEnd = 0 |
| 46 |
< |
integer :: myAtomStart = 0 |
| 47 |
< |
integer :: myAtomEnd = 0 |
| 48 |
< |
integer :: myMol = 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 |
| 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 |