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

MultiRHS working, starting to optimise. Block doesn't and I thought it already was; puzzled.

This commit is contained in:
paboyle
2017-04-17 10:50:19 +01:00
parent 7ede696126
commit 3141ebac10
2 changed files with 170 additions and 41 deletions

View File

@ -256,8 +256,10 @@ void operator()(LinearOperatorBase<Field> &Linop, const Field &Src, Field &Psi)
Linop.HermOp(P, AP);
// Alpha
// sliceInnerProductVectorTest(v_pAp_test,P,AP,Orthog);
sliceInnerProductVector(v_pAp,P,AP,Orthog);
for(int b=0;b<Nblock;b++){
// std::cout << " "<< v_pAp[b]<<" "<< v_pAp_test[b]<<std::endl;
v_alpha[b] = v_rr[b]/real(v_pAp[b]);
}