mirror of
				https://github.com/paboyle/Grid.git
				synced 2025-11-04 05:54:32 +00:00 
			
		
		
		
	Linear op added
This commit is contained in:
		
							
								
								
									
										18
									
								
								lib/algorithms/LinearOperator.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								lib/algorithms/LinearOperator.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,18 @@
 | 
				
			|||||||
 | 
					#ifndef  GRID_ALGORITHM_LINEAR_OP_H
 | 
				
			||||||
 | 
					#define  GRID_ALGORITHM_LINEAR_OP_H
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#include <Grid.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					namespace Grid {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  // Red black cases?
 | 
				
			||||||
 | 
					    template<class vtype> class LinearOperatorBase {
 | 
				
			||||||
 | 
					    public:
 | 
				
			||||||
 | 
					      void M(const Lattice<vtype> &in, Lattice<vtype> &out){ assert(0);}
 | 
				
			||||||
 | 
					      void Mdag(const Lattice<vtype> &in, Lattice<vtype> &out){ assert(0);}
 | 
				
			||||||
 | 
					      void MdagM(const Lattice<vtype> &in, Lattice<vtype> &out){ assert(0);}
 | 
				
			||||||
 | 
					    };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
		Reference in New Issue
	
	Block a user