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

Comparing trunk/src/flucq/FluctuatingChargeConstraints.cpp (file contents):
Revision 1913 by jmichalk, Wed Jul 24 20:00:51 2013 UTC vs.
Revision 1915 by gezelter, Mon Jul 29 17:55:17 2013 UTC

# Line 63 | Line 63 | namespace OpenMD {
63      initialized_ = true;
64    }
65  
66 +
67    void FluctuatingChargeConstraints::setConstrainRegions(bool cr) {
68      constrainRegions_ = cr;
69 +
70 +    if (!initialized_) initialize();
71 +
72      regionKeys_.clear();
73      regionForce_.clear();
74      regionCharges_.clear();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines