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

Comparing branches/development/src/applications/staticProps/ObjectCount.cpp (file contents):
Revision 1665 by gezelter, Tue Nov 22 20:38:56 2011 UTC vs.
Revision 1767 by gezelter, Fri Jul 6 22:01:58 2012 UTC

# Line 93 | Line 93 | void ObjectCount::process() {
93          seleMan_.setSelectionSet(evaluator_.evaluate());
94      }
95          
96 <    int count = seleMan_.getSelectionCount();
96 >    unsigned int count = seleMan_.getSelectionCount();
97  
98      if (counts_.size() <= count)  {
99        counts_.resize(count, 0);
# Line 122 | Line 122 | void ObjectCount::process() {
122        ofs << "# <N^2> = " << n2Avg << "\n";
123        ofs << "# sqrt(<N^2> - <N>^2)  = " << sDev << "\n";
124        ofs << "# N\tcounts[N]\n";
125 <      for (int i = 0; i < counts_.size(); ++i) {
125 >      for (unsigned int i = 0; i < counts_.size(); ++i) {
126          ofs << i << "\t" << counts_[i] << "\n";
127        }
128        

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines