diff --git a/Grid/qcd/QCD.h b/Grid/qcd/QCD.h index faacac63..76d7def4 100644 --- a/Grid/qcd/QCD.h +++ b/Grid/qcd/QCD.h @@ -47,7 +47,7 @@ static constexpr int Ym = 5; static constexpr int Zm = 6; static constexpr int Tm = 7; -static constexpr int Nc=3; +static constexpr int Nc=Config_Nc; static constexpr int Ns=4; static constexpr int Nd=4; static constexpr int Nhs=2; // half spinor diff --git a/benchmarks/Benchmark_ITT.cc b/benchmarks/Benchmark_ITT.cc index 5e1e1f66..df5427c1 100644 --- a/benchmarks/Benchmark_ITT.cc +++ b/benchmarks/Benchmark_ITT.cc @@ -1,4 +1,4 @@ - /************************************************************************************* +/************************************************************************************* Grid physics library, www.github.com/paboyle/Grid @@ -358,6 +358,7 @@ public: ///////// Welcome message //////////// std::cout<::HotConfiguration(RNG4,Umu); Fermion src (FGrid); random(RNG5,src); Fermion src_e (FrbGrid); Fermion src_o (FrbGrid); @@ -449,7 +450,13 @@ public: FGrid->Barrier(); double volume=Ls; for(int mu=0;mumflops_best ) mflops_best = mflops; if ( mflops::HotConfiguration(RNG4,Umu); typename Action::ImplParams params; Action Ds(Umu,Umu,*FGrid,*FrbGrid,mass,c1,c2,u0,params); diff --git a/benchmarks/Benchmark_dwf.cc b/benchmarks/Benchmark_dwf.cc index 2ef5921d..d7b49122 100644 --- a/benchmarks/Benchmark_dwf.cc +++ b/benchmarks/Benchmark_dwf.cc @@ -108,7 +108,7 @@ int main (int argc, char ** argv) std::cout << GridLogMessage << "Drawing gauge field" << std::endl; LatticeGaugeField Umu(UGrid); - SU3::HotConfiguration(RNG4,Umu); + SU::HotConfiguration(RNG4,Umu); std::cout << GridLogMessage << "Random gauge initialised " << std::endl; #if 0 Umu=1.0; diff --git a/benchmarks/Benchmark_gparity.cc b/benchmarks/Benchmark_gparity.cc index b03e1b63..7fa7508a 100644 --- a/benchmarks/Benchmark_gparity.cc +++ b/benchmarks/Benchmark_gparity.cc @@ -63,7 +63,7 @@ int main (int argc, char ** argv) std::cout << GridLogMessage << "Drawing gauge field" << std::endl; LatticeGaugeFieldF Umu(UGrid); - SU3::HotConfiguration(RNG4,Umu); + SU::HotConfiguration(RNG4,Umu); std::cout << GridLogMessage << "Random gauge initialised " << std::endl; RealD mass=0.1; diff --git a/benchmarks/Benchmark_mooee.cc b/benchmarks/Benchmark_mooee.cc index ef16c908..0aaccecc 100644 --- a/benchmarks/Benchmark_mooee.cc +++ b/benchmarks/Benchmark_mooee.cc @@ -30,7 +30,7 @@ Author: paboyle using namespace std; using namespace Grid; - ; + int main (int argc, char ** argv) @@ -53,7 +53,7 @@ int main (int argc, char ** argv) GridParallelRNG RNG4(UGrid); RNG4.SeedFixedIntegers(seeds4); std::cout << GridLogMessage << "Seeded"<::HotConfiguration(RNG4,Umu); std::cout << GridLogMessage << "made random gauge fields"< U(4,&Fine); - SU3::HotConfiguration(pRNGa,Umu); + SU::HotConfiguration(pRNGa,Umu); FieldMetaData header; diff --git a/tests/IO/Test_nersc_io.cc b/tests/IO/Test_nersc_io.cc index f5413e3b..c15c320e 100644 --- a/tests/IO/Test_nersc_io.cc +++ b/tests/IO/Test_nersc_io.cc @@ -84,7 +84,7 @@ int main (int argc, char ** argv) std::vector U(4,&Fine); - SU3::HotConfiguration(pRNGa,Umu); + SU::HotConfiguration(pRNGa,Umu); FieldMetaData header; std::string file("./ckpoint_lat.4000"); diff --git a/tests/Test_cayley_even_odd_vec.cc b/tests/Test_cayley_even_odd_vec.cc index 0e71d910..c345efd9 100644 --- a/tests/Test_cayley_even_odd_vec.cc +++ b/tests/Test_cayley_even_odd_vec.cc @@ -80,7 +80,7 @@ int main (int argc, char ** argv) GridParallelRNG sRNG5(sFGrid); sRNG5.SeedFixedIntegers(seeds5); LatticeGaugeField Umu(UGrid); - SU3::HotConfiguration(RNG4,Umu); + SU::HotConfiguration(RNG4,Umu); RealD mass=0.1; RealD M5 =1.8; diff --git a/tests/Test_compressed_lanczos_hot_start.cc b/tests/Test_compressed_lanczos_hot_start.cc index 8eb7a921..dc22cfca 100644 --- a/tests/Test_compressed_lanczos_hot_start.cc +++ b/tests/Test_compressed_lanczos_hot_start.cc @@ -202,7 +202,7 @@ int main (int argc, char ** argv) { std::vector seeds4({1,2,3,4}); GridParallelRNG RNG4(UGrid); RNG4.SeedFixedIntegers(seeds4); LatticeGaugeField Umu(UGrid); - SU3::HotConfiguration(RNG4,Umu); + SU::HotConfiguration(RNG4,Umu); // FieldMetaData header; // NerscIO::readConfiguration(Umu,header,Params.config); diff --git a/tests/Test_dwf_mixedcg_prec.cc b/tests/Test_dwf_mixedcg_prec.cc index be881db9..da0b54cd 100644 --- a/tests/Test_dwf_mixedcg_prec.cc +++ b/tests/Test_dwf_mixedcg_prec.cc @@ -71,7 +71,7 @@ int main (int argc, char ** argv) LatticeGaugeFieldD Umu(UGrid); LatticeGaugeFieldF Umu_f(UGrid_f); - SU3::HotConfiguration(RNG4,Umu); + SU::HotConfiguration(RNG4,Umu); precisionChange(Umu_f,Umu); diff --git a/tests/Test_dwf_mixedcg_prec_halfcomms.cc b/tests/Test_dwf_mixedcg_prec_halfcomms.cc index 4d94632c..8b0126dc 100644 --- a/tests/Test_dwf_mixedcg_prec_halfcomms.cc +++ b/tests/Test_dwf_mixedcg_prec_halfcomms.cc @@ -69,7 +69,7 @@ int main (int argc, char ** argv) LatticeGaugeFieldD Umu(UGrid); LatticeGaugeFieldF Umu_f(UGrid_f); - SU3::HotConfiguration(RNG4,Umu); + SU::HotConfiguration(RNG4,Umu); precisionChange(Umu_f,Umu); diff --git a/tests/core/Test_cf_coarsen_support.cc b/tests/core/Test_cf_coarsen_support.cc index e787905e..ad0309b9 100644 --- a/tests/core/Test_cf_coarsen_support.cc +++ b/tests/core/Test_cf_coarsen_support.cc @@ -64,7 +64,7 @@ int main (int argc, char ** argv) LatticeFermion ref(FGrid); ref=Zero(); LatticeFermion tmp(FGrid); LatticeFermion err(FGrid); - LatticeGaugeField Umu(UGrid); SU3::HotConfiguration(RNG4,Umu); + LatticeGaugeField Umu(UGrid); SU::HotConfiguration(RNG4,Umu); std::vector U(4,UGrid); for(int mu=0;mu::HotConfiguration(RNG4,Umu); // std::vector U(4,UGrid); // for(int mu=0;mu::HotConfiguration(RNG4,Umu); std::vector U(4,UGrid); RealD mass=0.1; diff --git a/tests/core/Test_dwf_eofa_even_odd.cc b/tests/core/Test_dwf_eofa_even_odd.cc index 01fff9ea..64701069 100644 --- a/tests/core/Test_dwf_eofa_even_odd.cc +++ b/tests/core/Test_dwf_eofa_even_odd.cc @@ -73,7 +73,7 @@ int main (int argc, char ** argv) LatticeFermion ref (FGrid); ref = Zero(); LatticeFermion tmp (FGrid); tmp = Zero(); LatticeFermion err (FGrid); err = Zero(); - LatticeGaugeField Umu (UGrid); SU3::HotConfiguration(RNG4, Umu); + LatticeGaugeField Umu (UGrid); SU::HotConfiguration(RNG4, Umu); std::vector U(4,UGrid); // Only one non-zero (y) diff --git a/tests/core/Test_dwf_even_odd.cc b/tests/core/Test_dwf_even_odd.cc index 6093ee8f..4918f02a 100644 --- a/tests/core/Test_dwf_even_odd.cc +++ b/tests/core/Test_dwf_even_odd.cc @@ -72,7 +72,7 @@ int main (int argc, char ** argv) LatticeFermion ref(FGrid); ref=Zero(); LatticeFermion tmp(FGrid); tmp=Zero(); LatticeFermion err(FGrid); tmp=Zero(); - LatticeGaugeField Umu(UGrid); SU3::HotConfiguration(RNG4,Umu); + LatticeGaugeField Umu(UGrid); SU::HotConfiguration(RNG4,Umu); std::vector U(4,UGrid); // Only one non-zero (y) diff --git a/tests/core/Test_fft.cc b/tests/core/Test_fft.cc index 2ba3752b..212b1a35 100644 --- a/tests/core/Test_fft.cc +++ b/tests/core/Test_fft.cc @@ -138,7 +138,7 @@ int main (int argc, char ** argv) LatticeGaugeFieldD Umu(&GRID); - SU3::ColdConfiguration(pRNG,Umu); // Unit gauge + SU::ColdConfiguration(pRNG,Umu); // Unit gauge // Umu=Zero(); //////////////////////////////////////////////////// // Wilson test diff --git a/tests/core/Test_fft_gfix.cc b/tests/core/Test_fft_gfix.cc index 228770a8..87dbc242 100644 --- a/tests/core/Test_fft_gfix.cc +++ b/tests/core/Test_fft_gfix.cc @@ -73,11 +73,11 @@ int main (int argc, char ** argv) LatticeColourMatrix xform2(&GRID); // Gauge xform LatticeColourMatrix xform3(&GRID); // Gauge xform - SU3::ColdConfiguration(pRNG,Umu); // Unit gauge + SU::ColdConfiguration(pRNG,Umu); // Unit gauge Uorg=Umu; Urnd=Umu; - SU3::RandomGaugeTransform(pRNG,Urnd,g); // Unit gauge + SU::RandomGaugeTransform(pRNG,Urnd,g); // Unit gauge Real plaq=WilsonLoops::avgPlaquette(Umu); std::cout << " Initial plaquette "<::HotConfiguration(pRNG,Umu); // Unit gauge plaq=WilsonLoops::avgPlaquette(Umu); std::cout << " Initial plaquette "<::HotConfiguration(pRNG,Umu); // Unit gauge plaq=WilsonLoops::avgPlaquette(Umu); std::cout << " Initial plaquette "<::HotConfiguration(RNG4_2f,Umu_2f); StandardFermionField src (FGrid_2f); StandardFermionField tmpsrc(FGrid_2f); diff --git a/tests/core/Test_gpwilson_even_odd.cc b/tests/core/Test_gpwilson_even_odd.cc index bf37f4d5..69ace859 100644 --- a/tests/core/Test_gpwilson_even_odd.cc +++ b/tests/core/Test_gpwilson_even_odd.cc @@ -61,7 +61,7 @@ int main (int argc, char ** argv) FermionField ref(&Grid); ref=Zero(); FermionField tmp(&Grid); tmp=Zero(); FermionField err(&Grid); tmp=Zero(); - LatticeGaugeField Umu(&Grid); SU3::HotConfiguration(pRNG,Umu); + LatticeGaugeField Umu(&Grid); SU::HotConfiguration(pRNG,Umu); std::vector U(4,&Grid); double volume=1; diff --git a/tests/core/Test_lie_generators.cc b/tests/core/Test_lie_generators.cc index 471cea25..9ae59774 100644 --- a/tests/core/Test_lie_generators.cc +++ b/tests/core/Test_lie_generators.cc @@ -66,14 +66,14 @@ int main(int argc, char** argv) { std::cout << GridLogMessage << "*********************************************" << std::endl; - std::cout << GridLogMessage << "* Generators for SU(3)" << std::endl; + std::cout << GridLogMessage << "* Generators for SU(Nc" << std::endl; std::cout << GridLogMessage << "*********************************************" << std::endl; - SU3::printGenerators(); - std::cout << "Dimension of adjoint representation: "<< SU3Adjoint::Dimension << std::endl; - SU3Adjoint::printGenerators(); - SU3::testGenerators(); - SU3Adjoint::testGenerators(); + SU::printGenerators(); + std::cout << "Dimension of adjoint representation: "<< SUAdjoint::Dimension << std::endl; + SUAdjoint::printGenerators(); + SU::testGenerators(); + SUAdjoint::testGenerators(); std::cout<({45,12,81,9})); - SU3Adjoint::LatticeAdjMatrix Gauss(grid); - SU3::LatticeAlgebraVector ha(grid); - SU3::LatticeAlgebraVector hb(grid); + SUAdjoint::LatticeAdjMatrix Gauss(grid); + SU::LatticeAlgebraVector ha(grid); + SU::LatticeAlgebraVector hb(grid); random(gridRNG,Gauss); std::cout << GridLogMessage << "Start projectOnAlgebra" << std::endl; - SU3Adjoint::projectOnAlgebra(ha, Gauss); + SUAdjoint::projectOnAlgebra(ha, Gauss); std::cout << GridLogMessage << "end projectOnAlgebra" << std::endl; std::cout << GridLogMessage << "Start projector" << std::endl; - SU3Adjoint::projector(hb, Gauss); + SUAdjoint::projector(hb, Gauss); std::cout << GridLogMessage << "end projector" << std::endl; std::cout << GridLogMessage << "ReStart projector" << std::endl; - SU3Adjoint::projector(hb, Gauss); + SUAdjoint::projector(hb, Gauss); std::cout << GridLogMessage << "end projector" << std::endl; - SU3::LatticeAlgebraVector diff = ha -hb; + SU::LatticeAlgebraVector diff = ha -hb; std::cout << GridLogMessage << "Difference: " << norm2(diff) << std::endl; @@ -260,20 +260,20 @@ int main(int argc, char** argv) { std::cout << GridLogMessage << "Test for the Two Index Symmetric projectors" << std::endl; // Projectors - SU3TwoIndexSymm::LatticeTwoIndexMatrix Gauss2(grid); + SUTwoIndexSymm::LatticeTwoIndexMatrix Gauss2(grid); random(gridRNG,Gauss2); std::cout << GridLogMessage << "Start projectOnAlgebra" << std::endl; - SU3TwoIndexSymm::projectOnAlgebra(ha, Gauss2); + SUTwoIndexSymm::projectOnAlgebra(ha, Gauss2); std::cout << GridLogMessage << "end projectOnAlgebra" << std::endl; std::cout << GridLogMessage << "Start projector" << std::endl; - SU3TwoIndexSymm::projector(hb, Gauss2); + SUTwoIndexSymm::projector(hb, Gauss2); std::cout << GridLogMessage << "end projector" << std::endl; std::cout << GridLogMessage << "ReStart projector" << std::endl; - SU3TwoIndexSymm::projector(hb, Gauss2); + SUTwoIndexSymm::projector(hb, Gauss2); std::cout << GridLogMessage << "end projector" << std::endl; - SU3::LatticeAlgebraVector diff2 = ha - hb; + SU::LatticeAlgebraVector diff2 = ha - hb; std::cout << GridLogMessage << "Difference: " << norm2(diff) << std::endl; std::cout << GridLogMessage << "*********************************************" << std::endl; @@ -284,20 +284,20 @@ int main(int argc, char** argv) { std::cout << GridLogMessage << "Test for the Two index anti-Symmetric projectors" << std::endl; // Projectors - SU3TwoIndexAntiSymm::LatticeTwoIndexMatrix Gauss2a(grid); + SUTwoIndexAntiSymm::LatticeTwoIndexMatrix Gauss2a(grid); random(gridRNG,Gauss2a); std::cout << GridLogMessage << "Start projectOnAlgebra" << std::endl; - SU3TwoIndexAntiSymm::projectOnAlgebra(ha, Gauss2a); + SUTwoIndexAntiSymm::projectOnAlgebra(ha, Gauss2a); std::cout << GridLogMessage << "end projectOnAlgebra" << std::endl; std::cout << GridLogMessage << "Start projector" << std::endl; - SU3TwoIndexAntiSymm::projector(hb, Gauss2a); + SUTwoIndexAntiSymm::projector(hb, Gauss2a); std::cout << GridLogMessage << "end projector" << std::endl; std::cout << GridLogMessage << "ReStart projector" << std::endl; - SU3TwoIndexAntiSymm::projector(hb, Gauss2a); + SUTwoIndexAntiSymm::projector(hb, Gauss2a); std::cout << GridLogMessage << "end projector" << std::endl; - SU3::LatticeAlgebraVector diff2a = ha - hb; + SU::LatticeAlgebraVector diff2a = ha - hb; std::cout << GridLogMessage << "Difference: " << norm2(diff2a) << std::endl; std::cout << GridLogMessage << "*********************************************" << std::endl; diff --git a/tests/core/Test_main.cc b/tests/core/Test_main.cc index af8b747b..d7ed04ba 100644 --- a/tests/core/Test_main.cc +++ b/tests/core/Test_main.cc @@ -444,7 +444,7 @@ int main(int argc, char **argv) { // Lattice 12x12 GEMM scFooBar = scFoo * scBar; - // Benchmark some simple operations LatticeSU3 * Lattice SU3. + // Benchmark some simple operations LatticeSU * Lattice SU. double t0, t1, flops; double bytes; int ncall = 5000; diff --git a/tests/core/Test_mobius_eofa_even_odd.cc b/tests/core/Test_mobius_eofa_even_odd.cc index 68091229..7339f156 100644 --- a/tests/core/Test_mobius_eofa_even_odd.cc +++ b/tests/core/Test_mobius_eofa_even_odd.cc @@ -73,7 +73,7 @@ int main (int argc, char ** argv) LatticeFermion ref (FGrid); ref = Zero(); LatticeFermion tmp (FGrid); tmp = Zero(); LatticeFermion err (FGrid); err = Zero(); - LatticeGaugeField Umu (UGrid); SU3::HotConfiguration(RNG4, Umu); + LatticeGaugeField Umu (UGrid); SU::HotConfiguration(RNG4, Umu); std::vector U(4,UGrid); // Only one non-zero (y) diff --git a/tests/core/Test_quenched_update.cc b/tests/core/Test_quenched_update.cc index ef428d1b..22675913 100644 --- a/tests/core/Test_quenched_update.cc +++ b/tests/core/Test_quenched_update.cc @@ -55,7 +55,7 @@ int main (int argc, char ** argv) GridParallelRNG pRNG(grid); pRNG.SeedFixedIntegers(pseeds); GridSerialRNG sRNG; sRNG.SeedFixedIntegers(sseeds); - // SU3 colour operatoions + // SU colour operatoions LatticeColourMatrix link(grid); LatticeColourMatrix staple(grid); @@ -87,10 +87,10 @@ int main (int argc, char ** argv) link = PeekIndex(Umu,mu); - for( int subgroup=0;subgroup::su2subgroups();subgroup++ ) { // update Even checkerboard - SU3::SubGroupHeatBath(sRNG,pRNG,beta,link,staple,subgroup,20,mask); + SU::SubGroupHeatBath(sRNG,pRNG,beta,link,staple,subgroup,20,mask); } diff --git a/tests/core/Test_staggered.cc b/tests/core/Test_staggered.cc index 1f42ff0d..51f92993 100644 --- a/tests/core/Test_staggered.cc +++ b/tests/core/Test_staggered.cc @@ -64,7 +64,7 @@ int main (int argc, char ** argv) FermionField err(&Grid); tmp=Zero(); FermionField phi (&Grid); random(pRNG,phi); FermionField chi (&Grid); random(pRNG,chi); - LatticeGaugeField Umu(&Grid); SU3::HotConfiguration(pRNG,Umu); + LatticeGaugeField Umu(&Grid); SU::HotConfiguration(pRNG,Umu); std::vector U(4,&Grid); diff --git a/tests/core/Test_staggered5D.cc b/tests/core/Test_staggered5D.cc index 3d175890..6ab15873 100644 --- a/tests/core/Test_staggered5D.cc +++ b/tests/core/Test_staggered5D.cc @@ -75,7 +75,7 @@ int main (int argc, char ** argv) FermionField phi (FGrid); random(pRNG5,phi); FermionField chi (FGrid); random(pRNG5,chi); - LatticeGaugeField Umu(UGrid); SU3::ColdConfiguration(pRNG4,Umu); + LatticeGaugeField Umu(UGrid); SU::ColdConfiguration(pRNG4,Umu); LatticeGaugeField Umua(UGrid); Umua=Umu; double volume=Ls; diff --git a/tests/core/Test_staggered5Dvec.cc b/tests/core/Test_staggered5Dvec.cc index 73241276..ef8da662 100644 --- a/tests/core/Test_staggered5Dvec.cc +++ b/tests/core/Test_staggered5Dvec.cc @@ -84,7 +84,7 @@ int main (int argc, char ** argv) FermionField chi (FGrid); random(pRNG5,chi); LatticeGaugeField Umu(UGrid); - SU3::HotConfiguration(pRNG4,Umu); + SU::HotConfiguration(pRNG4,Umu); /* for(int mu=1;mu<4;mu++){ diff --git a/tests/core/Test_staggered5DvecF.cc b/tests/core/Test_staggered5DvecF.cc index 2386d054..6893551c 100644 --- a/tests/core/Test_staggered5DvecF.cc +++ b/tests/core/Test_staggered5DvecF.cc @@ -83,7 +83,7 @@ int main (int argc, char ** argv) FermionField chi (FGrid); random(pRNG5,chi); LatticeGaugeFieldF Umu(UGrid); - SU3::HotConfiguration(pRNG4,Umu); + SU::HotConfiguration(pRNG4,Umu); /* for(int mu=1;mu<4;mu++){ diff --git a/tests/core/Test_staggered_naive.cc b/tests/core/Test_staggered_naive.cc index 9fe35a54..f41d723d 100644 --- a/tests/core/Test_staggered_naive.cc +++ b/tests/core/Test_staggered_naive.cc @@ -64,7 +64,7 @@ int main (int argc, char ** argv) FermionField err(&Grid); tmp=Zero(); FermionField phi (&Grid); random(pRNG,phi); FermionField chi (&Grid); random(pRNG,chi); - LatticeGaugeField Umu(&Grid); SU3::HotConfiguration(pRNG,Umu); + LatticeGaugeField Umu(&Grid); SU::HotConfiguration(pRNG,Umu); std::vector U(4,&Grid); diff --git a/tests/core/Test_wilson_clover.cc b/tests/core/Test_wilson_clover.cc index 3e31f7f6..642c30a8 100644 --- a/tests/core/Test_wilson_clover.cc +++ b/tests/core/Test_wilson_clover.cc @@ -74,7 +74,7 @@ int main(int argc, char **argv) FermionField chi(&Grid); random(pRNG, chi); LatticeGaugeField Umu(&Grid); - SU3::HotConfiguration(pRNG, Umu); + SU::HotConfiguration(pRNG, Umu); std::vector U(4, &Grid); double volume = 1; diff --git a/tests/core/Test_wilson_even_odd.cc b/tests/core/Test_wilson_even_odd.cc index dc49cf81..e7733a79 100644 --- a/tests/core/Test_wilson_even_odd.cc +++ b/tests/core/Test_wilson_even_odd.cc @@ -70,7 +70,7 @@ int main (int argc, char ** argv) LatticeFermion tmp(&Grid); tmp=Zero(); LatticeFermion err(&Grid); tmp=Zero(); LatticeGaugeField Umu(&Grid); - SU3::HotConfiguration(pRNG,Umu); + SU::HotConfiguration(pRNG,Umu); std::vector U(4,&Grid); double volume=1; diff --git a/tests/core/Test_wilson_twisted_mass_even_odd.cc b/tests/core/Test_wilson_twisted_mass_even_odd.cc index ba80fd0e..e0f73456 100644 --- a/tests/core/Test_wilson_twisted_mass_even_odd.cc +++ b/tests/core/Test_wilson_twisted_mass_even_odd.cc @@ -71,7 +71,7 @@ int main (int argc, char ** argv) LatticeFermion ref(&Grid); ref=Zero(); LatticeFermion tmp(&Grid); tmp=Zero(); LatticeFermion err(&Grid); tmp=Zero(); - LatticeGaugeField Umu(&Grid); SU3::HotConfiguration(pRNG,Umu); + LatticeGaugeField Umu(&Grid); SU::HotConfiguration(pRNG,Umu); std::vector U(4,&Grid); double volume=1; diff --git a/tests/debug/Test_cayley_cg.cc b/tests/debug/Test_cayley_cg.cc index 5a9c696f..5418a8af 100644 --- a/tests/debug/Test_cayley_cg.cc +++ b/tests/debug/Test_cayley_cg.cc @@ -116,7 +116,7 @@ int main (int argc, char ** argv) LatticeGaugeField Umu(UGrid); LatticeGaugeFieldF UmuF(UGridF); - SU3::HotConfiguration(RNG4,Umu); + SU::HotConfiguration(RNG4,Umu); precisionChange(UmuF,Umu); std::vector U(4,UGrid); diff --git a/tests/debug/Test_cayley_coarsen_support.cc b/tests/debug/Test_cayley_coarsen_support.cc index e91b3070..b2f691d7 100644 --- a/tests/debug/Test_cayley_coarsen_support.cc +++ b/tests/debug/Test_cayley_coarsen_support.cc @@ -77,7 +77,7 @@ int main (int argc, char ** argv) LatticeFermion ref(FGrid); ref=Zero(); LatticeFermion tmp(FGrid); LatticeFermion err(FGrid); - LatticeGaugeField Umu(UGrid); SU3::HotConfiguration(RNG4,Umu); + LatticeGaugeField Umu(UGrid); SU::HotConfiguration(RNG4,Umu); #if 0 std::vector U(4,UGrid); diff --git a/tests/debug/Test_cayley_even_odd.cc b/tests/debug/Test_cayley_even_odd.cc index 433f0722..5e800b26 100644 --- a/tests/debug/Test_cayley_even_odd.cc +++ b/tests/debug/Test_cayley_even_odd.cc @@ -70,7 +70,7 @@ int main (int argc, char ** argv) GridParallelRNG RNG5(FGrid); RNG5.SeedFixedIntegers(seeds5); GridParallelRNG RNG4(UGrid); RNG4.SeedFixedIntegers(seeds4); - LatticeGaugeField Umu(UGrid); SU3::HotConfiguration(RNG4,Umu); + LatticeGaugeField Umu(UGrid); SU::HotConfiguration(RNG4,Umu); std::vector U(4,UGrid); RealD mass=0.1; diff --git a/tests/debug/Test_cayley_ldop_cr.cc b/tests/debug/Test_cayley_ldop_cr.cc index 82f388ab..416017e5 100644 --- a/tests/debug/Test_cayley_ldop_cr.cc +++ b/tests/debug/Test_cayley_ldop_cr.cc @@ -71,9 +71,9 @@ int main (int argc, char ** argv) std::string file("./ckpoint_lat.400"); NerscIO::readConfiguration(Umu,header,file); - // SU3::ColdConfiguration(RNG4,Umu); - // SU3::TepidConfiguration(RNG4,Umu); - // SU3::HotConfiguration(RNG4,Umu); + // SU::ColdConfiguration(RNG4,Umu); + // SU::TepidConfiguration(RNG4,Umu); + // SU::HotConfiguration(RNG4,Umu); // Umu=Zero(); RealD mass=0.1; diff --git a/tests/debug/Test_cayley_mres.cc b/tests/debug/Test_cayley_mres.cc index 2ad605b8..2e56fa81 100644 --- a/tests/debug/Test_cayley_mres.cc +++ b/tests/debug/Test_cayley_mres.cc @@ -108,8 +108,8 @@ int main (int argc, char ** argv) GridParallelRNG RNG4(UGrid); RNG4.SeedFixedIntegers(seeds4); LatticeGaugeField Umu(UGrid); - SU3::ColdConfiguration(Umu); - // SU3::HotConfiguration(RNG4,Umu); + SU::ColdConfiguration(Umu); + // SU::HotConfiguration(RNG4,Umu); RealD mass=0.3; RealD M5 =1.0; diff --git a/tests/debug/Test_heatbath_dwf_eofa.cc b/tests/debug/Test_heatbath_dwf_eofa.cc index 1e64a568..9d453a96 100644 --- a/tests/debug/Test_heatbath_dwf_eofa.cc +++ b/tests/debug/Test_heatbath_dwf_eofa.cc @@ -73,7 +73,7 @@ int main(int argc, char** argv) // Random gauge field LatticeGaugeField Umu(UGrid); - SU3::HotConfiguration(RNG4, Umu); + SU::HotConfiguration(RNG4, Umu); DomainWallEOFAFermionR Lop(Umu, *FGrid, *FrbGrid, *UGrid, *UrbGrid, mf, mf, mpv, 0.0, -1, M5); DomainWallEOFAFermionR Rop(Umu, *FGrid, *FrbGrid, *UGrid, *UrbGrid, mpv, mf, mpv, -1.0, 1, M5); diff --git a/tests/debug/Test_heatbath_dwf_eofa_gparity.cc b/tests/debug/Test_heatbath_dwf_eofa_gparity.cc index cc118d1d..22cc1e90 100644 --- a/tests/debug/Test_heatbath_dwf_eofa_gparity.cc +++ b/tests/debug/Test_heatbath_dwf_eofa_gparity.cc @@ -77,7 +77,7 @@ int main(int argc, char** argv) // Random gauge field LatticeGaugeField Umu(UGrid); - SU3::HotConfiguration(RNG4, Umu); + SU::HotConfiguration(RNG4, Umu); // GparityDomainWallFermionR::ImplParams params; FermionAction::ImplParams params; diff --git a/tests/debug/Test_heatbath_mobius_eofa.cc b/tests/debug/Test_heatbath_mobius_eofa.cc index 95ab935e..4cf4bf53 100644 --- a/tests/debug/Test_heatbath_mobius_eofa.cc +++ b/tests/debug/Test_heatbath_mobius_eofa.cc @@ -75,7 +75,7 @@ int main(int argc, char** argv) // Random gauge field LatticeGaugeField Umu(UGrid); - SU3::HotConfiguration(RNG4, Umu); + SU::HotConfiguration(RNG4, Umu); MobiusEOFAFermionR Lop(Umu, *FGrid, *FrbGrid, *UGrid, *UrbGrid, mf, mf, mpv, 0.0, -1, M5, b, c); MobiusEOFAFermionR Rop(Umu, *FGrid, *FrbGrid, *UGrid, *UrbGrid, mpv, mf, mpv, -1.0, 1, M5, b, c); diff --git a/tests/debug/Test_heatbath_mobius_eofa_gparity.cc b/tests/debug/Test_heatbath_mobius_eofa_gparity.cc index 7ed3a308..2fcb4b9f 100644 --- a/tests/debug/Test_heatbath_mobius_eofa_gparity.cc +++ b/tests/debug/Test_heatbath_mobius_eofa_gparity.cc @@ -79,7 +79,7 @@ int main(int argc, char** argv) // Random gauge field LatticeGaugeField Umu(UGrid); - SU3::HotConfiguration(RNG4, Umu); + SU::HotConfiguration(RNG4, Umu); FermionAction::ImplParams params; FermionAction Lop(Umu, *FGrid, *FrbGrid, *UGrid, *UrbGrid, mf, mf, mpv, 0.0, -1, M5, b, c, params); diff --git a/tests/debug/Test_reweight_dwf_eofa.cc b/tests/debug/Test_reweight_dwf_eofa.cc index 728fbf78..a150b18f 100644 --- a/tests/debug/Test_reweight_dwf_eofa.cc +++ b/tests/debug/Test_reweight_dwf_eofa.cc @@ -102,7 +102,7 @@ int main(int argc, char **argv) // Random gauge field LatticeGaugeField Umu(UGrid); - SU3::HotConfiguration(RNG4, Umu); + SU::HotConfiguration(RNG4, Umu); // Initialize RHMC fermion operators DomainWallFermionR Ddwf_f(Umu, *FGrid, *FrbGrid, *UGrid, *UrbGrid, mf, M5); diff --git a/tests/debug/Test_reweight_dwf_eofa_gparity.cc b/tests/debug/Test_reweight_dwf_eofa_gparity.cc index fcc01b8d..df2d95a0 100644 --- a/tests/debug/Test_reweight_dwf_eofa_gparity.cc +++ b/tests/debug/Test_reweight_dwf_eofa_gparity.cc @@ -104,7 +104,7 @@ int main(int argc, char **argv) // Random gauge field LatticeGaugeField Umu(UGrid); - SU3::HotConfiguration(RNG4, Umu); + SU::HotConfiguration(RNG4, Umu); // Initialize RHMC fermion operators GparityDomainWallFermionR::ImplParams params; diff --git a/tests/debug/Test_reweight_mobius_eofa.cc b/tests/debug/Test_reweight_mobius_eofa.cc index c5e46bcf..88ecab7d 100644 --- a/tests/debug/Test_reweight_mobius_eofa.cc +++ b/tests/debug/Test_reweight_mobius_eofa.cc @@ -104,7 +104,7 @@ int main(int argc, char **argv) // Random gauge field LatticeGaugeField Umu(UGrid); - SU3::HotConfiguration(RNG4, Umu); + SU::HotConfiguration(RNG4, Umu); // Initialize RHMC fermion operators MobiusFermionR Ddwf_f(Umu, *FGrid, *FrbGrid, *UGrid, *UrbGrid, mf, M5, b, c); diff --git a/tests/debug/Test_reweight_mobius_eofa_gparity.cc b/tests/debug/Test_reweight_mobius_eofa_gparity.cc index bfc7543a..31708265 100644 --- a/tests/debug/Test_reweight_mobius_eofa_gparity.cc +++ b/tests/debug/Test_reweight_mobius_eofa_gparity.cc @@ -106,7 +106,7 @@ int main(int argc, char **argv) // Random gauge field LatticeGaugeField Umu(UGrid); - SU3::HotConfiguration(RNG4, Umu); + SU::HotConfiguration(RNG4, Umu); // Initialize RHMC fermion operators GparityDomainWallFermionR::ImplParams params; diff --git a/tests/forces/Test_contfrac_force.cc b/tests/forces/Test_contfrac_force.cc index cb30faad..dc9eedce 100644 --- a/tests/forces/Test_contfrac_force.cc +++ b/tests/forces/Test_contfrac_force.cc @@ -59,7 +59,7 @@ int main (int argc, char ** argv) LatticeGaugeField U(UGrid); - SU3::HotConfiguration(RNG4,U); + SU::HotConfiguration(RNG4,U); //////////////////////////////////// // Unmodified matrix element @@ -93,7 +93,7 @@ int main (int argc, char ** argv) for(int mu=0;mu::GaussianFundamentalLieAlgebraMatrix(RNG4, mommu); // Traceless antihermitian momentum; gaussian in lie alg PokeIndex(mom,mommu,mu); diff --git a/tests/forces/Test_dwf_force.cc b/tests/forces/Test_dwf_force.cc index 81a1b8c4..e7d17347 100644 --- a/tests/forces/Test_dwf_force.cc +++ b/tests/forces/Test_dwf_force.cc @@ -60,7 +60,7 @@ int main (int argc, char ** argv) LatticeGaugeField U(UGrid); - SU3::HotConfiguration(RNG4,U); + SU::HotConfiguration(RNG4,U); //////////////////////////////////// // Unmodified matrix element @@ -94,7 +94,7 @@ int main (int argc, char ** argv) for(int mu=0;mu::GaussianFundamentalLieAlgebraMatrix(RNG4, mommu); // Traceless antihermitian momentum; gaussian in lie alg PokeIndex(mom,mommu,mu); diff --git a/tests/forces/Test_dwf_force_eofa.cc b/tests/forces/Test_dwf_force_eofa.cc index 0b0ba346..80d36934 100644 --- a/tests/forces/Test_dwf_force_eofa.cc +++ b/tests/forces/Test_dwf_force_eofa.cc @@ -72,7 +72,7 @@ int main (int argc, char** argv) LatticeFermion MphiPrime (FGrid); LatticeGaugeField U(UGrid); - SU3::HotConfiguration(RNG4,U); + SU::HotConfiguration(RNG4,U); //////////////////////////////////// // Unmodified matrix element @@ -105,7 +105,7 @@ int main (int argc, char** argv) for(int mu=0; mu::GaussianFundamentalLieAlgebraMatrix(RNG4, mommu); // Traceless antihermitian momentum; gaussian in lie alg PokeIndex(mom, mommu, mu); diff --git a/tests/forces/Test_dwf_gpforce.cc b/tests/forces/Test_dwf_gpforce.cc index b39fdd14..28133cc6 100644 --- a/tests/forces/Test_dwf_gpforce.cc +++ b/tests/forces/Test_dwf_gpforce.cc @@ -63,8 +63,8 @@ int main (int argc, char ** argv) LatticeGaugeField U(UGrid); - SU3::HotConfiguration(RNG4,U); - // SU3::ColdConfiguration(pRNG,U); + SU::HotConfiguration(RNG4,U); + // SU::ColdConfiguration(pRNG,U); //////////////////////////////////// // Unmodified matrix element @@ -112,7 +112,7 @@ int main (int argc, char ** argv) for(int mu=0;mu::GaussianFundamentalLieAlgebraMatrix(RNG4, mommu); // Traceless antihermitian momentum; gaussian in lie alg Hmom -= real(sum(trace(mommu*mommu))); diff --git a/tests/forces/Test_dwf_gpforce_eofa.cc b/tests/forces/Test_dwf_gpforce_eofa.cc index 58258a5e..7e480e7a 100644 --- a/tests/forces/Test_dwf_gpforce_eofa.cc +++ b/tests/forces/Test_dwf_gpforce_eofa.cc @@ -75,7 +75,7 @@ int main (int argc, char** argv) FermionField MphiPrime (FGrid); LatticeGaugeField U(UGrid); - SU3::HotConfiguration(RNG4,U); + SU::HotConfiguration(RNG4,U); //////////////////////////////////// // Unmodified matrix element @@ -109,7 +109,7 @@ int main (int argc, char** argv) for(int mu=0; mu::GaussianFundamentalLieAlgebraMatrix(RNG4, mommu); // Traceless antihermitian momentum; gaussian in lie alg PokeIndex(mom, mommu, mu); diff --git a/tests/forces/Test_gp_plaq_force.cc b/tests/forces/Test_gp_plaq_force.cc index 21f0b9d0..bc2b5b26 100644 --- a/tests/forces/Test_gp_plaq_force.cc +++ b/tests/forces/Test_gp_plaq_force.cc @@ -51,7 +51,7 @@ int main (int argc, char ** argv) LatticeGaugeField U(&Grid); - SU3::HotConfiguration(pRNG,U); + SU::HotConfiguration(pRNG,U); double beta = 1.0; ConjugateWilsonGaugeActionR Action(beta); @@ -80,7 +80,7 @@ int main (int argc, char ** argv) for(int mu=0;mu::GaussianFundamentalLieAlgebraMatrix(pRNG, mommu); // Traceless antihermitian momentum; gaussian in lie alg PokeIndex(mom,mommu,mu); diff --git a/tests/forces/Test_gp_rect_force.cc b/tests/forces/Test_gp_rect_force.cc index bb4ea6de..98ebb2fa 100644 --- a/tests/forces/Test_gp_rect_force.cc +++ b/tests/forces/Test_gp_rect_force.cc @@ -54,7 +54,7 @@ int main (int argc, char ** argv) LatticeGaugeField U(&Grid); - SU3::HotConfiguration(pRNG,U); + SU::HotConfiguration(pRNG,U); double beta = 1.0; double c1 = 0.331; @@ -82,7 +82,7 @@ int main (int argc, char ** argv) for(int mu=0;mu::GaussianFundamentalLieAlgebraMatrix(pRNG, mommu); // Traceless antihermitian momentum; gaussian in lie alg PokeIndex(mom,mommu,mu); diff --git a/tests/forces/Test_gpdwf_force.cc b/tests/forces/Test_gpdwf_force.cc index bdc332d9..d6744080 100644 --- a/tests/forces/Test_gpdwf_force.cc +++ b/tests/forces/Test_gpdwf_force.cc @@ -63,7 +63,7 @@ int main (int argc, char ** argv) LatticeGaugeField U(UGrid); - SU3::HotConfiguration(RNG4,U); + SU::HotConfiguration(RNG4,U); //////////////////////////////////// // Unmodified matrix element @@ -100,7 +100,7 @@ int main (int argc, char ** argv) for(int mu=0;mu::GaussianFundamentalLieAlgebraMatrix(RNG4, mommu); // Traceless antihermitian momentum; gaussian in lie alg PokeIndex(mom,mommu,mu); diff --git a/tests/forces/Test_gpwilson_force.cc b/tests/forces/Test_gpwilson_force.cc index 1c85a5d9..d731f27a 100644 --- a/tests/forces/Test_gpwilson_force.cc +++ b/tests/forces/Test_gpwilson_force.cc @@ -57,7 +57,7 @@ int main (int argc, char ** argv) LatticeGaugeField U(UGrid); - SU3::HotConfiguration(RNG4,U); + SU::HotConfiguration(RNG4,U); //////////////////////////////////// // Unmodified matrix element @@ -94,7 +94,7 @@ int main (int argc, char ** argv) for(int mu=0;mu::GaussianFundamentalLieAlgebraMatrix(RNG4, mommu); PokeIndex(mom,mommu,mu); diff --git a/tests/forces/Test_laplacian_force.cc b/tests/forces/Test_laplacian_force.cc index 639378dc..18508860 100644 --- a/tests/forces/Test_laplacian_force.cc +++ b/tests/forces/Test_laplacian_force.cc @@ -58,7 +58,7 @@ int main (int argc, char ** argv) PokeIndex(P, P_mu, mu); } - SU3::HotConfiguration(pRNG,U); + SU::HotConfiguration(pRNG,U); ConjugateGradient CG(1.0e-8, 10000); @@ -95,7 +95,7 @@ int main (int argc, char ** argv) std::cout << GridLogMessage << "Update the U " << std::endl; for(int mu=0;mu::GaussianFundamentalLieAlgebraMatrix(pRNG, mommu); auto Umu = PeekIndex(U, mu); PokeIndex(mom,mommu,mu); Umu = expMat(mommu, dt, 12) * Umu; diff --git a/tests/forces/Test_mobius_force.cc b/tests/forces/Test_mobius_force.cc index 11e69652..ba7bc363 100644 --- a/tests/forces/Test_mobius_force.cc +++ b/tests/forces/Test_mobius_force.cc @@ -60,7 +60,7 @@ int main (int argc, char ** argv) LatticeGaugeField U(UGrid); - SU3::HotConfiguration(RNG4,U); + SU::HotConfiguration(RNG4,U); //////////////////////////////////// // Unmodified matrix element @@ -96,7 +96,7 @@ int main (int argc, char ** argv) for(int mu=0;mu::GaussianFundamentalLieAlgebraMatrix(RNG4, mommu); // Traceless antihermitian momentum; gaussian in lie alg PokeIndex(mom,mommu,mu); diff --git a/tests/forces/Test_mobius_force_eofa.cc b/tests/forces/Test_mobius_force_eofa.cc index f85501fa..28523e9c 100644 --- a/tests/forces/Test_mobius_force_eofa.cc +++ b/tests/forces/Test_mobius_force_eofa.cc @@ -72,7 +72,7 @@ int main (int argc, char** argv) LatticeFermion MphiPrime (FGrid); LatticeGaugeField U(UGrid); - SU3::HotConfiguration(RNG4,U); + SU::HotConfiguration(RNG4,U); //////////////////////////////////// // Unmodified matrix element @@ -107,7 +107,7 @@ int main (int argc, char** argv) for(int mu=0; mu::GaussianFundamentalLieAlgebraMatrix(RNG4, mommu); // Traceless antihermitian momentum; gaussian in lie alg PokeIndex(mom, mommu, mu); diff --git a/tests/forces/Test_mobius_gpforce_eofa.cc b/tests/forces/Test_mobius_gpforce_eofa.cc index 68163e63..9c80b2aa 100644 --- a/tests/forces/Test_mobius_gpforce_eofa.cc +++ b/tests/forces/Test_mobius_gpforce_eofa.cc @@ -76,7 +76,7 @@ int main (int argc, char** argv) FermionField MphiPrime (FGrid); LatticeGaugeField U(UGrid); - SU3::HotConfiguration(RNG4,U); + SU::HotConfiguration(RNG4,U); //////////////////////////////////// // Unmodified matrix element @@ -112,7 +112,7 @@ int main (int argc, char** argv) for(int mu=0; mu::GaussianFundamentalLieAlgebraMatrix(RNG4, mommu); // Traceless antihermitian momentum; gaussian in lie alg PokeIndex(mom, mommu, mu); autoView( U_v , U, CpuRead); diff --git a/tests/forces/Test_partfrac_force.cc b/tests/forces/Test_partfrac_force.cc index 17dce530..33f7b5fd 100644 --- a/tests/forces/Test_partfrac_force.cc +++ b/tests/forces/Test_partfrac_force.cc @@ -62,7 +62,7 @@ int main (int argc, char ** argv) LatticeGaugeField U(UGrid); - SU3::HotConfiguration(RNG4,U); + SU::HotConfiguration(RNG4,U); //////////////////////////////////// // Unmodified matrix element @@ -96,7 +96,7 @@ int main (int argc, char ** argv) for(int mu=0;mu::GaussianFundamentalLieAlgebraMatrix(RNG4, mommu); // Traceless antihermitian momentum; gaussian in lie alg PokeIndex(mom,mommu,mu); diff --git a/tests/forces/Test_rect_force.cc b/tests/forces/Test_rect_force.cc index ed72f2c0..c9326f8d 100644 --- a/tests/forces/Test_rect_force.cc +++ b/tests/forces/Test_rect_force.cc @@ -54,7 +54,7 @@ int main (int argc, char ** argv) LatticeGaugeField U(&Grid); - SU3::HotConfiguration(pRNG,U); + SU::HotConfiguration(pRNG,U); double beta = 1.0; double c1 = -0.331; @@ -82,7 +82,7 @@ int main (int argc, char ** argv) for(int mu=0;mu::GaussianFundamentalLieAlgebraMatrix(pRNG, mommu); // Traceless antihermitian momentum; gaussian in lie alg PokeIndex(mom,mommu,mu); diff --git a/tests/forces/Test_wilson_force.cc b/tests/forces/Test_wilson_force.cc index c8b3a7f4..b7bf1268 100644 --- a/tests/forces/Test_wilson_force.cc +++ b/tests/forces/Test_wilson_force.cc @@ -61,7 +61,7 @@ int main (int argc, char ** argv) LatticeGaugeField U(&Grid); //SU2::HotConfiguration(pRNG,U); - SU3::ColdConfiguration(pRNG,U); + SU::ColdConfiguration(pRNG,U); //////////////////////////////////// // Unmodified matrix element @@ -98,7 +98,7 @@ int main (int argc, char ** argv) for(int mu=0;mu::GaussianFundamentalLieAlgebraMatrix(pRNG, mommu); Hmom -= real(sum(trace(mommu*mommu))); diff --git a/tests/forces/Test_wilsonclover_force.cc b/tests/forces/Test_wilsonclover_force.cc index f26f0ac9..6a28e4e2 100644 --- a/tests/forces/Test_wilsonclover_force.cc +++ b/tests/forces/Test_wilsonclover_force.cc @@ -62,8 +62,8 @@ int main(int argc, char **argv) LatticeGaugeField U(&Grid); - SU3::HotConfiguration(pRNG, U); - //SU3::ColdConfiguration(pRNG, U);// Clover term Zero() + SU::HotConfiguration(pRNG, U); + //SU::ColdConfiguration(pRNG, U);// Clover term Zero() //////////////////////////////////// // Unmodified matrix element @@ -101,7 +101,7 @@ int main(int argc, char **argv) for (int mu = 0; mu < Nd; mu++) { // Traceless antihermitian momentum; gaussian in lie alg - SU3::GaussianFundamentalLieAlgebraMatrix(pRNG, mommu); + SU::GaussianFundamentalLieAlgebraMatrix(pRNG, mommu); Hmom -= real(sum(trace(mommu * mommu))); PokeIndex(mom, mommu, mu); diff --git a/tests/forces/Test_zmobius_force.cc b/tests/forces/Test_zmobius_force.cc index e24ae601..89673bc7 100644 --- a/tests/forces/Test_zmobius_force.cc +++ b/tests/forces/Test_zmobius_force.cc @@ -59,7 +59,7 @@ int main (int argc, char ** argv) LatticeGaugeField U(UGrid); - SU3::HotConfiguration(RNG4,U); + SU::HotConfiguration(RNG4,U); //////////////////////////////////// // Unmodified matrix element @@ -109,7 +109,7 @@ int main (int argc, char ** argv) for(int mu=0;mu::GaussianFundamentalLieAlgebraMatrix(RNG4, mommu); // Traceless antihermitian momentum; gaussian in lie alg PokeIndex(mom,mommu,mu); diff --git a/tests/lanczos/Test_dwf_compressed_lanczos_reorg_synthetic.cc b/tests/lanczos/Test_dwf_compressed_lanczos_reorg_synthetic.cc index d9249e0d..3766e069 100644 --- a/tests/lanczos/Test_dwf_compressed_lanczos_reorg_synthetic.cc +++ b/tests/lanczos/Test_dwf_compressed_lanczos_reorg_synthetic.cc @@ -293,7 +293,7 @@ int main (int argc, char ** argv) { { std::vector seeds4({1,2,3,4}); GridParallelRNG RNG4(UGrid); RNG4.SeedFixedIntegers(seeds4); - SU3::HotConfiguration(RNG4, Umu); + SU::HotConfiguration(RNG4, Umu); } std::cout << GridLogMessage << "Lattice dimensions: " << GridDefaultLatt() << " Ls: " << Ls << std::endl; diff --git a/tests/lanczos/Test_dwf_lanczos.cc b/tests/lanczos/Test_dwf_lanczos.cc index 12283921..00d29ec0 100644 --- a/tests/lanczos/Test_dwf_lanczos.cc +++ b/tests/lanczos/Test_dwf_lanczos.cc @@ -54,7 +54,7 @@ int main (int argc, char ** argv) GridParallelRNG RNG5rb(FrbGrid); RNG5.SeedFixedIntegers(seeds5); LatticeGaugeField Umu(UGrid); - SU3::HotConfiguration(RNG4, Umu); + SU::HotConfiguration(RNG4, Umu); std::vector U(4,UGrid); for(int mu=0;mu::HotConfiguration(RNG4, Umu); /* std::vector U(4, UGrid); diff --git a/tests/qdpxx/Test_qdpxx_baryon.cc b/tests/qdpxx/Test_qdpxx_baryon.cc index a1d8f738..d8225f82 100644 --- a/tests/qdpxx/Test_qdpxx_baryon.cc +++ b/tests/qdpxx/Test_qdpxx_baryon.cc @@ -280,7 +280,7 @@ void make_gauge(GaugeField &Umu, Grid::LatticePropagator &q1,Grid::LatticePropag Grid::GridCartesian *UGrid = (Grid::GridCartesian *)Umu.Grid(); Grid::GridParallelRNG RNG4(UGrid); RNG4.SeedFixedIntegers(seeds4); - Grid::SU3::HotConfiguration(RNG4, Umu); + Grid::SU::HotConfiguration(RNG4, Umu); // Propagator Grid::gaussian(RNG4, q1); diff --git a/tests/qdpxx/Test_qdpxx_loops_staples.cc b/tests/qdpxx/Test_qdpxx_loops_staples.cc index bbb41f4e..33057eeb 100644 --- a/tests/qdpxx/Test_qdpxx_loops_staples.cc +++ b/tests/qdpxx/Test_qdpxx_loops_staples.cc @@ -277,7 +277,7 @@ double calc_grid_p(Grid::LatticeGaugeField & Umu) Grid::GridCartesian * UGrid = (Grid::GridCartesian *) Umu.Grid(); Grid::GridParallelRNG RNG4(UGrid); RNG4.SeedFixedIntegers(seeds4); - Grid::SU3::HotConfiguration(RNG4,Umu); + Grid::SU::HotConfiguration(RNG4,Umu); Grid::LatticeColourMatrix tmp(UGrid); tmp = Grid::zero; diff --git a/tests/qdpxx/Test_qdpxx_munprec.cc b/tests/qdpxx/Test_qdpxx_munprec.cc index fbc1ec82..82874546 100644 --- a/tests/qdpxx/Test_qdpxx_munprec.cc +++ b/tests/qdpxx/Test_qdpxx_munprec.cc @@ -502,7 +502,7 @@ void calc_grid(ChromaAction action,Grid::LatticeGaugeField & Umu, Grid::LatticeF Grid::gaussian(RNG5,src); Grid::gaussian(RNG5,res); - Grid::SU3::HotConfiguration(RNG4,Umu); + Grid::SU::HotConfiguration(RNG4,Umu); /* Grid::LatticeColourMatrix U(UGrid); diff --git a/tests/qdpxx/Test_qdpxx_stag.cc b/tests/qdpxx/Test_qdpxx_stag.cc index f283d5a9..8f81fa99 100644 --- a/tests/qdpxx/Test_qdpxx_stag.cc +++ b/tests/qdpxx/Test_qdpxx_stag.cc @@ -333,7 +333,7 @@ void make_gauge(GaugeField & Umu,FermionField &src) Grid::GridCartesian * UGrid = (Grid::GridCartesian *) Umu.Grid(); Grid::GridParallelRNG RNG4(UGrid); RNG4.SeedFixedIntegers(seeds4); - Grid::SU3::HotConfiguration(RNG4,Umu); + Grid::SU::HotConfiguration(RNG4,Umu); Grid::gaussian(RNG4,src); } diff --git a/tests/qdpxx/Test_qdpxx_wilson.cc b/tests/qdpxx/Test_qdpxx_wilson.cc index fdf59982..8ce28dca 100644 --- a/tests/qdpxx/Test_qdpxx_wilson.cc +++ b/tests/qdpxx/Test_qdpxx_wilson.cc @@ -348,7 +348,7 @@ void make_gauge(GaugeField &Umu, FermionField &src) Grid::GridCartesian *UGrid = (Grid::GridCartesian *)Umu._grid; Grid::GridParallelRNG RNG4(UGrid); RNG4.SeedFixedIntegers(seeds4); - Grid::SU3::HotConfiguration(RNG4, Umu); + Grid::SU::HotConfiguration(RNG4, Umu); // Fermion field Grid::gaussian(RNG4, src); diff --git a/tests/smearing/Test_smearing.cc b/tests/smearing/Test_smearing.cc index c1c7c457..adab1c6e 100644 --- a/tests/smearing/Test_smearing.cc +++ b/tests/smearing/Test_smearing.cc @@ -47,8 +47,8 @@ int main (int argc, char ** argv) RealD nrm = norm2(src); LatticeFermion result(&Grid); result=Zero(); LatticeGaugeField Umu(&Grid); - // SU3::HotConfiguration(pRNG,Umu); - SU3::ColdConfiguration(Umu); + // SU::HotConfiguration(pRNG,Umu); + SU::ColdConfiguration(Umu); std::vector U(4,&Grid); for(int mu=0;mu::HotConfiguration(RNG4,Umu); std::vector U(4,UGrid); for(int mu=0;mu::HotConfiguration(RNG4,Umu); std::vector U(4,UGrid); RealD mass=0.1; diff --git a/tests/solver/Test_dwf_cg_prec.cc b/tests/solver/Test_dwf_cg_prec.cc index cb53894f..debb736a 100644 --- a/tests/solver/Test_dwf_cg_prec.cc +++ b/tests/solver/Test_dwf_cg_prec.cc @@ -67,7 +67,7 @@ int main(int argc, char** argv) { result = Zero(); LatticeGaugeField Umu(UGrid); - SU3::HotConfiguration(RNG4, Umu); + SU::HotConfiguration(RNG4, Umu); std::cout << GridLogMessage << "Lattice dimensions: " << GridDefaultLatt() << " Ls: " << Ls << std::endl; diff --git a/tests/solver/Test_dwf_cg_schur.cc b/tests/solver/Test_dwf_cg_schur.cc index 6216c366..6541e73d 100644 --- a/tests/solver/Test_dwf_cg_schur.cc +++ b/tests/solver/Test_dwf_cg_schur.cc @@ -61,7 +61,7 @@ int main (int argc, char ** argv) LatticeFermion src(FGrid); random(RNG5,src); LatticeFermion result(FGrid); result=Zero(); - LatticeGaugeField Umu(UGrid); SU3::HotConfiguration(RNG4,Umu); + LatticeGaugeField Umu(UGrid); SU::HotConfiguration(RNG4,Umu); std::vector U(4,UGrid); for(int mu=0;mu::HotConfiguration(RNG4,Umu); std::vector U(4,UGrid); for(int mu=0;mu::HotConfiguration(RNG4,Umu); std::vector U(4,UGrid); diff --git a/tests/solver/Test_dwf_fpgcr.cc b/tests/solver/Test_dwf_fpgcr.cc index 156f678a..42cc8de1 100644 --- a/tests/solver/Test_dwf_fpgcr.cc +++ b/tests/solver/Test_dwf_fpgcr.cc @@ -68,7 +68,7 @@ int main (int argc, char ** argv) LatticeFermion result(FGrid); result=Zero(); LatticeGaugeField Umu(UGrid); - SU3::HotConfiguration(RNG4,Umu); + SU::HotConfiguration(RNG4,Umu); ConjugateResidual CR(1.0e-6,10000); diff --git a/tests/solver/Test_dwf_mrhs_cg.cc b/tests/solver/Test_dwf_mrhs_cg.cc index 982a8247..b912ba4f 100644 --- a/tests/solver/Test_dwf_mrhs_cg.cc +++ b/tests/solver/Test_dwf_mrhs_cg.cc @@ -93,7 +93,7 @@ int main (int argc, char ** argv) for(int s=0;s::HotConfiguration(pRNG,Umu); /////////////////////////////////////////////////////////////// // Bounce these fields to disk diff --git a/tests/solver/Test_dwf_mrhs_cg_mpi.cc b/tests/solver/Test_dwf_mrhs_cg_mpi.cc index 8ace9b43..d0a32460 100644 --- a/tests/solver/Test_dwf_mrhs_cg_mpi.cc +++ b/tests/solver/Test_dwf_mrhs_cg_mpi.cc @@ -136,11 +136,11 @@ int main (int argc, char ** argv) std::cout << GridLogMessage << "Intialising 4D RNG "<::HotConfiguration(pRNG,Umu); std::cout << GridLogMessage << "Intialised the HOT Gauge Field"<::ColdConfiguration(Umu); std::cout << GridLogMessage << "Intialised the COLD Gauge Field"<::HotConfiguration(pRNG,Umu); ///////////////// // MPI only sends diff --git a/tests/solver/Test_dwf_qmr_unprec.cc b/tests/solver/Test_dwf_qmr_unprec.cc index ba44ee93..370e7409 100644 --- a/tests/solver/Test_dwf_qmr_unprec.cc +++ b/tests/solver/Test_dwf_qmr_unprec.cc @@ -51,7 +51,7 @@ int main (int argc, char ** argv) LatticeFermion src(FGrid); random(RNG5,src); LatticeFermion result(FGrid); result=Zero(); - LatticeGaugeField Umu(UGrid); SU3::HotConfiguration(RNG4,Umu); + LatticeGaugeField Umu(UGrid); SU::HotConfiguration(RNG4,Umu); std::vector U(4,UGrid); diff --git a/tests/solver/Test_mobius_bcg.cc b/tests/solver/Test_mobius_bcg.cc index 8b34a6a5..8092d61c 100644 --- a/tests/solver/Test_mobius_bcg.cc +++ b/tests/solver/Test_mobius_bcg.cc @@ -128,7 +128,7 @@ int main (int argc, char ** argv) std::cout << GridLogMessage << "Intialising 4D RNG "<::HotConfiguration(pRNG,Umu); std::cout << GridLogMessage << "Intialised the HOT Gauge Field"<::HotConfiguration(pRNG,Umu); std::cout << GridLogMessage << "Intialised the HOT Gauge Field"<::ColdConfiguration(Umu); std::cout << GridLogMessage << "Intialised the COLD Gauge Field"<::HotConfiguration(pRNG,Umu); std::cout << GridLogMessage << "Intialised the HOT Gauge Field"<::ColdConfiguration(Umu); std::cout << GridLogMessage << "Intialised the COLD Gauge Field"<::HotConfiguration(pRNG,Umu); std::cout << GridLogMessage << "Intialised the HOT Gauge Field"<::ColdConfiguration(Umu); std::cout << GridLogMessage << "Intialised the COLD Gauge Field"<::HotConfiguration(pRNG,Umu); ///////////////// // MPI only sends diff --git a/tests/solver/Test_staggered_block_cg_prec.cc b/tests/solver/Test_staggered_block_cg_prec.cc index 2499fc8a..c5306e85 100644 --- a/tests/solver/Test_staggered_block_cg_prec.cc +++ b/tests/solver/Test_staggered_block_cg_prec.cc @@ -87,7 +87,7 @@ int main (int argc, char ** argv) FermionField result_o(FrbGrid); result_o=Zero(); RealD nrm = norm2(src); - LatticeGaugeField Umu(UGrid); SU3::HotConfiguration(pRNG,Umu); + LatticeGaugeField Umu(UGrid); SU::HotConfiguration(pRNG,Umu); double volume=1; for(int mu=0;mu::HotConfiguration(pRNG,Umu); RealD mass=0.003; RealD c1=9.0/8.0; diff --git a/tests/solver/Test_staggered_cagmres_unprec.cc b/tests/solver/Test_staggered_cagmres_unprec.cc index 8121c90d..1b7a2f56 100644 --- a/tests/solver/Test_staggered_cagmres_unprec.cc +++ b/tests/solver/Test_staggered_cagmres_unprec.cc @@ -51,7 +51,7 @@ int main (int argc, char ** argv) FermionField src(&Grid); random(pRNG,src); RealD nrm = norm2(src); FermionField result(&Grid); result=Zero(); - LatticeGaugeField Umu(&Grid); SU3::HotConfiguration(pRNG,Umu); + LatticeGaugeField Umu(&Grid); SU::HotConfiguration(pRNG,Umu); double volume=1; for(int mu=0;mu::HotConfiguration(pRNG,Umu); double volume=1; for(int mu=0;mu seeds({1,2,3,4}); GridParallelRNG pRNG(&Grid); pRNG.SeedFixedIntegers(seeds); - LatticeGaugeField Umu(&Grid); SU3::HotConfiguration(pRNG,Umu); + LatticeGaugeField Umu(&Grid); SU::HotConfiguration(pRNG,Umu); FermionField src(&Grid); random(pRNG,src); FermionField result(&Grid); result=Zero(); diff --git a/tests/solver/Test_staggered_cg_unprec.cc b/tests/solver/Test_staggered_cg_unprec.cc index 9625a9c8..e023b910 100644 --- a/tests/solver/Test_staggered_cg_unprec.cc +++ b/tests/solver/Test_staggered_cg_unprec.cc @@ -65,7 +65,7 @@ int main (int argc, char ** argv) FermionField src(&Grid); random(pRNG,src); RealD nrm = norm2(src); FermionField result(&Grid); result=Zero(); - LatticeGaugeField Umu(&Grid); SU3::HotConfiguration(pRNG,Umu); + LatticeGaugeField Umu(&Grid); SU::HotConfiguration(pRNG,Umu); double volume=1; for(int mu=0;mu::HotConfiguration(pRNG,Umu); double volume=1; for(int mu=0;mu::HotConfiguration(pRNG,Umu); double volume=1; for(int mu=0;mu::HotConfiguration(pRNG,Umu); double volume=1; for(int mu=0;mu::HotConfiguration(pRNG,Umu); double volume=1; for(int mu=0;mu::HotConfiguration(pRNG,Umu); double volume=1; for(int mu=0;mu::HotConfiguration(pRNG,Umu); double volume=1; for(int mu=0;mu::HotConfiguration(pRNG,Umu); std::vector U(4,&Grid); diff --git a/tests/solver/Test_wilson_cg_schur.cc b/tests/solver/Test_wilson_cg_schur.cc index 23383032..97482131 100644 --- a/tests/solver/Test_wilson_cg_schur.cc +++ b/tests/solver/Test_wilson_cg_schur.cc @@ -57,7 +57,7 @@ int main (int argc, char ** argv) std::vector seeds({1,2,3,4}); GridParallelRNG pRNG(&Grid); pRNG.SeedFixedIntegers(seeds); - LatticeGaugeField Umu(&Grid); SU3::HotConfiguration(pRNG,Umu); + LatticeGaugeField Umu(&Grid); SU::HotConfiguration(pRNG,Umu); LatticeFermion src(&Grid); random(pRNG,src); LatticeFermion result(&Grid); result=Zero(); diff --git a/tests/solver/Test_wilson_cg_unprec.cc b/tests/solver/Test_wilson_cg_unprec.cc index f3335d45..07f6ba7b 100644 --- a/tests/solver/Test_wilson_cg_unprec.cc +++ b/tests/solver/Test_wilson_cg_unprec.cc @@ -60,7 +60,7 @@ int main (int argc, char ** argv) LatticeFermion src(&Grid); random(pRNG,src); RealD nrm = norm2(src); LatticeFermion result(&Grid); result=Zero(); - LatticeGaugeField Umu(&Grid); SU3::HotConfiguration(pRNG,Umu); + LatticeGaugeField Umu(&Grid); SU::HotConfiguration(pRNG,Umu); double volume=1; for(int mu=0;mu::HotConfiguration(pRNG,Umu); std::vector U(4,&Grid); diff --git a/tests/solver/Test_wilson_fcagmres_prec.cc b/tests/solver/Test_wilson_fcagmres_prec.cc index b821a25f..d2a1acf4 100644 --- a/tests/solver/Test_wilson_fcagmres_prec.cc +++ b/tests/solver/Test_wilson_fcagmres_prec.cc @@ -47,7 +47,7 @@ int main (int argc, char ** argv) LatticeFermion src(&Grid); random(pRNG,src); RealD nrm = norm2(src); LatticeFermion result(&Grid); result=Zero(); - LatticeGaugeField Umu(&Grid); SU3::HotConfiguration(pRNG,Umu); + LatticeGaugeField Umu(&Grid); SU::HotConfiguration(pRNG,Umu); double volume=1; for(int mu=0;mu::HotConfiguration(pRNG,Umu); double volume=1; for(int mu=0;mu::HotConfiguration(pRNG,Umu); double volume=1; for(int mu=0;mu::HotConfiguration(fPRNG, Umu); // clang-format on RealD mass = -0.25; diff --git a/tests/solver/Test_wilson_mg_mp.cc b/tests/solver/Test_wilson_mg_mp.cc index e631cd15..89bbbf74 100644 --- a/tests/solver/Test_wilson_mg_mp.cc +++ b/tests/solver/Test_wilson_mg_mp.cc @@ -52,7 +52,7 @@ int main(int argc, char **argv) { LatticeFermionD src_d(FGrid_d); gaussian(fPRNG, src_d); LatticeFermionD resultMGD_d(FGrid_d); resultMGD_d = Zero(); LatticeFermionD resultMGF_d(FGrid_d); resultMGF_d = Zero(); - LatticeGaugeFieldD Umu_d(FGrid_d); SU3::HotConfiguration(fPRNG, Umu_d); + LatticeGaugeFieldD Umu_d(FGrid_d); SU::HotConfiguration(fPRNG, Umu_d); LatticeGaugeFieldF Umu_f(FGrid_f); precisionChange(Umu_f, Umu_d); // clang-format on diff --git a/tests/solver/Test_wilson_mr_unprec.cc b/tests/solver/Test_wilson_mr_unprec.cc index 1cc1f418..fef83794 100644 --- a/tests/solver/Test_wilson_mr_unprec.cc +++ b/tests/solver/Test_wilson_mr_unprec.cc @@ -47,7 +47,7 @@ int main (int argc, char ** argv) LatticeFermion src(&Grid); random(pRNG,src); RealD nrm = norm2(src); LatticeFermion result(&Grid); result=Zero(); - LatticeGaugeField Umu(&Grid); SU3::HotConfiguration(pRNG,Umu); + LatticeGaugeField Umu(&Grid); SU::HotConfiguration(pRNG,Umu); double volume=1; for(int mu=0;mu::HotConfiguration(RNG4,Umu); std::vector U(4,Grid); diff --git a/tests/solver/Test_wilsonclover_bicgstab_prec.cc b/tests/solver/Test_wilsonclover_bicgstab_prec.cc index c1905400..b382b1bb 100644 --- a/tests/solver/Test_wilsonclover_bicgstab_prec.cc +++ b/tests/solver/Test_wilsonclover_bicgstab_prec.cc @@ -60,7 +60,7 @@ int main (int argc, char ** argv) LatticeFermion src(&Grid); random(pRNG,src); RealD nrm = norm2(src); LatticeFermion result(&Grid); result=Zero(); - LatticeGaugeField Umu(&Grid); SU3::HotConfiguration(pRNG,Umu); + LatticeGaugeField Umu(&Grid); SU::HotConfiguration(pRNG,Umu); double volume=1; for(int mu=0;mu::HotConfiguration(pRNG,Umu); double volume=1; for(int mu=0;mu::HotConfiguration(pRNG,Umu); double volume=1; for(int mu=0;mu::HotConfiguration(pRNG,Umu); double volume=1; for(int mu=0;mu::HotConfiguration(pRNG,Umu); std::vector U(4,&Grid); diff --git a/tests/solver/Test_wilsonclover_cg_schur.cc b/tests/solver/Test_wilsonclover_cg_schur.cc index eaae24b3..567a8283 100644 --- a/tests/solver/Test_wilsonclover_cg_schur.cc +++ b/tests/solver/Test_wilsonclover_cg_schur.cc @@ -57,7 +57,7 @@ int main (int argc, char ** argv) std::vector seeds({1,2,3,4}); GridParallelRNG pRNG(&Grid); pRNG.SeedFixedIntegers(seeds); - LatticeGaugeField Umu(&Grid); SU3::HotConfiguration(pRNG,Umu); + LatticeGaugeField Umu(&Grid); SU::HotConfiguration(pRNG,Umu); LatticeFermion src(&Grid); random(pRNG,src); LatticeFermion result(&Grid); result=Zero(); diff --git a/tests/solver/Test_wilsonclover_cg_unprec.cc b/tests/solver/Test_wilsonclover_cg_unprec.cc index 49c52cdf..755d80e1 100644 --- a/tests/solver/Test_wilsonclover_cg_unprec.cc +++ b/tests/solver/Test_wilsonclover_cg_unprec.cc @@ -60,7 +60,7 @@ int main (int argc, char ** argv) LatticeFermion src(&Grid); random(pRNG,src); RealD nrm = norm2(src); LatticeFermion result(&Grid); result=Zero(); - LatticeGaugeField Umu(&Grid); SU3::HotConfiguration(pRNG,Umu); + LatticeGaugeField Umu(&Grid); SU::HotConfiguration(pRNG,Umu); double volume=1; for(int mu=0;mu::HotConfiguration(pRNG,Umu); double volume=1; for(int mu=0;mu::HotConfiguration(pRNG,Umu); double volume=1; for(int mu=0;mu::HotConfiguration(pRNG,Umu); double volume=1; for(int mu=0;mu::HotConfiguration(fPRNG, Umu); // clang-format on RealD mass = -0.25; diff --git a/tests/solver/Test_wilsonclover_mg_lime.cc b/tests/solver/Test_wilsonclover_mg_lime.cc index bd2990d4..0a29c034 100644 --- a/tests/solver/Test_wilsonclover_mg_lime.cc +++ b/tests/solver/Test_wilsonclover_mg_lime.cc @@ -75,7 +75,7 @@ int main(int argc, char **argv) { NerscIO::readConfiguration(Umu_d,header,file); } #endif - // SU3::HotConfiguration(fPRNG, Umu_d); + // SU::HotConfiguration(fPRNG, Umu_d); LatticeGaugeFieldF Umu_f(FGrid_f); precisionChange(Umu_f, Umu_d); // clang-format on diff --git a/tests/solver/Test_wilsonclover_mg_mp.cc b/tests/solver/Test_wilsonclover_mg_mp.cc index b5178d2e..2efe5f08 100644 --- a/tests/solver/Test_wilsonclover_mg_mp.cc +++ b/tests/solver/Test_wilsonclover_mg_mp.cc @@ -52,7 +52,7 @@ int main(int argc, char **argv) { LatticeFermionD src_d(FGrid_d); gaussian(fPRNG, src_d); LatticeFermionD resultMGD_d(FGrid_d); resultMGD_d = zero; LatticeFermionD resultMGF_d(FGrid_d); resultMGF_d = zero; - LatticeGaugeFieldD Umu_d(FGrid_d); SU3::HotConfiguration(fPRNG, Umu_d); + LatticeGaugeFieldD Umu_d(FGrid_d); SU::HotConfiguration(fPRNG, Umu_d); LatticeGaugeFieldF Umu_f(FGrid_f); precisionChange(Umu_f, Umu_d); // clang-format on diff --git a/tests/solver/Test_wilsonclover_mixedbicgstab_prec.cc b/tests/solver/Test_wilsonclover_mixedbicgstab_prec.cc index 0af83f8b..d47dac2a 100644 --- a/tests/solver/Test_wilsonclover_mixedbicgstab_prec.cc +++ b/tests/solver/Test_wilsonclover_mixedbicgstab_prec.cc @@ -61,7 +61,7 @@ int main (int argc, char ** argv) // clang-format off LatticeFermionD src(FGrid_d); gaussian(fPRNG, src); LatticeFermionD result(FGrid_d); result = Zero(); - LatticeGaugeFieldD Umu_d(FGrid_d); SU3::HotConfiguration(fPRNG, Umu_d); + LatticeGaugeFieldD Umu_d(FGrid_d); SU::HotConfiguration(fPRNG, Umu_d); LatticeGaugeFieldF Umu_f(FGrid_f); precisionChange(Umu_f, Umu_d); // clang-format on diff --git a/tests/solver/Test_wilsonclover_mixedcg_prec.cc b/tests/solver/Test_wilsonclover_mixedcg_prec.cc index 8af9036f..95590004 100644 --- a/tests/solver/Test_wilsonclover_mixedcg_prec.cc +++ b/tests/solver/Test_wilsonclover_mixedcg_prec.cc @@ -61,7 +61,7 @@ int main (int argc, char ** argv) // clang-format off LatticeFermionD src(FGrid_d); gaussian(fPRNG, src); LatticeFermionD result(FGrid_d); result = Zero(); - LatticeGaugeFieldD Umu_d(FGrid_d); SU3::HotConfiguration(fPRNG, Umu_d); + LatticeGaugeFieldD Umu_d(FGrid_d); SU::HotConfiguration(fPRNG, Umu_d); LatticeGaugeFieldF Umu_f(FGrid_f); precisionChange(Umu_f, Umu_d); // clang-format on diff --git a/tests/solver/Test_wilsonclover_mr_unprec.cc b/tests/solver/Test_wilsonclover_mr_unprec.cc index c7b5ecfe..ab49ec1f 100644 --- a/tests/solver/Test_wilsonclover_mr_unprec.cc +++ b/tests/solver/Test_wilsonclover_mr_unprec.cc @@ -51,7 +51,7 @@ int main (int argc, char ** argv) FermionField src(&Grid); random(pRNG,src); RealD nrm = norm2(src); FermionField result(&Grid); result=Zero(); - LatticeGaugeField Umu(&Grid); SU3::HotConfiguration(pRNG,Umu); + LatticeGaugeField Umu(&Grid); SU::HotConfiguration(pRNG,Umu); double volume=1; for(int mu=0;mu::HotConfiguration(RNG4, Umu); } std::cout << GridLogMessage << "Lattice dimensions: " << GridDefaultLatt() diff --git a/tests/solver/Test_zmobius_cg_prec.cc b/tests/solver/Test_zmobius_cg_prec.cc index fb57cff1..6b007afc 100644 --- a/tests/solver/Test_zmobius_cg_prec.cc +++ b/tests/solver/Test_zmobius_cg_prec.cc @@ -67,7 +67,7 @@ int main(int argc, char** argv) { result = Zero(); LatticeGaugeField Umu(UGrid); - SU3::HotConfiguration(RNG4, Umu); + SU::HotConfiguration(RNG4, Umu); std::cout << GridLogMessage << "Lattice dimensions: " << GridDefaultLatt() << " Ls: " << Ls << std::endl;