-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implemented transformation of lattice to upper-triangular matrix (#68)
* Implemented transformation of lattice to upper-triangular matrix * Added verbose flag and explanation to upper_triangular_cell * FIXED: ASE NPT does not accept externalstress=None * Added tests for Nose-Hoover NVT and NPT MD * Changed MD test numerical tolerance * use numpy.testing.assert_allclose over np.isclose().all() for better error messages on failing tests * tweak upper_triangular_cell() doc str --------- Co-authored-by: Ziyang HU <[email protected]> Co-authored-by: Janosh Riebesell <[email protected]>
- Loading branch information
1 parent
639fcd8
commit 1d1c0af
Showing
3 changed files
with
215 additions
and
15 deletions.
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