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

Schur solver for staggered type (hermition Mpc) opertors

This commit is contained in:
Chulwoo Jung
2017-08-31 21:32:01 -04:00
parent 0145685f96
commit 3006663b9c
2 changed files with 84 additions and 1 deletions

View File

@ -330,7 +330,9 @@ namespace Grid {
}
#endif
void HermOpAndNorm(const Field &in, Field &out,RealD &n1,RealD &n2){
n1 = Mpc(in,out);n2=0.;
n2 = Mpc(in,out);
ComplexD dot = innerProduct(in,out);
n1 = real(dot);
}
void HermOp(const Field &in, Field &out){
RealD n1,n2;