Git Product home page Git Product logo

Comments (5)

mitsuaki1987 avatar mitsuaki1987 commented on July 28, 2024 1

Dear @kyohn1004
Sorry, it is a bug in the U-matrix construction for slater_uj case. Index for shell is absent.
I fixed it in the develop branch.
Thank you for reporting.
Best regards,
Mitsuaki Kawamura

from dcore.

mitsuaki1987 avatar mitsuaki1987 commented on July 28, 2024

Dear @kyohn1004
You are correct.
Mitsuaki Kawamura(ISSP, U-Tokyo)

from dcore.

kyohn1004 avatar kyohn1004 commented on July 28, 2024

Dear Mitsuaki,

Thank you for your quick reply.
Many thanks :)

Kyohoon

from dcore.

kyohn1004 avatar kyohn1004 commented on July 28, 2024

May I ask you one more question..?
I used the following ini file:

[model]
lattice = wannier90
seedname = test
nelec = 4.0
ncor = 1
norb = 6
spin_orbit = True
interaction = slater_uj
slater_uj = [(2,3.0,1.0)]
bvec=[(-0.75,0.75,0.75),(0.75,-0.75,0.75),(0.75,0.75,-0.75)]

[system]
nk0 = 16
nk1 = 16
nk2 = 16
beta = 40.0
mu = 0.0
with_dc = True
perform_tail_fit = True
fit_max_moment = 8
fit_min_w = 5.0
fit_max_w = 19.0

[impurity_solver]
name = ALPS/cthyb
max_time{int} = 600
...

dcore_pre runs without error messages.
However, the following error appears in dcore.

  • U_val = U_matrix[orb_names.index(a1),orb_names.index(a2),orb_names.index(a3),orb_names.index(a4)]
  • IndexError: too many indices for array

Could you please comment on how to avoid this?

Kyohoon

from dcore.

kyohn1004 avatar kyohn1004 commented on July 28, 2024

Dear Mitsuaki,

I checked your update for the two lines in [dcore_pre.py].
I applied it, and now the code works very well.
Thank you again :)

Kyohoon

from dcore.

Related Issues (18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.