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

Water tutorial is now wrong #698

Open
pfebrer opened this issue Mar 7, 2024 · 3 comments
Open

Water tutorial is now wrong #698

pfebrer opened this issue Mar 7, 2024 · 3 comments
Milestone

Comments

@pfebrer
Copy link
Contributor

pfebrer commented Mar 7, 2024

When the wavefunction is computed in the water tutorial:

https://sisl.readthedocs.io/en/latest/tutorials/tutorial_siesta_1.html

It gives a warning of atoms not being in the unit cell and the wavefunction doesn't integrate to 1. Previously it was fine. I don't have time to look at it, but is it possible that the boundary conditions are now by default "unknown" instead of "periodic" and that is the reason behind this failure? I don't know if boundary conditions were introduced before the latest release.

@zerothi
Copy link
Owner

zerothi commented Mar 7, 2024

Looks like it was also present in the 0.14.3 release: https://sisl.readthedocs.io/en/v0.14.3/tutorials/tutorial_siesta_1.html

the boundary conditions got added just before 0.14.3.

@zerothi
Copy link
Owner

zerothi commented Mar 7, 2024

This could be the culprit #634
I will have a look...

I think we should first define tests that should be correct, that would catch lots of these issues.
E.g. how the handling of neighbours are handled.

@jfaraudo
Copy link

jfaraudo commented Mar 7, 2024

Hi. I did this tutorial with our undergrad students on 16-March-2023 and it was OK, so it has to be something that changed during this time. The comment by Pol makes sense to me.

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

No branches or pull requests

3 participants