1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-06-15 14:27:06 +01:00

Commit for debugging, lot of IO

This commit is contained in:
Guido Cossu
2016-12-13 06:35:30 +00:00
parent e0be2b6e6c
commit 5c74b6028b
4 changed files with 19 additions and 7 deletions

View File

@ -234,11 +234,17 @@ namespace Grid {
virtual RealD MpcDag (const Field &in, Field &out){
Field tmp(in._grid);
std::cout << "norm in :" << norm2(in) << std::endl;
_Mat.MeooeDag(in,tmp);
_Mat.MooeeInvDag(tmp,out);
std::cout << "norm tmp :" << norm2(tmp) << std::endl;
_Mat.MooeeInvDag(tmp,out);
std::cout << "norm out :" << norm2(out) << std::endl;
_Mat.MeooeDag(out,tmp);
std::cout << "norm tmp :" << norm2(tmp) << std::endl;
_Mat.MooeeDag(in,out);
std::cout << "norm out :" << norm2(out) << std::endl;
return axpy_norm(out,-1.0,tmp,out);
}
};