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.
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
Property 'fractional_site_positions' #206
base: develop
Are you sure you want to change the base?
Property 'fractional_site_positions' #206
Changes from 6 commits
e7e3792
8aff0e8
be8369e
81cf92b
0687fa9
4c12f04
fb7c6f3
8eefdd2
2737e2d
50186bc
03f4088
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
As it is currently formulated,
fractional_site_positions
andcartesian_site_positions
have different status:cartesian
is the primary definition, and bothspecies_at_sites
andfractional...
refer tocartesian...
. However, mathematically,cartesian...
andfractional...
are equivalent descriptions, and either of them or even both may be absent. It then makes this description ambiguous, since, ifcartesian_site_positions
are absent, it is not clear what thefractional_site_positions
must match.It seems therefore that it would be more consistent to describe
species_at_site
as a primary definition of an atomic site, and to let bothfractional_site_positions
andcartesian_site_positions
refer to thespecies_at_site
when the order and number of array elements is defined for eachfractional
andcartesian
.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.
I suggest specifying that:
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.
As was pointed out by @sauliusg, this should refer instead only to
species_at_sites
.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.
I discourage
and
, even though it is correct, simply due to the fuzzyness it may present for an implementer in terms of "should it be the sum of these properties then"?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.
I suggest that
species_at_sites
are moved to the beginning of the specification, andfractional_site_positions
andcartesian_size_positions
should both refer to thespecies_at_sites
section.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.
When
species_at_site
are moved to the front, thefractional_site_positions
should the refer tospecies_at_sites
, not vice versa.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.