54 |
|
const std::string& filename, |
55 |
|
const std::string& sele1, |
56 |
|
int nbins) |
57 |
< |
: StaticAnalyser(info, filename), selectionScript1_(sele1), |
58 |
< |
evaluator1_(info), seleMan1_(info), nBins_(nbins), info_(info) { |
57 |
> |
: StaticAnalyser(info, filename), info_(info), |
58 |
> |
selectionScript1_(sele1), seleMan1_(info_), evaluator1_(info_), |
59 |
> |
nBins_(nbins) { |
60 |
|
|
61 |
|
setOutputName(getPrefix(filename) + ".freqs"); |
62 |
|
|
163 |
|
Atom* atom2; |
164 |
|
StuntDouble* sd1; |
165 |
|
int ii, sdID, molID, sdID2; |
166 |
< |
RealType li; |
166 |
> |
RealType li(0.0); |
167 |
|
RealType sPot, s1, s2; |
168 |
|
RealType freqShift; |
169 |
|
std::string name; |
227 |
|
|
228 |
|
sPot = sd1->getSitePotential(); |
229 |
|
|
230 |
< |
// Subtract out the contribution from every other site on this molecule: |
230 |
> |
// Subtract out the contribution from every other site on this |
231 |
> |
// molecule: |
232 |
|
for(atom2 = mol->beginAtom(ai2); atom2 != NULL; |
233 |
|
atom2 = mol->nextAtom(ai2)) { |
234 |
|
|