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:
@ -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);
|
||||
|
@ -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(
|
||||
|
@ -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();
|
||||
}
|
||||
|
Reference in New Issue
Block a user