mirror of
https://github.com/paboyle/Grid.git
synced 2024-11-10 07:55:35 +00:00
test Aslash
This commit is contained in:
parent
292ff33f7f
commit
f9e505108b
@ -297,6 +297,33 @@ void test_Baryon2pt(Application &application)
|
|||||||
Baryon2ptPar.output="C2_baryon";
|
Baryon2ptPar.output="C2_baryon";
|
||||||
application.createModule<MDistil::Baryon2pt>("C2_b",Baryon2ptPar);
|
application.createModule<MDistil::Baryon2pt>("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<MGauge::StochEm>("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<MContraction::A2AAslashField>("Aslash_field",A2AAslashFieldPar);
|
||||||
|
}
|
||||||
|
|
||||||
bool bNumber( int &ri, const char * & pstr, bool bGobbleWhiteSpace = true )
|
bool bNumber( int &ri, const char * & pstr, bool bGobbleWhiteSpace = true )
|
||||||
{
|
{
|
||||||
@ -761,6 +788,13 @@ int main(int argc, char *argv[])
|
|||||||
test_Global( application );
|
test_Global( application );
|
||||||
test_Baryon2pt( application );
|
test_Baryon2pt( application );
|
||||||
break;
|
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;
|
LOG(Message) << "====== XML creation for test " << iTestNum << " complete ======" << std::endl;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user