Author Topic: Warning: invalid value encountered in double_scalars  (Read 32954 times)

0 Members and 1 Guest are viewing this topic.

Offline wring

  • Regular ATK user
  • **
  • Posts: 24
  • Reputation: 0
    • View Profile
Warning: invalid value encountered in double_scalars
« on: February 19, 2009, 08:59 »
Hello,
   When I finish the scf prosess,I go on calculating the curve of I-V.But it gives this error:Warning: invalid value encountered in double_scalars.I make sure that the convergence is suit for my setup.
   Thank you for your replies!
                                 wring
                                 2.19

Offline Anders Blom

  • QuantumWise Staff
  • Supreme ATK Wizard
  • *****
  • Posts: 4995
  • Country: dk
  • Reputation: 78
    • View Profile
    • QuantumWise
Re: Warning: invalid value encountered in double_scalars
« Reply #1 on: February 19, 2009, 16:45 »
This is a numpy error. It indicates that your data somehow contains incorrect values, for example you try to take the square root of negative numbers, or 1/a where a (which is an array) contains zeroes.

I think this might be caused by your calculations not converging properly, perhaps to a state with no electrons left in the central region. Do you have the output log of the calculation?
« Last Edit: February 19, 2009, 16:48 by Anders Blom »