1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-11-10 07:55:35 +00:00

Scalar: phi^2 observable

This commit is contained in:
Antonin Portelli 2017-05-17 13:25:14 +02:00
parent 35fa3d1dfd
commit 3f858d6755

View File

@ -62,6 +62,8 @@ public:
<< "m= " << TensorRemove(trace(sum(U))) << std::endl;
std::cout << GridLogMessage
<< "m^2= " << TensorRemove(trace(sum(U)*sum(U))) << std::endl;
std::cout << GridLogMessage
<< "phi^2= " << TensorRemove(sum(trace(U*U))) << std::endl;
std::cout.precision(def_prec);
}