Want to know more about bulid_discretized
I want to know more about the builid_discretized(tb_hamiltonian, coords). I did not undersand what should be the syntax to write the coords.Could you please help me by sending an example code for writing coords? Thanks in Advance. Naveen Department of Physics & Astrophysics University of Delhi 110007
Hi Naveen,
In the documentation
https://kwant-project.org/doc/dev/reference/generated/kwant.continuum.build_...
you can see that coords require a sequence of strings, so for example:
coords = ('x',) # for 1D
coords = ('x', 'y', 'z') # for 3D
Best, Bas
On Fri, Mar 29, 2019 at 12:59 PM Naveen Yadav
I want to know more about the builid_discretized(tb_hamiltonian, coords). I did not undersand what should be the syntax to write the coords.Could you please help me by sending an example code for writing coords?
Thanks in Advance.
Naveen Department of Physics & Astrophysics University of Delhi 110007
participants (2)
-
Bas Nijholt
-
Naveen Yadav