-
Notifications
You must be signed in to change notification settings - Fork 81
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Raise an error when faced with ambiguous CASTEP .cell
CASTEP and Pymatgen orientation are likely to be different from the same lattice vectors. To avoid building incorrect structures, refuse to work with lattice_abc and positions_abs simultaneously.
- Loading branch information
Showing
6 changed files
with
87 additions
and
25 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
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,20 @@ | ||
%BLOCK LATTICE_ABC | ||
2.983077 2.98308198 5.15994087 | ||
106.80215981 73.19772637 119.99807072 | ||
%ENDBLOCK LATTICE_ABC | ||
|
||
%BLOCK POSITIONS_ABS | ||
Ni 0.000000 0.000000 0.000000 SPIN=1 | ||
Ni 1.491603 0.861143 2.432002 SPIN=-1 | ||
O 0.000069 1.722313 1.215967 SPIN=0 | ||
O 2.983138 -0.000026 3.648036 SPIN=0 | ||
%ENDBLOCK POSITIONS_ABS | ||
|
||
%BLOCK SPECIES_POT | ||
Ni C19 | ||
O C19 | ||
%ENDBLOCK SPECIES_POT | ||
|
||
KPOINTS_MP_GRID 7 7 7 | ||
SPECTRAL_KPOINTS_MP_GRID 2 2 2 | ||
|
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,22 @@ | ||
# written by ASE | ||
|
||
%BLOCK LATTICE_CART | ||
2.983077 0.000000 0.000000 | ||
-1.491454 2.583475 0.000000 | ||
1.491583 -0.861188 4.864003 | ||
%ENDBLOCK LATTICE_CART | ||
|
||
%BLOCK POSITIONS_FRAC | ||
Ni 0.000000 0.000000 0.000000 | ||
Ni 0.500000 0.500000 0.500000 | ||
O 0.250001 0.749999 0.249993 | ||
O 0.749999 0.250001 0.750007 | ||
%ENDBLOCK POSITIONS_FRAC | ||
|
||
%BLOCK SPECIES_POT | ||
Ni C19 | ||
O C19 | ||
%ENDBLOCK SPECIES_POT | ||
|
||
KPOINTS_MP_GRID: 7 7 7 | ||
SPECTRAL_KPOINTS_MP_GRID: 2 2 2 |
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