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

Comparing branches/development/src/brains/MoleculeCreator.cpp (file contents):
Revision 1715 by gezelter, Tue May 22 21:55:31 2012 UTC vs.
Revision 1718 by gezelter, Thu May 24 01:29:59 2012 UTC

# Line 180 | Line 180 | namespace OpenMD {
180      // Does this molecule stamp define a total constrained charge value?
181      // If so, let the created molecule know about it.
182  
183 <    if (molStamp->haveConstrainedCharge() ) {
184 <      mol->setConstrainedCharge( molStamp->getConstrainedCharge() );
183 >    if (molStamp->haveConstrainTotalCharge() ) {
184 >      mol->setConstrainTotalCharge( molStamp->getConstrainTotalCharge() );
185      }
186  
187      //the construction of this molecule is finished

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines