X-Git-Url: http://git.treefish.org/~alex/phys/heatbath.git/blobdiff_plain/5631e78e06df267533ac5e8d97c3053d72a31eb4..628f4432052ed72944d5cf663c0cde4da9ac6d56:/heatbath.cpp diff --git a/heatbath.cpp b/heatbath.cpp index dbfe63a..13b6f51 100644 --- a/heatbath.cpp +++ b/heatbath.cpp @@ -16,6 +16,7 @@ #endif #include "obs_phi2.hpp" +#include "obs_phi2_hist.hpp" o815 *O815; sim *Sim; @@ -48,7 +49,11 @@ void parseLonelyArgs() if ( strcmp(*lonit, "phi2") == 0 ) { *O815->out->log << "MASTER: registered observable: phi2" << endl << flush; O815->observables.push_back(new obs_phi2(O815)); - } + } + else if ( strcmp(*lonit, "phi2_hist") == 0 ) { + *O815->out->log << "MASTER: registered observable: phi2_hist" << endl << flush; + O815->observables.push_back(new obs_phi2_hist(O815)); + } } }