You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to reproduce the tutorial: "Solving the linearized Eliashberg equation in the random phase approximation limit",and got the following error:
AttributeError Traceback (most recent call last)
Input In [17], in <cell line: 6>()
3 square_lattice = create_square_lattice(norb=1, t=1.0)
5 nk = 32
----> 6 ek = square_lattice.on_mesh_brillouin_zone(n_k=(nk, nk, 1))
8 from triqs.gf import MeshImFreq
9 from triqs_tprf.lattice import lattice_dyson_g0_wk
AttributeError: 'TBLattice' object has no attribute 'on_mesh_brillouin_zone'
Both triqs and triqs_tprf version are 3.1.0, I installed them by anaconda.
thanks for pointing this out. The method on_mesh_brillouin_zone is an old one which does not work anymore, since the triqs.lattice python API changed. You must now first create a kmesh and then use the fourier method of the TBLattice class.
The following code snippet should work
I'm trying to reproduce the tutorial: "Solving the linearized Eliashberg equation in the random phase approximation limit",and got the following error:
AttributeError Traceback (most recent call last)
Input In [17], in <cell line: 6>()
3 square_lattice = create_square_lattice(norb=1, t=1.0)
5 nk = 32
----> 6 ek = square_lattice.on_mesh_brillouin_zone(n_k=(nk, nk, 1))
8 from triqs.gf import MeshImFreq
9 from triqs_tprf.lattice import lattice_dyson_g0_wk
AttributeError: 'TBLattice' object has no attribute 'on_mesh_brillouin_zone'
Both triqs and triqs_tprf version are 3.1.0, I installed them by anaconda.
Solving lthe inearized Eliashberg equation in the RPA limit.py.txt
The text was updated successfully, but these errors were encountered: