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

How to write pp3 pseudopotential for ternaries? #2

Open
ndhamrai opened this issue Sep 21, 2023 · 2 comments
Open

How to write pp3 pseudopotential for ternaries? #2

ndhamrai opened this issue Sep 21, 2023 · 2 comments

Comments

@ndhamrai
Copy link

Issue

Based on the code from #https://github.com/zhubonan/airsspy/blob/master/examples/example-1.1.ipynb

and the required information for binaries on #https://airss-docs.github.io/tutorials/examples/#example-108, I wrote the pp in the following way, which works.

pp = "2 12 6 5\nAl S\n# Epsilon\n1.00 1.50\n0.50\n# Sigma\n2.00 1.60\n1.76"

But changing the pp so that ternaries are considered:
pp = "3 12 6 5\nAg Sn S\n# Epsilon\n1.00 1.50\n0.50\n# Sigma\n2.00 1.60\n1.76" does not work. Where is the mistake and how are the numbers for epsilon and sigma read and related to the atoms?

Thanks in advance

@zhubonan
Copy link
Owner

Hi, there are more terms for Epsilon and Sigma with three species, as you now have 6 different pairs instead of three: AA, AB, AC, BB, BC, CC

You see the syntax in example 1.10's ABC.pp:

3 12 6 5
A B C
# Epsilon
1.00 1.50 1.25
0.50 0.75
0.60
# Sigma
2.00 1.60 1.75
1.76 1.5
1.80

@ndhamrai
Copy link
Author

Thanks, for that quick answer. It works as it should.

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