From bd1d1cca34e097e1ddced6f2106e0acfa58868a7 Mon Sep 17 00:00:00 2001 From: Antonin Portelli Date: Tue, 6 Dec 2016 12:12:59 +0900 Subject: [PATCH] Hadrons: code cleaning --- extras/Hadrons/Modules/MContraction/Meson.hpp | 2 +- extras/Hadrons/Modules/MSource/Point.hpp | 4 ++-- extras/Hadrons/Modules/MSource/Z2.hpp | 4 +++- tests/hadrons/Test_hadrons_xmldriven.cc | 2 +- 4 files changed, 7 insertions(+), 5 deletions(-) diff --git a/extras/Hadrons/Modules/MContraction/Meson.hpp b/extras/Hadrons/Modules/MContraction/Meson.hpp index 517b509d..b2625b3e 100644 --- a/extras/Hadrons/Modules/MContraction/Meson.hpp +++ b/extras/Hadrons/Modules/MContraction/Meson.hpp @@ -73,7 +73,7 @@ public: }; /****************************************************************************** - * TMeson implementation * + * TMeson implementation * ******************************************************************************/ // constructor ///////////////////////////////////////////////////////////////// template diff --git a/extras/Hadrons/Modules/MSource/Point.hpp b/extras/Hadrons/Modules/MSource/Point.hpp index ad0a37b5..456de76c 100644 --- a/extras/Hadrons/Modules/MSource/Point.hpp +++ b/extras/Hadrons/Modules/MSource/Point.hpp @@ -38,9 +38,9 @@ BEGIN_HADRONS_NAMESPACE Point source ------------ - * src_x = delta_x,o + * src_x = delta_x,position - * options: o + * options: - position: space-separated integer sequence (e.g. "0 1 1 0") */ diff --git a/extras/Hadrons/Modules/MSource/Z2.hpp b/extras/Hadrons/Modules/MSource/Z2.hpp index 21d0b2bd..76fefc8f 100644 --- a/extras/Hadrons/Modules/MSource/Z2.hpp +++ b/extras/Hadrons/Modules/MSource/Z2.hpp @@ -38,7 +38,9 @@ BEGIN_HADRONS_NAMESPACE Z_2 stochastic source ----------------------------- - * src_x = eta_x * theta(x_3 - ta) * theta(tb - x_3) + * src_x = eta_x * theta(x_3 - tA) * theta(tB - x_3) + + the eta_x are independent uniform random numbers in {+/- 1 +/- i} * options: - tA: begin timeslice (integer) diff --git a/tests/hadrons/Test_hadrons_xmldriven.cc b/tests/hadrons/Test_hadrons_xmldriven.cc index ad43b6cc..feb547e9 100644 --- a/tests/hadrons/Test_hadrons_xmldriven.cc +++ b/tests/hadrons/Test_hadrons_xmldriven.cc @@ -1,7 +1,7 @@ /******************************************************************************* Grid physics library, www.github.com/paboyle/Grid -Source file: programs/Hadrons/Hadrons.cc +Source file: tests/hadrons/Test_hadrons_xmldriven.cc Copyright (C) 2015