Commit 6f88cb20 authored by Alvarez, Gonzalo's avatar Alvarez, Gonzalo
Browse files

SU(3) model: compiles

parent 075a5586
......@@ -248,8 +248,8 @@ private:
qns.resize(basis.size(), QnType::zero());
for (SizeType i = 0; i < basis.size(); ++i) {
PairType jmpair(0, 0);
other[0] = su3Rep_.t3OfState(i);
other[1] = su3Rep_.t8OfState(i);
other[0] = su3Rep_->t3OfState(i);
other[1] = su3Rep_->t8OfState(i);
SizeType flavor = 1;
qns[i] = QnType(false, other, jmpair, flavor);
}
......
......@@ -13,7 +13,11 @@ public:
virtual ~Su3RepresentationBase() {}
virtual void getMatrix(MatrixType& m, SizeType n) const = 0;
virtual void getMatrix(MatrixType&, SizeType) const = 0;
virtual SizeType t3OfState(SizeType) const = 0;
virtual SizeType t8OfState(SizeType) const = 0;
virtual SizeType size() const = 0;
};
......
......@@ -17,6 +17,16 @@ public:
throw PsimagLite::RuntimeError("getMatrix: not implemented yet\n");
}
SizeType t3OfState(SizeType) const
{
throw PsimagLite::RuntimeError("t3OfState: not implemented yet\n");
}
SizeType t8OfState(SizeType) const
{
throw PsimagLite::RuntimeError("t8OfState: not implemented yet\n");
}
SizeType size() const { return 3; }
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment