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 1782 by gezelter, Wed Aug 22 02:28:28 2012 UTC vs.
Revision 1790 by gezelter, Thu Aug 30 17:18:22 2012 UTC

# Line 145 | Line 145 | namespace OpenMD {
145    }
146  
147    
148 <  void BOPofR::initalizeHistogram() {
148 >  void BOPofR::initializeHistogram() {
149          for (int i = 0; i < nBins_; i++){
150                  RCount_[i] = 0;
151                  WofR_[i] = 0;
# Line 322 | Line 322 | namespace OpenMD {
322  
323      if ( distCOM < len_){
324        // Figure out where this distance goes...
325 <      int whichBin = distCOM / deltaR_;
325 >      int whichBin = int(distCOM / deltaR_);
326        RCount_[whichBin]++;
327  
328        if(real(what[6]) < -0.15){                                

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines