If you look at your first picture you can see that the unit cell is a single triangle (yellow in your picture) and not the 5 sites shown in this message.
In the codes you can access the coordinates of the sites in the following way:
for (site_iterator it=sites().first ; it != sites().second ; ++it) { std::vector<double> c = coordinate(*it); }
Matthias
On 26 Apr 2007, at 08:56, aniket@jncasr.ac.in wrote:
hi, I have attached unit cell of kagome. Please go through that and tell me how should I fill the information in lattice.xml file? Please tell me, how to extract the coordinates of any generated lattice?
Regards, Aniket
Dear Aniket,
Why 5 sites in a unit cell? It seems to me that the three on a triangle are enough?
Matthias
On 26 Apr 2007, at 07:01, aniket@jncasr.ac.in wrote:
hi , I know the procedure for writing own unit cell i.e., you have to write lattice, latticegraph, unit cell, finite lattice, and graph. But I was trying for Kagome lattice but it wasn't working. So please help me out. I am giving you unit cell for kagome. Please find attached. Description: There are 5 vertices per unit cell. There is one triangle and a line included in that. The coordinates for 5 vertices are (0,0), (a,0) ,(a/2, sqrt(3)*a/2), (a/2, 0) and (a/4, sqrt(3)*a/4).
One more thing, how to extract the coordinates of any generated lattice? I am waiting for your reply.
Regards,
Aniket <kagome_1.png>
<kagome.pdf>