45 |
|
#define __C |
46 |
|
#include "config.h" |
47 |
|
|
48 |
< |
#define initFortranFF F90_FUNC(initfortranff, INITFORTRANFF) |
49 |
< |
#define doForceLoop F90_FUNC(doforceloop, DOFORCELOOP) |
48 |
> |
#define initFortranFF FC_FUNC(initfortranff, INITFORTRANFF) |
49 |
> |
#define doForceLoop FC_FUNC(doforceloop, DOFORCELOOP) |
50 |
> |
#define setFortranElectrostaticMethod FC_FUNC(setfortranelectrostaticmethod, SETFORTRANELECTROSTATICMETHOD) |
51 |
> |
#define notifyFortranCutoffPolicy FC_FUNC(notifyfortrancutoffpolicy, NOTIFYFORTRANCUTOFFPOLICY) |
52 |
> |
#define notifyFortranSkinThickness FC_FUNC(notifyfortranskinthickness, NOTIFYFORTRANSKINTHICKNESS) |
53 |
> |
#define notifyFortranCutoffs FC_FUNC(notifyfortrancutoffs, NOTIFYFORTRANCUTOFFS) |
54 |
> |
#define notifyFortranYouAreOnYourOwn FC_FUNC(notifyfortranyouareonyourown, NOTIFYFORTRANYOUAREONYOUROWN) |
55 |
|
|
56 |
|
extern "C"{ |
57 |
|
|
58 |
< |
void initFortranFF( int* coulombicCorrection, |
54 |
< |
int* isError ); |
58 |
> |
void initFortranFF( int* isError ); |
59 |
|
|
56 |
– |
|
60 |
|
void doForceLoop( double* positionArray, |
61 |
|
double* rcArray, |
62 |
|
double* RotationMatrixArray, |
68 |
|
short int* doPotentialCalc, |
69 |
|
short int* doStressCalc, |
70 |
|
int* isError ); |
71 |
+ |
|
72 |
+ |
void setFortranElectrostaticMethod( int* electrostaticMethod ); |
73 |
+ |
|
74 |
+ |
void notifyFortranCutoffPolicy( int* cutPolicy ); |
75 |
+ |
|
76 |
+ |
void notifyFortranSkinThickness( double *skinThickness ); |
77 |
+ |
|
78 |
+ |
void notifyFortranCutoffs( double *rCut, |
79 |
+ |
double *rSw ); |
80 |
+ |
|
81 |
+ |
void notifyFortranYouAreOnYourOwn( ); |
82 |
+ |
|
83 |
|
} |
84 |
|
#endif |