1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-04-05 11:45:56 +01:00

Turn on orthogonality checking temporarily

This commit is contained in:
Daniel Richtmann 2018-01-29 17:09:51 +01:00
parent 04f92ccddf
commit 161637e573
No known key found for this signature in database
GPG Key ID: B33C490AF0772057

View File

@ -119,12 +119,12 @@ namespace Grid {
void Orthogonalise(void){
CoarseScalar InnerProd(CoarseGrid);
std::cout << GridLogMessage <<" Gramm-Schmidt pass 1"<<std::endl;
std::cout << GridLogMessage <<"Gram-Schmidt pass 1"<<std::endl;
blockOrthogonalise(InnerProd,subspace);
std::cout << GridLogMessage <<" Gramm-Schmidt pass 2"<<std::endl;
std::cout << GridLogMessage <<"Gram-Schmidt pass 2"<<std::endl;
blockOrthogonalise(InnerProd,subspace);
// std::cout << GridLogMessage <<" Gramm-Schmidt checking orthogonality"<<std::endl;
// CheckOrthogonal();
std::cout << GridLogMessage <<"Gram-Schmidt checking orthogonality"<<std::endl;
CheckOrthogonal();
}
void CheckOrthogonal(void){
CoarseVector iProj(CoarseGrid);