| # | Line 112 | Line 112 | namespace OpenMD { | |
|---|---|---|
| 112 | sdat.dfrhodrho = &(snap_->atomData.functionalDerivative[atom1]); | |
| 113 | } | |
| 114 | ||
| 115 | + | if (storageLayout_ & DataStorage::dslSkippedCharge) { |
| 116 | + | sdat.skippedCharge = &(snap_->atomData.skippedCharge[atom1]); |
| 117 | + | } |
| 118 | + | |
| 119 | if (storageLayout_ & DataStorage::dslParticlePot) { | |
| 120 | sdat.particlePot = &(snap_->atomData.particlePot[atom1]); | |
| 121 | } | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines |
| > | Changed lines |