Replies: 2 comments 1 reply
-
|
The worm code does throw an error on graphs without translational invariance. One workaround would be to use LATTICE="triangular lattice"; Creating an issue to alert the user to restrict to lattices instead of graphs. |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
Yes, one workaround would be to use a triangle as a unit cell and set L=1. For example, if you want only 3 edges and 3 sites, you could update the kagome lattice to have open boundaries and choose L=1: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When my input lattice is like this, the algorithm worked well.
<LATTICEGRAPH name = "square lattice 3x3"> <FINITELATTICE> <LATTICE ref="square lattice"/> <EXTENT dimension="1" size="3"/> <EXTENT dimension="2" size="3"/> <BOUNDARY dimension="1" type="open"/> <BOUNDARY dimension="2" type="open"/> </FINITELATTICE> <UNITCELL ref="simple2d"/> </LATTICEGRAPH>But when it changed into a graph(without translation symmetry), the algorithm stopped.
<GRAPH name="triangle" vertices="3"> <EDGE type="0" source="1" target="2"/> <EDGE type="0" source="2" target="3"/> <EDGE type="0" source="3" target="1"/> </GRAPH>And it returned :"Created run 1 locally
Cannot save a measurement of size 0."
Beta Was this translation helpful? Give feedback.
All reactions