diff --git a/tests/Test_dwf_mixedcg_prec.cc b/tests/Test_dwf_mixedcg_prec.cc index ba07124b..2cdc67d2 100644 --- a/tests/Test_dwf_mixedcg_prec.cc +++ b/tests/Test_dwf_mixedcg_prec.cc @@ -82,9 +82,9 @@ int main (int argc, char ** argv) LatticeFermionD result_o(FrbGrid); LatticeFermionD result_o_2(FrbGrid); pickCheckerboard(Odd,src_o,src); - result_o.checkerboard = Odd; + result_o.Checkerboard() = Odd; result_o = zero; - result_o_2.checkerboard = Odd; + result_o_2.Checkerboard() = Odd; result_o_2 = zero; SchurDiagMooeeOperator HermOpEO(Ddwf); diff --git a/tests/Test_dwf_mixedcg_prec_halfcomms.cc b/tests/Test_dwf_mixedcg_prec_halfcomms.cc index b10561f6..068c435b 100644 --- a/tests/Test_dwf_mixedcg_prec_halfcomms.cc +++ b/tests/Test_dwf_mixedcg_prec_halfcomms.cc @@ -82,7 +82,7 @@ int main (int argc, char ** argv) LatticeFermionD src_o(FrbGrid); LatticeFermionD result_cg(FrbGrid); pickCheckerboard(Odd,src_o,src); - result_cg.checkerboard = Odd; + result_cg.Checkerboard() = Odd; result_cg = zero; LatticeFermionD result_mcg(result_cg); LatticeFermionD result_rlcg(result_cg); diff --git a/tests/Test_stencil.cc b/tests/Test_stencil.cc index c487ddda..d26684d9 100644 --- a/tests/Test_stencil.cc +++ b/tests/Test_stencil.cc @@ -110,13 +110,13 @@ int main(int argc, char ** argv) { SE = myStencil.GetEntry(permute_type,0,i); if ( SE->_is_local && SE->_permute ) - permute(Check._odata[i],Foo._odata[SE->_offset],permute_type); + permute(Check[i],Foo[SE->_offset],permute_type); else if (SE->_is_local) - Check._odata[i] = Foo._odata[SE->_offset]; + Check[i] = Foo[SE->_offset]; else { - Check._odata[i] = myStencil.CommBuf()[SE->_offset]; - // std::cout << " receive "<_offset]; + // std::cout << " receive "< 1.0e-4) { - for(int i=0;i 1.0e-4) exit(-1); @@ -191,11 +191,11 @@ int main(int argc, char ** argv) { Bar = Cshift(Foo,dir,disp); if ( disp & 0x1 ) { - ECheck.checkerboard = Even; - OCheck.checkerboard = Odd; + ECheck.Checkerboard() = Even; + OCheck.Checkerboard() = Odd; } else { - ECheck.checkerboard = Odd; - OCheck.checkerboard = Even; + ECheck.Checkerboard() = Odd; + OCheck.Checkerboard() = Even; } // Implement a stencil code that should agree with that darn cshift! @@ -207,11 +207,11 @@ int main(int argc, char ** argv) { // std::cout << "Even source "<< i<<" -> " <_offset << " "<< SE->_is_local<_is_local && SE->_permute ) - permute(OCheck._odata[i],EFoo._odata[SE->_offset],permute_type); + permute(OCheck[i],EFoo[SE->_offset],permute_type); else if (SE->_is_local) - OCheck._odata[i] = EFoo._odata[SE->_offset]; + OCheck[i] = EFoo[SE->_offset]; else - OCheck._odata[i] = EStencil.CommBuf()[SE->_offset]; + OCheck[i] = EStencil.CommBuf()[SE->_offset]; } OStencil.HaloExchange(OFoo,compress); for(int i=0;ioSites();i++){ @@ -221,11 +221,11 @@ int main(int argc, char ** argv) { // std::cout << "ODD source "<< i<<" -> " <_offset << " "<< SE->_is_local<_is_local && SE->_permute ) - permute(ECheck._odata[i],OFoo._odata[SE->_offset],permute_type); + permute(ECheck[i],OFoo[SE->_offset],permute_type); else if (SE->_is_local) - ECheck._odata[i] = OFoo._odata[SE->_offset]; + ECheck[i] = OFoo[SE->_offset]; else - ECheck._odata[i] = OStencil.CommBuf()[SE->_offset]; + ECheck[i] = OStencil.CommBuf()[SE->_offset]; } setCheckerboard(Check,ECheck); diff --git a/tests/debug/test_Grid_jacobi.cc b/tests/debug/test_Grid_jacobi.cc index c6209fe7..cda547ed 100644 --- a/tests/debug/test_Grid_jacobi.cc +++ b/tests/debug/test_Grid_jacobi.cc @@ -81,10 +81,10 @@ class LinearOperatorJacobi : public LinearOperator vobj *nbr; if ( local && perm ){ - permute(tmp,src._odata[offset],ptype); + permute(tmp,src[offset],ptype); nbr = &tmp; } else if (local) { - nbr = &src._odata[offset]; + nbr = &src[offset]; } else { nbr = &comm_buf[offset]; } @@ -189,11 +189,11 @@ int main (int argc, char ** argv) int permute_type = myStencil._permute_type[0]; int perm =myStencil._permute[0][i]; if ( local && perm ) - permute(Check._odata[i],Foo._odata[offset],permute_type); + permute(Check[i],Foo[offset],permute_type); else if (local) - Check._odata[i] = Foo._odata[offset]; + Check[i] = Foo[offset]; else - Check._odata[i] = comm_buf[offset]; + Check[i] = comm_buf[offset]; } diff --git a/tests/qdpxx/Test_qdpxx_stag.cc b/tests/qdpxx/Test_qdpxx_stag.cc index 93a10698..f94d1183 100644 --- a/tests/qdpxx/Test_qdpxx_stag.cc +++ b/tests/qdpxx/Test_qdpxx_stag.cc @@ -265,12 +265,12 @@ int main (int argc,char **argv ) std::cout << "Norm of Grid Asqtad multiply "<