mirror of
https://github.com/paboyle/Grid.git
synced 2024-11-10 07:55:35 +00:00
Linear op added
This commit is contained in:
parent
0097b81778
commit
5166888c0a
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
|
Loading…
Reference in New Issue
Block a user