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

Comparing trunk/src/applications/staticProps/TetrahedralityParam.cpp (file contents):
Revision 1782 by gezelter, Wed Aug 22 02:28:28 2012 UTC vs.
Revision 1786 by plouden, Fri Aug 24 17:14:11 2012 UTC

# Line 84 | Line 84 | namespace OpenMD {
84      Q_histogram_.clear();
85    }
86    
87 <  void TetrahedralityParam::initalizeHistogram() {
87 >  void TetrahedralityParam::initializeHistogram() {
88      std::fill(Q_histogram_.begin(), Q_histogram_.end(), 0);
89    }
90    
# Line 174 | Line 174 | namespace OpenMD {
174          // Sort the vector using predicate and std::sort
175          std::sort(myNeighbors.begin(), myNeighbors.end());
176  
177 <        std::cerr << myNeighbors.size() <<  " neighbors within " << rCut_  << " A" << " \n";
177 >        //std::cerr << myNeighbors.size() <<  " neighbors within " << rCut_  << " A" << " \n";
178          
179          // Use only the 4 closest neighbors to do the rest of the work:
180          
# Line 182 | Line 182 | namespace OpenMD {
182          int nang = int (0.5 * (nbors * (nbors - 1)));
183  
184          rk = sd->getPos();
185 <        std::cerr<<nbors<<endl;
185 >        //std::cerr<<nbors<<endl;
186          for (int i = 0; i < nbors-1; i++) {      
187  
188            sdi = myNeighbors[i].second;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines