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