| # | Line 909 | Line 909 | namespace OpenMD { | |
|---|---|---|
| 909 | } | |
| 910 | } | |
| 911 | ||
| 912 | < | idat.pot[ELECTROSTATIC_FAMILY] += epot; |
| 912 | > | (*(idat.pot))[ELECTROSTATIC_FAMILY] += epot; |
| 913 | *(idat.f1) += dVdr; | |
| 914 | ||
| 915 | if (i_is_Dipole || i_is_Quadrupole) | |
| # | Line 1020 | Line 1020 | namespace OpenMD { | |
| 1020 | } | |
| 1021 | ||
| 1022 | // accumulate the forces and torques resulting from the self term | |
| 1023 | < | idat.pot[ELECTROSTATIC_FAMILY] += myPot; |
| 1023 | > | (*(idat.pot))[ELECTROSTATIC_FAMILY] += myPot; |
| 1024 | *(idat.f1) += dVdr; | |
| 1025 | ||
| 1026 | if (i_is_Dipole) | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines |
| > | Changed lines |