]> git.treefish.org Git - phys/u1casc.git/commitdiff
...
authorAlexander Schmidt <alex@treefish.org>
Fri, 2 Jan 2015 21:17:40 +0000 (22:17 +0100)
committerAlexander Schmidt <alex@treefish.org>
Fri, 2 Jan 2015 21:17:40 +0000 (22:17 +0100)
u1casc-ordinary/u1casc-ordinary.cpp

index 3294a178bea9ef40950d387169fa06df835dd25a..6cab50579504077f8690350ccd3117b469be57a2 100644 (file)
@@ -20,6 +20,7 @@ sim *Sim;
 #include "obs_corriso10.hpp"
 #include "obs_corriso00.hpp"
 #include "obs_corrtetra.hpp"
 #include "obs_corriso10.hpp"
 #include "obs_corriso00.hpp"
 #include "obs_corrtetra.hpp"
+#include "obs_diagcorr.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" },
@@ -110,6 +111,10 @@ void parseLonelyArgs()
       *O815->out->log << "MASTER: registered observable: corrtetra" << endl << flush;
       O815->observables.push_back(new obs_corrtetra(O815));
     }
       *O815->out->log << "MASTER: registered observable: corrtetra" << endl << flush;
       O815->observables.push_back(new obs_corrtetra(O815));
     }
+    else if ( strcmp(*lonit, "diagcorr") == 0 ) {
+      *O815->out->log << "MASTER: registered observable: diagcorr" << endl << flush;
+      O815->observables.push_back(new obs_diagcorr(O815));
+    }
   }
 }
 
   }
 }