Hi,
I am trying to build a lattice composed of 2 layers of spins where the spins of layer 1 do not play the same role (ie the next neighbour edges J//1 and J//2 in the layers are different) as those in the layer 2. I guess I cannot just use an "anisotropic 3d" latticegraph so I am trying with a unitcell with 2 spins. Can I just create a unitcell as follows
<UNITCELL name="dimer_along_Z" dimension="3"> <VERTEX type="1"> <COORDINATE> 0 0 0</COORDINATE> </VERTEX> <VERTEX type="2"> <COORDINATE> 0 0 1 </COORDINATE> </VERTEX> <EDGE type="0"><SOURCE vertex="1" offset="0 0 0"/><TARGET vertex="2" offset="0 0 0"/></EDGE>
<EDGE type="1"><SOURCE vertex="1" offset="0 0 0"/><TARGET vertex="1" offset="1 0 0"/></EDGE> <EDGE type="2"><SOURCE vertex="2" offset="0 0 0"/><TARGET vertex="2" offset="1 0 0"/></EDGE> <EDGE type="3"><SOURCE vertex="1" offset="0 0 0"/><TARGET vertex="2" offset="1 0 0"/></EDGE> <EDGE type="4"><SOURCE vertex="2" offset="0 0 0"/><TARGET vertex="2" offset="1 0 0"/></EDGE>
<EDGE type="1"><SOURCE vertex="1" offset="0 0 0"/><TARGET vertex="1" offset="0 1 0"/></EDGE> <EDGE type="2"><SOURCE vertex="2" offset="0 0 0"/><TARGET vertex="2" offset="0 1 0"/></EDGE> <EDGE type="3"><SOURCE vertex="1" offset="0 0 0"/><TARGET vertex="2" offset="0 1 0"/></EDGE> <EDGE type="4"><SOURCE vertex="2" offset="0 0 0"/><TARGET vertex="2" offset="0 1 0"/></EDGE> </UNITCELL>
and then choose a 2d lattice as LATTICE ?
Thanks,
Jean-David
Yes, that looks OK at a first glance, but yoi want to have 2D offsets for a 2D lattice and not 3D offsets
Matthias
On Apr 11, 2007, at 11:25 AM, Jean-David Picon wrote:
Hi,
I am trying to build a lattice composed of 2 layers of spins where the spins of layer 1 do not play the same role (ie the next neighbour edges J//1 and J//2 in the layers are different) as those in the layer 2. I guess I cannot just use an "anisotropic 3d" latticegraph so I am trying with a unitcell with 2 spins. Can I just create a unitcell as follows
<UNITCELL name="dimer_along_Z" dimension="3"> <VERTEX type="1"> <COORDINATE> 0 0 0</COORDINATE> </VERTEX> <VERTEX type="2"> <COORDINATE> 0 0 1 </COORDINATE> </VERTEX> <EDGE type="0"><SOURCE vertex="1" offset="0 0 0"/><TARGET vertex="2" offset="0 0 0"/></EDGE> <EDGE type="1"><SOURCE vertex="1" offset="0 0 0"/><TARGET vertex="1" offset="1 0 0"/></EDGE> <EDGE type="2"><SOURCE vertex="2" offset="0 0 0"/><TARGET vertex="2" offset="1 0 0"/></EDGE> <EDGE type="3"><SOURCE vertex="1" offset="0 0 0"/><TARGET vertex="2" offset="1 0 0"/></EDGE> <EDGE type="4"><SOURCE vertex="2" offset="0 0 0"/><TARGET vertex="2" offset="1 0 0"/></EDGE>
<EDGE type="1"><SOURCE vertex="1" offset="0 0 0"/><TARGET vertex="1" offset="0 1 0"/></EDGE> <EDGE type="2"><SOURCE vertex="2" offset="0 0 0"/><TARGET vertex="2" offset="0 1 0"/></EDGE> <EDGE type="3"><SOURCE vertex="1" offset="0 0 0"/><TARGET vertex="2" offset="0 1 0"/></EDGE> <EDGE type="4"><SOURCE vertex="2" offset="0 0 0"/><TARGET vertex="2" offset="0 1 0"/></EDGE>
</UNITCELL>
and then choose a 2d lattice as LATTICE ?
Thanks,
Jean-David
comp-phys-alps-users@lists.phys.ethz.ch