| # | Line 57 | Line 57 | namespace OpenMD { | |
|---|---|---|
| 57 | const string& filename, | |
| 58 | const string& sele, | |
| 59 | double rCut, int nbins) | |
| 60 | < | : StaticAnalyser(info, filename), selectionScript_(sele), evaluator_(info), |
| 61 | < | seleMan_(info) { |
| 60 | > | : StaticAnalyser(info, filename), selectionScript_(sele), seleMan_(info), |
| 61 | > | evaluator_(info) { |
| 62 | ||
| 63 | setOutputName(getPrefix(filename) + ".bad"); | |
| 64 | ||
| # | Line 72 | Line 72 | namespace OpenMD { | |
| 72 | rCut_ = rCut; | |
| 73 | nBins_ = nbins; | |
| 74 | ||
| 75 | – | |
| 75 | // Theta can take values from 0 to 180 | |
| 76 | + | |
| 77 | deltaTheta_ = (180.0) / nBins_; | |
| 78 | histogram_.resize(nBins_); | |
| 79 | } | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines |
| > | Changed lines |