| 6 |
|
#define __C |
| 7 |
|
#include "mpiComponentPlan.h" |
| 8 |
|
|
| 9 |
+ |
#include <fortranWrapDefines.hpp> |
| 10 |
|
|
| 11 |
|
class mpiSimulation{ |
| 12 |
|
public: |
| 29 |
|
|
| 30 |
|
// sets the internal function pointer to fortran. |
| 31 |
|
|
| 32 |
< |
void setInternal( void (*fSetup)( mpiSimData*, int*, int*, int*) ){ |
| 32 |
> |
void setInternal( void (*fSetup) setFortranMPIlist ){ |
| 33 |
|
setFsimParallel = fSetup; |
| 34 |
|
} |
| 35 |
|
|
| 46 |
|
void wrapMe(); |
| 47 |
|
|
| 48 |
|
// private function to initialize the fortran side of the simulation |
| 49 |
< |
void (*setFsimParallel)(mpiSimData* the_mpiPlug, int *nLocal, |
| 49 |
< |
int* globalIndex, int* isError ); |
| 49 |
> |
void (*setFsimParallel) setFortranMPIlist; |
| 50 |
|
|
| 51 |
|
// int *myIdents; // is needed by Cpp only. It tells the molecule which stamp it is. |
| 52 |
|
|