-
Notifications
You must be signed in to change notification settings - Fork 53
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
Core: add optional disorder/mixing for atoms of basis #143
Comments
This would require (on the example of exchange pairs) something along the lines of if (atom_types[ispin] == exchange_pairs[ipair].type_i)
{
// calculate ...
} which would automatically incorporate defects, which could be encoded as |
Implemented a first defects implementation with 05d651d. Missing:
|
Since 763c977, it is possible to implement disorder in terms of vacancies. To implement multiple atom types, a little more work would be needed. |
This should probably be the design:
Example 1:Single atom basis with 50% chance of containing one of two atom types (0 or 1) # iatom atom_type concentration
atom_types 1
0 1 0.5 Example 2:Two-atom basis where the first atom is type 0 and the second atom is 70% type 1 and 30% type 2 # iatom atom_type concentration
atom_types 2
1 1 0.7
1 2 0.3 Pair input:This should have the following form: |
As soon as # iatom atom_type mu_s
mu_s
0 1 2.2
0 2 3.2
1 1 2.4
1 2 3.4 Alternatively, |
Now that #364 has been implemented, the representation of |
With 978682a, Note that - in the current design - One option here would be to implement #421 and allow the disorder to create a large basis cell, instead of a lattice. Togehter with #420, this would probably be the most efficient way (in terms of calculation time). |
Refactored The # iatom atom_type mu_s concentration
atom_types 2
0 0 1.0 1
1 1 2.5 0.7
1 2 2.3 0.3 |
In the input, for each basis atom, optionally specify
so that the whole input becomes
Of course the pairs for such a case need to contain all possible combinations for each interaction pair (for two possible types on each site that means 4 combinations).
The text was updated successfully, but these errors were encountered: