61 using BaseVisitor::visit;
62 enum ZConsState { zsFixed = 0, zsMoving };
67 virtual void visit(
Atom* atom);
71 virtual void update();
73 bool haveZconsMol() {
return !zmolStates_.empty(); }
75 virtual const std::string toString();
78 void internalVisit(
StuntDouble* sd,
const std::string& prefix);
79 bool isZconstraint(
int index, std::string& prefix);
80 void readZconsFile(RealType time);
83 std::vector<RealType> zconsPos;
84 std::map<int, ZConsState> zmolStates_;
87 std::string zconsFilename_;
91 std::map<int, int> zatomToZmol_;