-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlattice.cpp
More file actions
15 lines (10 loc) · 771 Bytes
/
lattice.cpp
File metadata and controls
15 lines (10 loc) · 771 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include "head.h"
#include <iostream>
/*double Spin::LA[Sub][TotalNeighbor][4]={{{0,0,1,1},{0,0,2,1},{1,-1,1,1},{0,-1,2,1}},
{{0,0,2,1},{0,0,0,1},{-1,1,0,1},{-1,0,2,1}},
{{0,0,1,1},{0,0,0,1},{0,1,0,1},{1,0,1,1}}}; *///kagome
double Spin::LA[Sub][TotalNeighbor][4]={{{1,0,0,1},{0,1,0,1},{-1,0,0,1},{0,-1,0,1},
{1,1,0,-0.4},{1,-1,0,-0.4},{-1,1,0,-0.4},{-1,-1,0,-0.4}}};//square
/*double Spin::LA[Sub][TotalNeighbor][4]={{{0,0,1,1},{0,0,2,1},{1,-1,1,1},{0,-1,2,1}},//whatever
{{0,0,2,1},{0,0,0,1},{-1,1,0,1},{-1,0,2,1}},
{{0,0,1,1},{0,0,0,1},{0,1,0,1},{1,0,1,1}}};*/