Commit 7de77d05 authored by Alvarez, Gonzalo's avatar Alvarez, Gonzalo
Browse files

TensorEvalNew

parent 7f7efa65
Loading
Loading
Loading
Loading
+8 −4
Original line number Diff line number Diff line
@@ -22,6 +22,7 @@ along with MERA++. If not, see <http://www.gnu.org/licenses/>.
#include "SrepStatement.h"
#include "TensorEvalHandle.h"
#include "SymmetryLocal.h"
#include "NameToIndexLut.h"

namespace Mera {

@@ -41,22 +42,25 @@ public:
	typedef SymmetryLocal SymmetryLocalType;

	TensorEval(const SrepStatementType& tSrep,
	              const VectorTensorType& vt)
	           const VectorTensorType& vt,
	           const NameToIndexLut<TensorType>&,
	           SymmetryLocalType*,
	           bool = false)
	{}

	SizeType nameToIndexLut(PsimagLite::String name)
	{
		throw PsimagLite::RuntimeError("Not implemented yet\n");
		throw PsimagLite::RuntimeError("TensorEvalNew::nameToIndexLut Not implemented yet\n");
	}

	HandleType operator()()
	{
		throw PsimagLite::RuntimeError("Not implemented yet\n");
		throw PsimagLite::RuntimeError("TensorEvalNew::operator: Not implemented yet\n");
	}

	void printResult(std::ostream& os) const
	{
		throw PsimagLite::RuntimeError("Not implemented yet\n");
		throw PsimagLite::RuntimeError("TensorEvalNew::printResult: Not implemented yet\n");
	}
};
} // namespace Mera
+1 −0
Original line number Diff line number Diff line
@@ -19,6 +19,7 @@ along with MERA++. If not, see <http://www.gnu.org/licenses/>.
#include "Vector.h"
#include "SrepStatement.h"
#include "TensorEval.h"
#include "NameToIndexLut.h"

int main(int argc, char **argv)
{