ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/trunk/src/parallel/ForceDecomposition.cpp
(Generate patch)

Comparing branches/development/src/parallel/ForceDecomposition.cpp (file contents):
Revision 1736 by jmichalk, Tue Jun 5 17:51:31 2012 UTC vs.
Revision 1744 by gezelter, Tue Jun 5 18:07:08 2012 UTC

# 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   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines