| 1 |
|
#ifdef __C |
| 2 |
+ |
#ifndef __MPICOMPONENTPLAN_H__ |
| 3 |
+ |
#define __MPICOMPONENTPLAN_H__ |
| 4 |
+ |
|
| 5 |
|
/** This header provides dual access for mpiComponenPlan |
| 6 |
|
structure in fortran and in c, C++. |
| 7 |
|
*/ |
| 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 myNode; |
| 19 |
|
int numberProcessors; |
| 27 |
|
int columnIndex; |
| 28 |
|
} mpiSimData; |
| 29 |
|
|
| 30 |
+ |
#endif // __MPICOMPONENTPLAN_H__ |
| 31 |
|
|
| 32 |
< |
#endif |
| 32 |
> |
#endif // __C |
| 33 |
|
|
| 34 |
|
|
| 35 |
|
#ifdef __FORTRAN90 |
| 41 |
|
integer :: nBendsGlobal = 0 |
| 42 |
|
integer :: nTorsionsGlobal = 0 |
| 43 |
|
integer :: nSRIGlobal = 0 |
| 44 |
< |
integer :: myMolStart = 0 |
| 45 |
< |
integer :: myMolEnd = 0 |
| 46 |
< |
integer :: myAtomStart = 0 |
| 47 |
< |
integer :: myAtomEnd = 0 |
| 48 |
< |
integer :: myMol = 0 |
| 44 |
> |
integer :: myNMol = 0 |
| 45 |
|
integer :: myNlocal = 0 |
| 46 |
|
integer :: myNode = 0 |
| 47 |
|
integer :: numberProcessors = 0 |