1 |
< |
/* |
1 |
> |
/* |
2 |
|
* Copyright (c) 2005 The University of Notre Dame. All Rights Reserved. |
3 |
|
* |
4 |
|
* The University of Notre Dame grants you ("Licensee") a |
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* useReactionField, |
59 |
< |
int *isError ); |
60 |
< |
|
61 |
< |
|
62 |
< |
void doForceLoop( double* positionArray, |
63 |
< |
double* rcArray, |
64 |
< |
double* RotationMatrixArray, |
65 |
< |
double* unitVectorArray_l, |
66 |
< |
double* forceArray, |
67 |
< |
double *torqueArray, |
63 |
< |
double* StressTensor, |
64 |
< |
double* potentialEnergy, |
58 |
> |
void initFortranFF( int* isError ); |
59 |
> |
|
60 |
> |
void doForceLoop( RealType* positionArray, |
61 |
> |
RealType* rcArray, |
62 |
> |
RealType* RotationMatrixArray, |
63 |
> |
RealType* unitVectorArray_l, |
64 |
> |
RealType* forceArray, |
65 |
> |
RealType *torqueArray, |
66 |
> |
RealType* StressTensor, |
67 |
> |
RealType* potentialEnergy, |
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( RealType *skinThickness ); |
77 |
+ |
|
78 |
+ |
void notifyFortranCutoffs( RealType *rCut, |
79 |
+ |
RealType *rSw ); |
80 |
+ |
|
81 |
+ |
void notifyFortranYouAreOnYourOwn( ); |
82 |
+ |
|
83 |
|
} |
84 |
|
#endif |