Dear all,
In the file named as lattice.xml, I have seen that for a ladder structure there is the below code:
<LATTICEGRAPH name = "ladder" vt_name="LadderLattice">
<FINITELATTICE>
<LATTICE ref="square lattice"/>
<PARAMETER name="W" default="2"/>
<EXTENT dimension="1" size="L"/>
<EXTENT dimension="2" size="W"/>
<BOUNDARY dimension="1" type="periodic"/>
<BOUNDARY dimension="2" type="open"/>
</FINITELATTICE>
<UNITCELL ref="anisotropic2d"/>
</LATTICEGRAPH>
I am running spin_one_half.py code in the folder "alps\Library\tutorials\dmrg-01-dmrg" for a ladder structure. However, I do not know how and where should I exploit "printgraph parameter_file" as it mentioned by developers to show the structure which a user is making use. Really, I wish to add the diagonal links on the structure and consequently I want to see the changed shape.
But I do not understand how use printgraph!!!
Thankx so much
Hi
To add diagonals you have to change the unit cell as the documentation explains. The printgraph command does not draw the lattice but just prints a list of all edges in the graph
Matthias
On Feb 24, 2020, at 5:55 AM, Negin Mohseni monfarednegin@gmail.com wrote:
Dear all, In the file named as lattice.xml, I have seen that for a ladder structure there is the below code:
<LATTICEGRAPH name = "ladder" vt_name="LadderLattice">
<FINITELATTICE>
<LATTICE ref="square lattice"/>
<PARAMETER name="W" default="2"/>
<EXTENT dimension="1" size="L"/>
<EXTENT dimension="2" size="W"/>
<BOUNDARY dimension="1" type="periodic"/>
<BOUNDARY dimension="2" type="open"/>
</FINITELATTICE>
<UNITCELL ref="anisotropic2d"/>
</LATTICEGRAPH>
I am running spin_one_half.py code in the folder "alps\Library\tutorials\dmrg-01-dmrg" for a ladder structure. However, I do not know how and where should I exploit "printgraph parameter_file" as it mentioned by developers to show the structure which a user is making use.
Really, I wish to add the diagonal links on the structure and consequently I want to see the changed shape. But I do not understand how use printgraph!!!
Thankx so much
Comp-phys-alps-users Mailing List for the ALPS Project http://alps.comp-phys.org/
List info: https://lists.phys.ethz.ch//listinfo/comp-phys-alps-users Archive: https://lists.phys.ethz.ch//pipermail/comp-phys-alps-users
Unsubscribe by writing a mail to comp-phys-alps-users-leave@lists.phys.ethz.ch.
comp-phys-alps-users@lists.phys.ethz.ch