| # | Line 171 | Line 171 | namespace OpenMD { | |
|---|---|---|
| 171 | } | |
| 172 | ||
| 173 | void ForceDecomposition::addToHeatFlux(Vector3d hf) { | |
| 174 | < | snap_->frameData.conductiveHeatFlux += hf; |
| 174 | > | Vector3d chf = snap_->getConductiveHeatFlux(); |
| 175 | > | chf += hf; |
| 176 | > | snap_->setConductiveHeatFlux(chf); |
| 177 | } | |
| 178 | void ForceDecomposition::setHeatFlux(Vector3d hf) { | |
| 179 | < | snap_->frameData.conductiveHeatFlux = hf; |
| 179 | > | snap_->setConductiveHeatFlux(hf); |
| 180 | } | |
| 181 | ||
| 182 | } | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines |
| > | Changed lines |