Python Forum
odeint to solve Schrodinger equation
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
odeint to solve Schrodinger equation
#11
I have a lot more work to do on it and probably won't touch it tonight. You can check my GitHub for my progress.

In V(), what is the conditional supposed to do? As written, that conditional will never be true because Vpot never changes (plus, the function should not reference a global for this purpose).

With the number of globals that are invoked, I'm leaning toward creating a class to encompass everything. That would potentially resolve a lot of issues.
Reply


Messages In This Thread
odeint to solve Schrodinger equation - by kiyoshi7 - Nov-15-2018, 07:15 PM
RE: odeint to solve Schrodinger equation - by stullis - Nov-20-2018, 01:18 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Mukhanov equation + odeint Messier087 0 1,634 Mar-28-2020, 04:03 PM
Last Post: Messier087
  Odeint to solve Mukhanov equation Messier087 4 2,618 Feb-17-2020, 05:05 PM
Last Post: Messier087
  Can't find a way to solve this nonlinear equation Alex009988 2 2,679 Aug-16-2019, 01:50 AM
Last Post: scidam
  python odeint keeps giving me size of array error kiyoshi7 1 6,192 Nov-01-2018, 02:03 AM
Last Post: j.crater

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020