ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/trunk/src/selection/SelectionEvaluator.hpp
(Generate patch)

Comparing trunk/src/selection/SelectionEvaluator.hpp (file contents):
Revision 1815 by gezelter, Mon Oct 1 18:21:15 2012 UTC vs.
Revision 1816 by gezelter, Fri Dec 7 18:33:33 2012 UTC

# Line 74 | Line 74 | namespace OpenMD {
74      bool loadScriptFile(const std::string& filename);
75          
76      OpenMDBitSet evaluate();
77 +    OpenMDBitSet evaluate(int frame);
78          
79      /**
80       * Tests if the result from evaluation of script is dynamic.
# Line 118 | Line 119 | namespace OpenMD {
119          
120      void define();
121      void select(OpenMDBitSet& bs);
122 +    void select(OpenMDBitSet& bs, int frame);
123      void predefine(const std::string& script);
124  
125      void instructionDispatchLoop(OpenMDBitSet& bs);
126 +    void instructionDispatchLoop(OpenMDBitSet& bs, int frame);
127  
128      void withinInstruction(const Token& instruction, OpenMDBitSet& bs);
129 +    void withinInstruction(const Token& instruction, OpenMDBitSet& bs, int frame);
130      OpenMDBitSet allInstruction();
131          
132      OpenMDBitSet comparatorInstruction(const Token& instruction);
133 +    OpenMDBitSet comparatorInstruction(const Token& instruction, int frame);
134      void compareProperty(StuntDouble* sd, OpenMDBitSet& bs, int property, int comparator, float comparisonValue);
135 +    void compareProperty(StuntDouble* sd, OpenMDBitSet& bs, int property, int comparator, float comparisonValue, int frame);
136      OpenMDBitSet nameInstruction(const std::string& name);
137      OpenMDBitSet indexInstruction(const boost::any& value);
138      OpenMDBitSet expression(const std::vector<Token>& tokens, int pc);
139 +    OpenMDBitSet expression(const std::vector<Token>& tokens, int pc, int frame);
140  
141      OpenMDBitSet lookupValue(const std::string& variable);
142  
143      OpenMDBitSet hull();
144 +    OpenMDBitSet hull(int frame);
145          
146      void evalError(const std::string& message) {
147        sprintf( painCave.errMsg,
# Line 171 | Line 179 | namespace OpenMD {
179      bool containDynamicToken(const std::vector<Token>& tokens);
180  
181      RealType getCharge(Atom* atom);
182 +    RealType getCharge(Atom* atom, int frame);
183          
184      SelectionCompiler compiler;
185  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines