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

Comparing branches/development/src/nonbonded/EAM.cpp (file contents):
Revision 1479 by gezelter, Mon Jul 26 19:00:48 2010 UTC vs.
Revision 1480 by gezelter, Mon Jul 26 19:50:53 2010 UTC

# Line 200 | Line 200 | namespace OpenMD {
200  
201      // set up the mixing method:
202      ForceFieldOptions& fopts = forceField_->getForceFieldOptions();
203 <    string EAMMixMeth = toUpperCopy(fopts.getEAMMixingMethod());
204 <
203 >    std::string EAMMixMeth = fopts.getEAMMixingMethod();
204 >    toUpper(EAMMixMeth);
205 >  
206      if (EAMMixMeth == "JOHNSON")
207        mixMeth_ = eamJohnson;    
208      else if (EAMMixMeth == "DAW")

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines