-
Notifications
You must be signed in to change notification settings - Fork 68
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
Implement lattice transform to upper-triangular matrix for ASE Nose-Hoover thermostat #68
Merged
Merged
Changes from 5 commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
0db053c
Implemented transformation of lattice to upper-triangular matrix
dfd8bc4
Added verbose flag and explanation to upper_triangular_cell
1beaf1b
FIXED: ASE NPT does not accept externalstress=None
f22adc1
Added tests for Nose-Hoover NVT and NPT MD
a6480fd
Changed MD test numerical tolerance
a976874
use numpy.testing.assert_allclose over np.isclose().all() for better …
janosh cfba1c9
tweak upper_triangular_cell() doc str
janosh 055b8ed
Merge branch 'main' into upper_triangular_cell
janosh 948a8bd
fix black
janosh File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
# generated using pymatgen | ||
data_Li9Co7O16 | ||
_symmetry_space_group_name_H-M 'P 1' | ||
_cell_length_a 6.30240647 | ||
_cell_length_b 6.30741300 | ||
_cell_length_c 7.41583051 | ||
_cell_angle_alpha 75.47000443 | ||
_cell_angle_beta 65.23135009 | ||
_cell_angle_gamma 72.00717747 | ||
_symmetry_Int_Tables_number 1 | ||
_chemical_formula_structural Li9Co7O16 | ||
_chemical_formula_sum 'Li9 Co7 O16' | ||
_cell_volume 252.05269201 | ||
_cell_formula_units_Z 1 | ||
loop_ | ||
_symmetry_equiv_pos_site_id | ||
_symmetry_equiv_pos_as_xyz | ||
1 'x, y, z' | ||
loop_ | ||
_atom_type_symbol | ||
_atom_type_oxidation_number | ||
Li+ 1.0 | ||
Co3+ 3.0 | ||
Co4+ 4.0 | ||
O2- -2.0 | ||
loop_ | ||
_atom_site_type_symbol | ||
_atom_site_label | ||
_atom_site_symmetry_multiplicity | ||
_atom_site_fract_x | ||
_atom_site_fract_y | ||
_atom_site_fract_z | ||
_atom_site_occupancy | ||
Li+ Li0 1 0.31442518 0.68680206 0.56469026 1 | ||
Li+ Li1 1 0.80552981 0.18376271 0.06064773 1 | ||
Li+ Li2 1 0.43695568 0.57151353 0.18253456 1 | ||
Li+ Li3 1 0.92705143 0.06026526 0.69553727 1 | ||
Li+ Li4 1 0.56304432 0.42848647 0.81746544 1 | ||
Li+ Li5 1 0.07294857 0.93973474 0.30446273 1 | ||
Li+ Li6 1 0.68557482 0.31319794 0.43530974 1 | ||
Li+ Li7 1 0.19447019 0.81623729 0.93935227 1 | ||
Li+ Li8 1 0.50000000 0.00000000 0.00000000 1 | ||
Co3+ Co9 1 0.87189169 0.62805253 0.87615769 1 | ||
Co3+ Co10 1 0.12810831 0.37194747 0.12384231 1 | ||
Co3+ Co11 1 0.37568054 0.12368956 0.37222619 1 | ||
Co3+ Co12 1 0.00000000 0.50000000 0.50000000 1 | ||
Co3+ Co13 1 0.62431946 0.87631044 0.62777381 1 | ||
Co4+ Co14 1 0.25225503 0.24664332 0.75326548 1 | ||
Co4+ Co15 1 0.74774497 0.75335668 0.24673452 1 | ||
O2- O16 1 0.20298483 0.51557922 0.85294009 1 | ||
O2- O17 1 0.70174803 0.01784432 0.35191128 1 | ||
O2- O18 1 0.32496647 0.38970329 0.47992830 1 | ||
O2- O19 1 0.84540853 0.88153215 0.97729332 1 | ||
O2- O20 1 0.44478863 0.28084762 0.11226145 1 | ||
O2- O21 1 0.95254917 0.76784039 0.60312012 1 | ||
O2- O22 1 0.57889279 0.14834865 0.71233501 1 | ||
O2- O23 1 0.07585520 0.64172837 0.22862318 1 | ||
O2- O24 1 0.42110721 0.85165135 0.28766499 1 | ||
O2- O25 1 0.92414480 0.35827163 0.77137682 1 | ||
O2- O26 1 0.55521137 0.71915238 0.88773855 1 | ||
O2- O27 1 0.04745083 0.23215961 0.39687988 1 | ||
O2- O28 1 0.67503353 0.61029671 0.52007170 1 | ||
O2- O29 1 0.15459147 0.11846785 0.02270668 1 | ||
O2- O30 1 0.79701517 0.48442078 0.14705991 1 | ||
O2- O31 1 0.29825197 0.98215568 0.64808872 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is there a need to include LCO for Nose-Hoover test?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because the cell matrix of LiMnO2 is diagonal.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This makes sense. Another way is to use rotation and non-diagonal supercell expansion to create a non-diagonal LiMnO2 cell