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 1927 by gezelter, Wed Aug 14 20:19:19 2013 UTC vs.
Revision 1929 by gezelter, Mon Aug 19 13:12:00 2013 UTC

# Line 178 | Line 178 | namespace OpenMD {
178            iHash_[atid1][atid2] |= LJ_INTERACTION;
179          }
180          if (atype1->isElectrostatic() && atype2->isElectrostatic() ) {
181 <          // Pairs of fluctuating density EAM atoms have their
182 <          // interactions handled via the EAM routines.  All other
183 <          // interactions with these atoms are handled via normal
184 <          // electrostatic channels:
185 <          if (!(atype1->isEAM() && atype2->isEAM())) {
186 <            interactions_[atid1][atid2].insert(electrostatic_);
187 <            iHash_[atid1][atid2] |= ELECTROSTATIC_INTERACTION;
188 <          }
181 >          interactions_[atid1][atid2].insert(electrostatic_);
182 >          iHash_[atid1][atid2] |= ELECTROSTATIC_INTERACTION;
183          }
184          if (atype1->isSticky() && atype2->isSticky() ) {
185            interactions_[atid1][atid2].insert(sticky_);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines