mirror of
https://github.com/paboyle/Grid.git
synced 2025-04-09 21:50:45 +01:00
red black for Ls vectorised is 4d red black. Update accordingly now I've made this choice
This commit is contained in:
parent
dd62a61c5c
commit
de3e79d300
@ -44,9 +44,9 @@ struct scal {
|
|||||||
Gamma::GammaT
|
Gamma::GammaT
|
||||||
};
|
};
|
||||||
|
|
||||||
typedef WilsonFermion5D<DomainWallRedBlack5dImplR> WilsonFermion5DR;
|
typedef WilsonFermion5D<DomainWallVec5dImplR> WilsonFermion5DR;
|
||||||
typedef WilsonFermion5D<DomainWallRedBlack5dImplF> WilsonFermion5DF;
|
typedef WilsonFermion5D<DomainWallVec5dImplF> WilsonFermion5DF;
|
||||||
typedef WilsonFermion5D<DomainWallRedBlack5dImplD> WilsonFermion5DD;
|
typedef WilsonFermion5D<DomainWallVec5dImplD> WilsonFermion5DD;
|
||||||
|
|
||||||
typedef WilsonFermion5D<WilsonImplR> WilsonFermion5D_OKR;
|
typedef WilsonFermion5D<WilsonImplR> WilsonFermion5D_OKR;
|
||||||
|
|
||||||
@ -97,14 +97,12 @@ int main (int argc, char ** argv)
|
|||||||
RealD M5 =1.8;
|
RealD M5 =1.8;
|
||||||
typename WilsonFermion5DR::ImplParams params;
|
typename WilsonFermion5DR::ImplParams params;
|
||||||
|
|
||||||
WilsonFermion5DR Dw(1,Umu,*FGrid,*FrbGrid,*sUGrid,M5,params);
|
WilsonFermion5DR Dw(Umu,*FGrid,*FrbGrid,*sUGrid,*sUrbGrid,M5,params);
|
||||||
|
|
||||||
Dw.Dhop(src,result,0);
|
Dw.Dhop(src,result,0);
|
||||||
|
|
||||||
std::cout << "Norm src = "<<norm2(src)<<" Norm res = "<<norm2(result) << std::endl;
|
std::cout << "Norm src = "<<norm2(src)<<" Norm res = "<<norm2(result) << std::endl;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
GridCartesian * FokGrid = SpaceTimeGrid::makeFiveDimGrid(Ls,UGrid);
|
GridCartesian * FokGrid = SpaceTimeGrid::makeFiveDimGrid(Ls,UGrid);
|
||||||
GridRedBlackCartesian * FokrbGrid = SpaceTimeGrid::makeFiveDimRedBlackGrid(Ls,UGrid);
|
GridRedBlackCartesian * FokrbGrid = SpaceTimeGrid::makeFiveDimRedBlackGrid(Ls,UGrid);
|
||||||
WilsonFermion5D_OKR Dok(Umu,*FokGrid,*FokrbGrid,*UGrid,*UrbGrid,M5,params);
|
WilsonFermion5D_OKR Dok(Umu,*FokGrid,*FokrbGrid,*UGrid,*UrbGrid,M5,params);
|
||||||
@ -131,7 +129,7 @@ int main (int argc, char ** argv)
|
|||||||
|
|
||||||
std::cout << "Reference = "<<norm2(src_ok)<<" res = "<<norm2(ref_ok) << std::endl;
|
std::cout << "Reference = "<<norm2(src_ok)<<" res = "<<norm2(ref_ok) << std::endl;
|
||||||
ref_ok = ref_ok - result_ok;
|
ref_ok = ref_ok - result_ok;
|
||||||
std::cout << "Reference diff = "<<norm2(result_ok)<< std::endl;
|
std::cout << "Result = "<<norm2(result_ok)<< std::endl;
|
||||||
std::cout << "Reference diff = "<<norm2(ref_ok)<< std::endl;
|
std::cout << "Reference diff = "<<norm2(ref_ok)<< std::endl;
|
||||||
|
|
||||||
Grid_finalize();
|
Grid_finalize();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user