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 1930 by gezelter, Wed Jan 12 22:41:40 2005 UTC vs.
Revision 2759 by tim, Wed May 17 21:51:42 2006 UTC

# Line 1 | Line 1
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
# 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)
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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines