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

Comparing trunk/OOPSE-4/src/types/LennardJonesInteractionType.hpp (file contents):
Revision 3151 by chuckv, Fri Jul 6 18:13:40 2007 UTC vs.
Revision 3162 by chuckv, Thu Jul 12 23:20:22 2007 UTC

# Line 54 | Line 54 | namespace oopse {
54    class LennardJonesInteractionType : public NonBondedInteractionType {
55      
56    public:
57 <
57 >    
58      LennardJonesInteractionType(RealType mySigma, RealType myEpsilon) {
59        sigma = mySigma;
60 <                        epsilon = myEpsilon;
60 >      epsilon = myEpsilon;
61      }
62      
63 <    virtual void tellFortran() {
63 >    virtual void tellFortran(int atid1, int atid2) {
64 >      mnmit.MNMInteractionType = MNM_REPULSIVEMORSE;
65 >      mnmit.metal_atid = atid1;
66 >      mnmit.nonmetal_atid = atid2;
67 >      mnmit.sigma = sigma;
68 >      mnmit.epsilon = epsilon;
69 >      
70 >      addMNMInteraction(&mnmit);
71      }
72 <                
72 >    
73 >    
74    private:
75 <                RealType sigma;
76 <                RealType epsilon;    
75 >    RealType sigma;
76 >    RealType epsilon;    
77    };
78   }
79   #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines