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

Debugged smearing and adding HMC functions for hirep

This commit is contained in:
Guido Cossu
2016-07-13 17:51:18 +01:00
parent a9ae30f868
commit 9dc345e8e8
12 changed files with 150 additions and 38 deletions

View File

@ -67,7 +67,7 @@ public:
TwoFlavourEvenOddPseudoFermionAction<ImplPolicy> Nf2(FermOp,CG,CG);
//Set smearing (true/false), default: false
Nf2.is_smeared=false;
Nf2.is_smeared=true;
//Collect actions
ActionLevel<LatticeGaugeField> Level1(1);

View File

@ -43,8 +43,8 @@ class HmcRunner : public NerscHmcRunner {
void BuildTheAction(int argc, char **argv)
{
typedef WilsonImplR ImplPolicy; // gauge field implemetation
typedef WilsonFermionR FermionAction; // type of lattice fermions
typedef WilsonImplR ImplPolicy; // gauge field implemetation for the pseudofermions
typedef WilsonFermionR FermionAction; // type of lattice fermions (Wilson, DW, ...)
typedef typename FermionAction::FermionField FermionField;
UGrid = SpaceTimeGrid::makeFourDimGrid(

View File

@ -112,7 +112,7 @@ int main(int argc, char** argv) {
AdjointRep<3> AdjRep(grid);
// AdjointRepresentation has the predefined number of colours Nc
Representations<AdjointRepresentation> RepresentationTypes(grid);
Representations<FundamentalRepresentation, AdjointRepresentation> RepresentationTypes(grid);
Grid_finalize();
}