fully turnable product spaces

This commit is contained in:
Zeno Rogue
2019-09-12 22:50:13 +02:00
parent 52f19a26a8
commit 00f4f4fca5
10 changed files with 63 additions and 35 deletions
+1 -1
View File
@@ -141,7 +141,7 @@ EX namespace models {
#endif
EX transmatrix rotmatrix() {
if(GDIM == 2) return spin(rotation * degree);
if(GDIM == 2 || prod) return spin(rotation * degree);
return spin(rotation_xy2 * degree) * cspin(0, 2, -rotation_xz * degree) * spin(rotation * degree);
}