]> git.treefish.org Git - phys/u1casc.git/blobdiff - u1casc-ordinary/u1casc-ordinary.cpp
Migrated observable plaq.
[phys/u1casc.git] / u1casc-ordinary / u1casc-ordinary.cpp
index 4956ee1b304e1fd2d9366eb24a0557570f1a505b..554f7e4281d1ec271614e25f46d340b130ed6d1b 100644 (file)
@@ -11,6 +11,7 @@ sim *Sim;
 //const complex<double> _i_ = complex<double>(0.0,1.0);
 
 #include "obs_phi2.hpp"
 //const complex<double> _i_ = complex<double>(0.0,1.0);
 
 #include "obs_phi2.hpp"
+#include "obs_plaq.hpp"
 
 o815::comoption specOps[] = {
   { "kappaone", required_argument, NULL, 'r', "set inverse mass kappa_1", "min:max:inc" },
 
 o815::comoption specOps[] = {
   { "kappaone", required_argument, NULL, 'r', "set inverse mass kappa_1", "min:max:inc" },
@@ -65,16 +66,10 @@ void parseLonelyArgs()
       *O815->out->log << "MASTER: registered observable: phi2" << endl << flush;
       O815->observables.push_back(new obs_phi2(O815));
     }
       *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));
+    else if ( strcmp(*lonit, "plaq") == 0 ) {
+      *O815->out->log << "MASTER: registered observable: plaq" << endl << flush;
+      O815->observables.push_back(new obs_plaq(O815));
     }
     }
-    else if ( strcmp(*lonit, "phip2_hist") == 0 ) {
-      *O815->out->log << "MASTER: registered observable: phip2_hist" << endl << flush;
-      O815->observables.push_back(new obs_phip2_hist(O815));
-    }
-    */
   }
 }
 
   }
 }