| # | Line 430 | Line 430 | namespace OpenMD { | |
|---|---|---|
| 430 | void Electrostatic::setReactionFieldDielectric( RealType dielectric ){ | |
| 431 | dielectric_ = dielectric; | |
| 432 | haveDielectric_ = true; | |
| 433 | + | } |
| 434 | + | |
| 435 | + | void Electrostatic::initForce() { |
| 436 | + | if (!initialized_) initialize(); |
| 437 | } | |
| 438 | ||
| 439 | void Electrostatic::calcForce(InteractionData &idat) { | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines |
| > | Changed lines |