| 10 |
|
|
| 11 |
|
#define __C |
| 12 |
|
#include "fSimulation.h" |
| 13 |
+ |
#include <fortranWrapDefines.hpp> |
| 14 |
|
|
| 15 |
|
|
| 16 |
+ |
|
| 17 |
|
class SimInfo{ |
| 18 |
|
|
| 19 |
|
public: |
| 82 |
|
|
| 83 |
|
// sets the internal function pointer to fortran. |
| 84 |
|
|
| 85 |
< |
void setInternal( void (*fSetup)( simtype*, int* ) ){ |
| 85 |
> |
void setInternal( void (*fSetup) setFortranSimList, |
| 86 |
> |
void (*fBox) setFortranBoxList ){ |
| 87 |
|
setFsimulation = fSetup; |
| 88 |
+ |
setFortranBoxSize = fBox; |
| 89 |
|
} |
| 90 |
|
|
| 91 |
|
private: |
| 92 |
|
|
| 89 |
– |
// function to wrap the fortran function |
| 90 |
– |
void wrapMe(); |
| 91 |
– |
|
| 93 |
|
// private function to initialize the fortran side of the simulation |
| 94 |
< |
void (*setFsimulation)( simtype* the_Info, int* isError ); |
| 94 |
> |
void (*setFsimulation) setFortranSimList; |
| 95 |
|
|
| 96 |
< |
|
| 96 |
> |
void (*setFortanBoxSize) setFortranBoxList; |
| 97 |
|
}; |
| 98 |
|
|
| 99 |
|
|