ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/trunk/src/nonbonded/LJ.cpp
(Generate patch)

Comparing trunk/src/nonbonded/LJ.cpp (file contents):
Revision 2069 by gezelter, Thu Mar 5 16:30:23 2015 UTC vs.
Revision 2071 by gezelter, Sat Mar 7 21:41:51 2015 UTC

# Line 51 | Line 51 | namespace OpenMD {
51  
52   namespace OpenMD {
53  
54 <  LJ::LJ() : name_("LJ"), initialized_(false), forceField_(NULL) {}
54 >  LJ::LJ() : initialized_(false), forceField_(NULL), name_("LJ") {}
55  
56    RealType LJ::getSigma(AtomType* atomType1, AtomType* atomType2) {
57  
# Line 135 | Line 135 | namespace OpenMD {
135  
136  
137    void LJ::addType(AtomType* atomType){
138    LennardJonesAdapter lja1 = LennardJonesAdapter(atomType);
138      
139      // add it to the map:
140      int atid = atomType->getIdent();
# Line 177 | Line 176 | namespace OpenMD {
176      }      
177    }
178    
179 <  void LJ::addExplicitInteraction(AtomType* atype1, AtomType* atype2, RealType sigma, RealType epsilon){
179 >  void LJ::addExplicitInteraction(AtomType* atype1, AtomType* atype2,
180 >                                  RealType sigma, RealType epsilon){
181      
182      LJInteractionData mixer;
183      mixer.sigma = sigma;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines