ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE-4/src/UseTheForce/doForces_interface.h
(Generate patch)

Comparing trunk/OOPSE-4/src/UseTheForce/doForces_interface.h (file contents):
Revision 2508 by gezelter, Mon Dec 12 19:32:50 2005 UTC vs.
Revision 2759 by tim, Wed May 17 21:51:42 2006 UTC

# Line 45 | Line 45
45   #define __C
46   #include "config.h"
47  
48 < #define initFortranFF F90_FUNC(initfortranff, INITFORTRANFF)
49 < #define doForceLoop F90_FUNC(doforceloop, DOFORCELOOP)
50 < #define setFortranElectrostaticMethod F90_FUNC(setfortranelectrostaticmethod, SETFORTRANELECTROSTATICMETHOD)
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 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* isError );        
59  
60 <  void doForceLoop( double* positionArray,
61 <                    double* rcArray,
62 <                    double* RotationMatrixArray,
63 <                    double* unitVectorArray_l,
64 <                    double* forceArray,
65 <                    double *torqueArray,
66 <                    double* StressTensor,
67 <                    double* potentialEnergy,
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 );
# Line 73 | Line 73 | extern "C"{
73  
74    void notifyFortranCutoffPolicy( int* cutPolicy );
75  
76 <  void notifyFortranSkinThickness( double *skinThickness );
76 >  void notifyFortranSkinThickness( RealType *skinThickness );
77  
78 <  void notifyFortranCutoffs( double *rCut,
79 <                             double *rSw );
78 >  void notifyFortranCutoffs( RealType *rCut,
79 >                             RealType *rSw );
80  
81    void notifyFortranYouAreOnYourOwn( );
82  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines