68 |
|
|
69 |
|
SelectionEvaluator(SimInfo* info); |
70 |
|
|
71 |
– |
|
71 |
|
bool loadScriptString(const std::string& script); |
72 |
|
bool loadScriptFile(const std::string& filename); |
73 |
|
|
131 |
|
OOPSEBitSet lookupValue(const std::string& variable); |
132 |
|
|
133 |
|
void evalError(const std::string& message) { |
134 |
< |
std::cerr << "SelectionEvaulator Error: " << message << std::endl; |
134 |
> |
sprintf( painCave.errMsg, |
135 |
> |
"SelectionEvaluator Error: %s\n", message.c_str()); |
136 |
> |
painCave.severity = OOPSE_ERROR; |
137 |
> |
painCave.isFatal = 1; |
138 |
> |
simError(); |
139 |
|
} |
140 |
|
|
141 |
|
void unrecognizedCommand(const Token& token) { |
191 |
|
NameFinder nameFinder; |
192 |
|
DistanceFinder distanceFinder; |
193 |
|
IndexFinder indexFinder; |
194 |
< |
int nStuntDouble; //natoms + nrigidbodies |
194 |
> |
int nStuntDouble; //nGLOBALatoms + nGLOBALrigidbodies |
195 |
|
|
196 |
|
typedef std::map<std::string, boost::any > VariablesType; |
197 |
|
VariablesType variables; |