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

Possible missing of a minus sign in calculating pair interaction(Question) #79

Open
JulietteGerald opened this issue Sep 28, 2021 · 2 comments

Comments

@JulietteGerald
Copy link

Hi,
thanks for your nice work and detailed documentation. This programm helps me greatly with my research.

When I was reading the source code on calculating the pair interaction, I think the programm may have missed a minus sign. According to the theory, the interaction term should read
interaction term
(I directly snipped it from your paper.) There is a (-1)^{L_2} sign term in it. However, I did not find such term in your programm. (Also, the \sqrt{(2L_1+1)(2L_2+1)} seems to be missing as well, however, this term is by chance cancled out in calculating the dipole-dipole interaction .) I could be wrong, but still decided to raise this issue. What do you think?

best

Zihan

@nikolasibalic
Copy link
Owner

Hello Zihan @JulietteGerald ,

Thank you for taking time to notify me of this! I will have to remind myself of this part of the code and theory as I haven't looked into this for quite some time. I will do that this weekend, and let you know!

Best wishes,
Nikola

@JulietteGerald
Copy link
Author

Hi Nikola, @nikolasibalic

Great! Take your time.

Best,
Zihan

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

2 participants