# | 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(); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |