Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Visualization of potential isn't correct for negative values of V0 in 1D_potential_barrier.py #34

Open
sanketsharma opened this issue Apr 2, 2024 · 0 comments

Comments

@sanketsharma
Copy link

I am running the example 1D_potential_barrier.py. In the function potential barrier, if set V0 to a negative value then the visualization of the potential isn't correct. For negative values of V0 the potential is -1 when it should be 0 and -2 when it should be the V0.
image

I think the issue lies in line 432 of the animate function.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant