mirror of
				https://github.com/paboyle/Grid.git
				synced 2025-11-04 05:54:32 +00:00 
			
		
		
		
	more accurate comment
This commit is contained in:
		@@ -102,16 +102,11 @@ int main (int argc, char ** argv)
 | 
				
			|||||||
  CoarseVector c_res (Coarse5d);
 | 
					  CoarseVector c_res (Coarse5d);
 | 
				
			||||||
  CoarseVector c_proj(Coarse5d);
 | 
					  CoarseVector c_proj(Coarse5d);
 | 
				
			||||||
  
 | 
					  
 | 
				
			||||||
  //  TODO
 | 
					 | 
				
			||||||
  // -- promote from subspace, check we get the vector we wanted
 | 
					 | 
				
			||||||
  // -- apply ldop; check we get the same as inner product of M times big vec
 | 
					 | 
				
			||||||
  // -- pick blocks one by one. Evaluate matrix elements.
 | 
					 | 
				
			||||||
  Complex one(1.0);
 | 
					  Complex one(1.0);
 | 
				
			||||||
  c_src = one;  // 1 in every element for vector 1.
 | 
					  c_src = one;  // 1 in every element for vector 1.
 | 
				
			||||||
  
 | 
					  
 | 
				
			||||||
  blockPromote(c_src,err,subspace);
 | 
					  blockPromote(c_src,err,subspace);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					 | 
				
			||||||
  prom=zero;
 | 
					  prom=zero;
 | 
				
			||||||
  for(int b=0;b<nbasis;b++){
 | 
					  for(int b=0;b<nbasis;b++){
 | 
				
			||||||
    prom=prom+subspace[b];
 | 
					    prom=prom+subspace[b];
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user