45 |
|
#define __C |
46 |
|
#include "config.h" |
47 |
|
|
48 |
< |
#define initFortranFF F90_FUNC(initfortranff, INITFORTRANFF) |
49 |
< |
#define doForceLoop F90_FUNC(doforceloop, DOFORCELOOP) |
50 |
< |
#define notifyFortranElectrostaticMethod F90_FUNC(notifyfortranelectrostaticmethod, NOTIFYFORTRANELECTROSTATICMETHOD) |
51 |
< |
#define notifyFortranCutoffPolicy F90_FUNC(notifyfortrancutoffpolicy, NOTIFYFORTRANCUTOFFPOLICY) |
52 |
< |
#define notifyFortranSkinThickness F90_FUNC(notifyfortranskinthickness, NOTIFYFORTRANSKINTHICKNESS) |
53 |
< |
#define notifyFortranCutoffs F90_FUNC(notifyfortrancutoffs, NOTIFYFORTRANCUTOFFS) |
54 |
< |
#define notifyFortranYouAreOnYourOwn F90_FUNC(notifyfortranyouareonyourown, NOTIFYFORTRANYOUAREONYOUROWN) |
48 |
> |
#define initFortranFF FC_FUNC(initfortranff, INITFORTRANFF) |
49 |
> |
#define doForceLoop FC_FUNC(doforceloop, DOFORCELOOP) |
50 |
> |
#define getAccumulatedBoxDipole FC_FUNC(getaccumulatedboxdipole, GETACCUMULATEDBOXDIPOLE) |
51 |
> |
#define setAccumulateBoxDipole FC_FUNC(setaccumulateboxdipole, SETACCUMULATEBOXDIPOLE) |
52 |
> |
#define setFortranElectrostaticMethod FC_FUNC(setfortranelectrostaticmethod, SETFORTRANELECTROSTATICMETHOD) |
53 |
> |
#define notifyFortranCutoffPolicy FC_FUNC(notifyfortrancutoffpolicy, NOTIFYFORTRANCUTOFFPOLICY) |
54 |
> |
#define notifyFortranSkinThickness FC_FUNC(notifyfortranskinthickness, NOTIFYFORTRANSKINTHICKNESS) |
55 |
> |
#define notifyFortranCutoffs FC_FUNC(notifyfortrancutoffs, NOTIFYFORTRANCUTOFFS) |
56 |
> |
#define notifyFortranYouAreOnYourOwn FC_FUNC(notifyfortranyouareonyourown, NOTIFYFORTRANYOUAREONYOUROWN) |
57 |
|
|
58 |
|
extern "C"{ |
59 |
|
|
60 |
|
void initFortranFF( int* isError ); |
61 |
|
|
62 |
< |
void doForceLoop( double* positionArray, |
63 |
< |
double* rcArray, |
64 |
< |
double* RotationMatrixArray, |
65 |
< |
double* unitVectorArray_l, |
66 |
< |
double* forceArray, |
67 |
< |
double *torqueArray, |
68 |
< |
double* StressTensor, |
69 |
< |
double* potentialEnergy, |
62 |
> |
void doForceLoop( RealType* positionArray, |
63 |
> |
RealType* rcArray, |
64 |
> |
RealType* RotationMatrixArray, |
65 |
> |
RealType* unitVectorArray_l, |
66 |
> |
RealType* forceArray, |
67 |
> |
RealType *torqueArray, |
68 |
> |
RealType* StressTensor, |
69 |
> |
RealType* potentialEnergy, |
70 |
|
short int* doPotentialCalc, |
71 |
|
short int* doStressCalc, |
72 |
|
int* isError ); |
73 |
|
|
74 |
< |
void notifyFortranElectrostaticMethod( int* electrostaticMethod ); |
74 |
> |
void getAccumulatedBoxDipole( RealType* boxDipole ); |
75 |
|
|
76 |
+ |
void setAccumulateBoxDipole(); |
77 |
+ |
|
78 |
+ |
void setFortranElectrostaticMethod( int* electrostaticMethod ); |
79 |
+ |
|
80 |
|
void notifyFortranCutoffPolicy( int* cutPolicy ); |
81 |
|
|
82 |
< |
void notifyFortranSkinThickness( double *skinThickness ); |
82 |
> |
void notifyFortranSkinThickness( RealType *skinThickness ); |
83 |
|
|
84 |
< |
void notifyFortranCutoffs( double *rCut, |
85 |
< |
double *rSw ); |
84 |
> |
void notifyFortranCutoffs( RealType *rCut, |
85 |
> |
RealType *rSw ); |
86 |
|
|
87 |
|
void notifyFortranYouAreOnYourOwn( ); |
88 |
|
|