mirror of
https://github.com/paboyle/Grid.git
synced 2025-04-04 19:25:56 +01:00
Hadrons: generelalised FImpl for actions
This commit is contained in:
parent
9ad3d3453e
commit
b5555d85a7
@ -75,7 +75,7 @@ void ADWF::execute(void)
|
||||
auto &grb4 = *env().getRbGrid();
|
||||
auto &g5 = *env().getGrid(par().Ls);
|
||||
auto &grb5 = *env().getRbGrid(par().Ls);
|
||||
FMat *fMatPt = new DomainWallFermionR(U, g5, grb5, g4, grb4, par().mass,
|
||||
par().M5);
|
||||
FMat *fMatPt = new DomainWallFermion<FIMPL>(U, g5, grb5, g4, grb4,
|
||||
par().mass, par().M5);
|
||||
env().setObject(getName(), fMatPt);
|
||||
}
|
||||
|
@ -70,6 +70,6 @@ void AWilson::execute()
|
||||
auto &U = *env().getObject<LatticeGaugeField>(par().gauge);
|
||||
auto &grid = *env().getGrid();
|
||||
auto &gridRb = *env().getRbGrid();
|
||||
FMat *fMatPt = new WilsonFermionR(U, grid, gridRb, par().mass);
|
||||
FMat *fMatPt = new WilsonFermion<FIMPL>(U, grid, gridRb, par().mass);
|
||||
env().setObject(getName(), fMatPt);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user