#include "sim.hpp"
+#include "obs_phi2.hpp"
+
o815 *O815;
sim *Sim;
cout << "Usage: ./heatbath [OPTIONS] [obs1] ... [obsN]" << endl << endl;
}
+void parseLonelyArgs()
+{
+ for (vector<char*>::iterator lonit = O815->lonelyArgs.begin(); lonit != O815->lonelyArgs.end(); ++lonit) {
+ if ( strcmp(*lonit, "phi2") == 0 ) {
+ *O815->out->log << "MASTER: registered observable: phi2" << endl << flush;
+ O815->observables.push_back(new obs_phi2(O815));
+ }
+ }
+}
+
int main (int argc, char *argv[])
{
O815 = new o815(argc, argv, "heatbath", specOps, &helpHeader);
O815->Sim = new sim(O815);
- //parseLonelyArgs();
+ parseLonelyArgs();
O815->mainLoop();