From 5166888c0a69c86476f1021dd108193480a0013b Mon Sep 17 00:00:00 2001 From: Peter Boyle Date: Wed, 13 May 2015 11:25:34 +0100 Subject: [PATCH] Linear op added --- lib/algorithms/LinearOperator.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 lib/algorithms/LinearOperator.h diff --git a/lib/algorithms/LinearOperator.h b/lib/algorithms/LinearOperator.h new file mode 100644 index 00000000..5929570f --- /dev/null +++ b/lib/algorithms/LinearOperator.h @@ -0,0 +1,18 @@ +#ifndef GRID_ALGORITHM_LINEAR_OP_H +#define GRID_ALGORITHM_LINEAR_OP_H + +#include + +namespace Grid { + + // Red black cases? + template class LinearOperatorBase { + public: + void M(const Lattice &in, Lattice &out){ assert(0);} + void Mdag(const Lattice &in, Lattice &out){ assert(0);} + void MdagM(const Lattice &in, Lattice &out){ assert(0);} + }; + +} + +#endif