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

Comparing trunk/src/nonbonded/InteractionManager.cpp (file contents):
Revision 2032 by jmichalk, Fri Oct 31 18:40:40 2014 UTC vs.
Revision 2033 by gezelter, Sat Nov 1 14:12:16 2014 UTC

# Line 98 | Line 98 | namespace OpenMD {
98      AtomType* atype2;
99      int atid1, atid2;
100  
101 <    // We only need to worry about the types that are actually in the simulation:
102 <
101 >    // We only need to worry about the types that are actually in the
102 >    // simulation:
103 >    
104      set<AtomType*> atypes = info_->getSimulatedAtomTypes();
105  
106      lj_->setSimulatedAtomTypes(atypes);
# Line 512 | Line 513 | namespace OpenMD {
513      for (it = interactions_[*atid][*atid].begin();
514           it != interactions_[*atid][*atid].end();
515           ++it)
516 <      cutoff = max(cutoff, (*it)->getSuggestedCutoffRadius(make_pair(atype, atype)));  
516 >      cutoff = max(cutoff, (*it)->getSuggestedCutoffRadius(make_pair(atype,
517 >                                                                     atype)));
518      return cutoff;    
519    }
520  
# Line 526 | Line 528 | namespace OpenMD {
528      
529      for (it = interactions_[atid][atid].begin();
530           it != interactions_[atid][atid].end(); ++it)
531 <      cutoff = max(cutoff, (*it)->getSuggestedCutoffRadius(make_pair(atype, atype)));  
531 >      cutoff = max(cutoff, (*it)->getSuggestedCutoffRadius(make_pair(atype,
532 >                                                                     atype)));
533      return cutoff;    
534    }
535   } //end namespace OpenMD

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines