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

Comparing trunk/OOPSE-4/src/UseTheForce/DarkSide/electrostatic_interface.h (file contents):
Revision 2095 by gezelter, Wed Mar 9 15:44:59 2005 UTC vs.
Revision 2759 by tim, Wed May 17 21:51:42 2006 UTC

# Line 46 | Line 46
46  
47   #include "config.h"
48   #include "types/AtomTypeProperties.h"
49 +
50 + #define setElectrostaticSummationMethod FC_FUNC(setelectrostaticsummationmethod, SETELECTROSTATICSUMMATIONMETHOD)
51 + #define setScreeningMethod FC_FUNC(setscreeningmethod, SETSCREENINGMETHOD)
52 + #define setElectrostaticCutoffRadius FC_FUNC(setelectrostaticcutoffradius, SETELECTROSTATICCUTOFFRADIUS)
53 + #define setDampingAlpha FC_FUNC(setdampingalpha, SETDAMPINGALPHA)
54 + #define setReactionFieldDielectric FC_FUNC(setreactionfielddielectric, SETREACTIONFIELDDIELECTRIC)
55  
56 < #define newElectrostaticType F90_FUNC(newelectrostatictype, NEWELECTROSTATICTYPE)
57 < #define setCharge F90_FUNC(setcharge, SETCHARGE)
58 < #define setDipoleMoment F90_FUNC(setdipolemoment, SETDIPOLEMOMENT)
59 < #define setSplitDipoleDistance F90_FUNC(setsplitdipoledistance, SETSPLITDIPOLEDISTANCE)
56 > #define newElectrostaticType FC_FUNC(newelectrostatictype, NEWELECTROSTATICTYPE)
57 > #define setCharge FC_FUNC(setcharge, SETCHARGE)
58 > #define setDipoleMoment FC_FUNC(setdipolemoment, SETDIPOLEMOMENT)
59 > #define setSplitDipoleDistance FC_FUNC(setsplitdipoledistance, SETSPLITDIPOLEDISTANCE)
60  
61 < #define setQuadrupoleMoments F90_FUNC(setquadrupolemoments, SETQUADRUPOLEMOMENTS)
61 > #define setQuadrupoleMoments FC_FUNC(setquadrupolemoments, SETQUADRUPOLEMOMENTS)
62  
63 + #define destroyElectrostaticTypes FC_FUNC(destroyelectrostatictypes,DESTROYELECTROSTATICTYPES)
64   extern "C"{
65 +
66 +  void setElectrostaticSummationMethod( int* theESM );
67 +  void setScreeningMethod( int* theSM );
68 +  void setElectrostaticCutoffRadius( RealType* theECR, RealType* theRSW );
69 +  void setDampingAlpha( RealType* theDA );
70 +  void setReactionFieldDielectric( RealType* theDielectric );
71 +
72    void newElectrostaticType( AtomTypeProperties* atp,
73                               int* status);
74    
75    void setCharge( int* c_ident,
76 <                  double* charge,
76 >                  RealType* charge,
77                    int* status);
78    
79    void setDipoleMoment( int* c_ident,
80 <                        double* dipole_moment,
80 >                        RealType* dipole_moment,
81                          int* status);
82    
83    void setSplitDipoleDistance( int* c_ident,
84 <                               double* split_dipole_distance,
84 >                               RealType* split_dipole_distance,
85                                 int* status);
86    
87    void setQuadrupoleMoments( int* c_ident,
88 <                             double* quadrupole_moments,
88 >                             RealType* quadrupole_moments,
89                               int* status);
90 +        
91 +  void destroyElectrostaticTypes(void);
92   }  
93   #endif
94  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines