Skip to content

Commit

Permalink
Merge pull request #24 from ZLI-afk/devel
Browse files Browse the repository at this point in the history
fix left-hand coords bugs of fcc 110 direction
  • Loading branch information
kevinwenminion authored Jul 13, 2022
2 parents a64a536 + 8200dca commit b00f46a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dpgen/auto_test/Gamma.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ def return_direction(self):
dict_directions = {
'100/010': [(0,1,0), (0,0,1), (1,0,0)],
'110/111': [(-1,1,1), (1,-1,1), (1,1,0)],
'111/110': [(-1,1,0), (1,1,-2), (1,1,1)],
'111/110': [(-1,1,0), (-1,-1,2), (1,1,1)],
'111/112': [(1,1,-2), (-1,1,0), (1,1,1)],
'112/111': [(-1,-1,1), (1,-1,0), (1,1,2)],
'123/111': [(-1,-1,1), (2,-1,0), (1,2,3)]
Expand Down
2 changes: 1 addition & 1 deletion tests/auto_test/test_gamma.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def setUp(self):
"type": "gamma",
"lattice_type": "fcc",
"miller_index": [1, 1, 1],
"displace_direction": [1, 1, 2],
"displace_direction": [1, 1, 0],
"min_supercell_size": [1, 1, 10],
"min_vacuum_size": 10,
"add_fix": ["true", "true", "false"],
Expand Down

0 comments on commit b00f46a

Please sign in to comment.