-
Notifications
You must be signed in to change notification settings - Fork 9
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
Fix dREL. #511
base: master
Are you sure you want to change the base?
Fix dREL. #511
Conversation
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.
Looks good overall.
[ 0, 0, c.reciprocal_length_c ]]) | ||
_cell.convert_Uij_to_betaij = | ||
1.4142 * Pi * Matrix([[ c.reciprocal_length_a, 0, 0 ], | ||
[0, c.reciprocal_length_b, 0 ], |
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.
[0, c.reciprocal_length_b, 0 ], | |
[ 0, c.reciprocal_length_b, 0 ], |
@@ -27613,11 +27613,13 @@ save_function.atomtype | |||
|
|||
m = Len(s) | |||
n = 1 |
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.
It seems that the 'n' variable is no longer needed at all.
If(n == 5) dummy = print('illegal translation in symmetry | ||
xyz') s[axis,3] = Mod(10.+ Float(sign*m)/Float(n), 1.) | ||
If (inum == 1 and c != '/') | ||
dummy = print('illegal num in symmetry xyz') |
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.
dummy = print('illegal num in symmetry xyz') | |
dummy = print('illegal num in symmetry xyz') |
If (m > 3 and s[3] in '+-' ) n = 4 | ||
f = "" | ||
if (m > 0) f += Upper(s[0]) | ||
If (m > 1 and s[1] not in '0123456789') f += s[1] |
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.
Maybe s[1] should be lowercased in case we have something like "FE+2"?
A number of problems have accumulated in the dREL methods and functions in the current dictionary, fixed in this pull request: