Skip to content

self.s VS self.zs #74

@HamidArianZad

Description

@HamidArianZad

Hi,

I newly installed last version (v-1.3.3) of TeNeS. I can run samples code in sample folder of TeNeS.
In previous version (v-1.2), I introduced my lattice in tenes_simple.py file and it was working fine with self.z.
I just copied my lattice code from previous version to the tenes_simple of new version v-1.3.3 and I faced an error after running the code, revealing that self.z should not be integer.
I found that you replaced self.z with self.zs in the lattice parts.
For example for Kagome lattice introduced in the new version, you introduced self.sz as: self.zs = [[2, 2, 0], [4, 0, 0], [4, 2, 0]], while in previous version it was self.z = 4.
Can you please specify what is the meaning of all elements of 2d array self.zs, in detail?

For the lattice model shown below:

trianglehexagon lattice

how the elements of self.zs = [[]] for above shown lattice should be selected?
I selected them as: self.zs = [[2, 1, 0], [0, 0, 0], [0, 0, 0]], is that right?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions