From f9e505108b10580587743c4cc797961b67a4a15e Mon Sep 17 00:00:00 2001 From: ferben Date: Fri, 22 Feb 2019 16:31:17 +0000 Subject: [PATCH] test Aslash --- tests/hadrons/Test_hadrons_distil.cc | 34 ++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/tests/hadrons/Test_hadrons_distil.cc b/tests/hadrons/Test_hadrons_distil.cc index 655be9cf..3aab094d 100644 --- a/tests/hadrons/Test_hadrons_distil.cc +++ b/tests/hadrons/Test_hadrons_distil.cc @@ -297,6 +297,33 @@ void test_Baryon2pt(Application &application) Baryon2ptPar.output="C2_baryon"; application.createModule("C2_b",Baryon2ptPar); } +///////////////////////////////////////////////////////////// +// emField +///////////////////////////////////////////////////////////// +void test_em(Application &application) +{ + MGauge::StochEm::Par StochEmPar; + StochEmPar.gauge=PhotonR::Gauge::feynman; + StochEmPar.zmScheme=PhotonR::ZmScheme::qedL; + application.createModule("Em",StochEmPar); +} + +///////////////////////////////////////////////////////////// +// MesonA2ASlash +///////////////////////////////////////////////////////////// + +void test_Aslash(Application &application) +{ + // DistilVectors parameters + MContraction::A2AAslashField::Par A2AAslashFieldPar; + A2AAslashFieldPar.left="Peramb_unsmeared_sink"; + A2AAslashFieldPar.right="Peramb_unsmeared_sink"; + A2AAslashFieldPar.output="unsmeared_Aslash"; + A2AAslashFieldPar.emField={"Em"}; + A2AAslashFieldPar.cacheBlock=2; + A2AAslashFieldPar.block=4; + application.createModule("Aslash_field",A2AAslashFieldPar); +} bool bNumber( int &ri, const char * & pstr, bool bGobbleWhiteSpace = true ) { @@ -761,6 +788,13 @@ int main(int argc, char *argv[]) test_Global( application ); test_Baryon2pt( application ); break; + case 10: // 3 + test_Global( application ); + test_LapEvec( application ); + test_Perambulators( application ); + test_em( application ); + test_Aslash( application ); + break; } LOG(Message) << "====== XML creation for test " << iTestNum << " complete ======" << std::endl;