1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-06-13 20:57:06 +01:00

Trying to fix a bug with SU4 mesons (still under investigation)

This commit is contained in:
David Preti
2018-01-06 15:57:38 +01:00
parent 4ce63af7d5
commit 9028e278e4
4 changed files with 164 additions and 3 deletions

View File

@ -66,7 +66,8 @@ void TLoad::setup(void)
void TLoad::execute(void)
{
FieldMetaData header;
std::string fileName = par().file + "."
std::string fileName = par().file + "ckpoint_lat."
+ std::to_string(env().getTrajectory());
LOG(Message) << "Loading NERSC configuration from file '" << fileName

View File

@ -65,5 +65,5 @@ void TRandom::execute(void)
{
LOG(Message) << "Generating random gauge configuration" << std::endl;
LatticeGaugeField &U = *env().createLattice<LatticeGaugeField>(getName());
SU3::HotConfiguration(*env().get4dRng(), U);
SU4::HotConfiguration(*env().get4dRng(), U);
}

View File

@ -65,5 +65,5 @@ void TUnit::execute(void)
{
LOG(Message) << "Creating unit gauge configuration" << std::endl;
LatticeGaugeField &U = *env().createLattice<LatticeGaugeField>(getName());
SU3::ColdConfiguration(*env().get4dRng(), U);
SU4::ColdConfiguration(*env().get4dRng(), U);
}