You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I understand correctly, assert_unique_classification makes sure that the disambiguating quantum number makes sense for a given orbital, occupation and subshell term. We don't handle it when it's an integer.
Of course, if we do not specify the meaning of the quantum number, we can't determine if the value makes sense. I feel that we have the following options for the generic integer case:
Require it to be in 1:N, where N is the number of unique values it can have.
Allow any N and just hope that the users check for that themselves.
Keep that status quo and require the user to implement their own types. In this case we should probably remove the possibility for a generic case altogether.
I would like 1, but I don't remember if we had a way to determine N fast. So 2 could be the next best thing. Not a big fan of 3.
I might also be missing something -- I haven't used the CSF functionality here in a long while. But I ran into this as I was updating GRASP.jl to the new AtomicLevels version.
The text was updated successfully, but these errors were encountered:
An MWE is
If I understand correctly,
assert_unique_classification
makes sure that the disambiguating quantum number makes sense for a given orbital, occupation and subshell term. We don't handle it when it's an integer.Of course, if we do not specify the meaning of the quantum number, we can't determine if the value makes sense. I feel that we have the following options for the generic integer case:
1:N
, whereN
is the number of unique values it can have.N
and just hope that the users check for that themselves.I would like 1, but I don't remember if we had a way to determine
N
fast. So 2 could be the next best thing. Not a big fan of 3.I might also be missing something -- I haven't used the CSF functionality here in a long while. But I ran into this as I was updating GRASP.jl to the new AtomicLevels version.
The text was updated successfully, but these errors were encountered: