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

Comparing trunk/src/applications/staticProps/SpatialStatistics.cpp (file contents):
Revision 1886 by gezelter, Tue Jun 18 16:07:27 2013 UTC vs.
Revision 1887 by gezelter, Tue Jun 18 17:48:52 2013 UTC

# Line 328 | Line 328 | namespace OpenMD {
328  
329    void SlabStatistics::processFrame(int istep) {
330      RealType z;
331 +
332      hmat_ = currentSnapshot_->getHmat();
333      for (int i = 0; i < nBins_; i++) {
334        z = (((RealType)i + 0.5) / (RealType)nBins_) * hmat_(2,2);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines