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

Comparing trunk/src/applications/staticProps/BOPofR.cpp (file contents):
Revision 1785 by jmichalk, Wed Aug 22 18:43:27 2012 UTC vs.
Revision 1793 by gezelter, Fri Aug 31 21:16:10 2012 UTC

# Line 181 | Line 181 | namespace OpenMD {
181      std::vector<RealType> Q;
182      std::vector<ComplexType> W;
183      std::vector<ComplexType> W_hat;
184 <    int nBonds, Nbonds;
184 >    int nBonds;
185      SphericalHarmonic sphericalHarmonic;
186      int i;
187      
# Line 200 | Line 200 | namespace OpenMD {
200      Q.resize(lMax_+1);
201      W.resize(lMax_+1);
202      W_hat.resize(lMax_+1);
203    Nbonds = 0;
203  
204      for (int istep = 0; istep < nFrames; istep += step_) {
205        reader.readFrame(istep);
# Line 322 | Line 321 | namespace OpenMD {
321  
322      if ( distCOM < len_){
323        // Figure out where this distance goes...
324 <      int whichBin = distCOM / deltaR_;
324 >      int whichBin = int(distCOM / deltaR_);
325        RCount_[whichBin]++;
326  
327        if(real(what[6]) < -0.15){                                

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines