54 |
|
NanoLength::NanoLength(SimInfo* info, |
55 |
|
const std::string& filename, |
56 |
|
const std::string& sele) |
57 |
< |
: StaticAnalyser(info, filename), selectionScript_(sele), evaluator_(info), |
58 |
< |
seleMan_(info) { |
57 |
> |
: StaticAnalyser(info, filename), selectionScript_(sele), seleMan_(info), |
58 |
> |
evaluator_(info) { |
59 |
> |
|
60 |
|
setOutputName(getPrefix(filename) + ".length"); |
61 |
|
|
62 |
|
osq.open(getOutputFileName().c_str()); |
63 |
< |
|
63 |
> |
|
64 |
|
evaluator_.loadScriptString(sele); |
65 |
|
if (!evaluator_.isDynamic()) { |
66 |
|
seleMan_.setSelectionSet(evaluator_.evaluate()); |
67 |
|
} |
68 |
|
frameCounter_ = 0; |
69 |
< |
} |
69 |
> |
} |
70 |
|
|
71 |
|
void NanoLength::process() { |
72 |
|
Molecule* mol; |