mirror of
https://github.com/paboyle/Grid.git
synced 2026-10-21 23:03:17 +01:00
Linear op added
This commit is contained in:
1 parent
7f3ae64a31
commit
43bdbb5080
1 file changed
+18
@@ -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