1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-09-20 09:15:38 +01:00

Linear op added

This commit is contained in:
Peter Boyle 2015-05-13 11:25:34 +01:00
parent 0097b81778
commit 5166888c0a

View 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