Skip to content
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 atom rho multipole child categories #6

Merged

Conversation

vaitkus
Copy link
Collaborator

@vaitkus vaitkus commented Apr 1, 2024

This PR addresses several issues with the ATOM_RHO_MULTIPOLE_* categories that were introduced during the migration from DDL1 to DDLm.

During the migration, some items from the ATOM_RHO_MULTIPOLE category got split into new separate child categories named ATOM_RHO_MULTIPOLE_COEFF, ATOM_RHO_MULTIPOLE_KAPPA and ATOM_RHO_MULTIPOLE_RADIAL_SLATER. However, these newly added categories were incorrectly defined as having the Set class (not loopable) which is incompatible with the Loop class of the parent ATOM_RHO_MULTIPOLE category. This PR redefines these categories as looped and adds the _atom_tho_multipole_*.atom_label data items to serve as the keys of these categories. The main benefit of such organisation when compared to the DDL1 version is that data items from the *_COEFF, *_KAPPAand *_RADIAL_SLATER categories can now be looped either separately or together with the items from the parent ATOM_RHO_MULTIPOLE category (similarly to the ATOM_SITE and ATOM_SITE_ANISO categories).

Also, the type source of the _atom_rho_multipole_coeff.list_su and _atom_rho_multipole_radial_slater.list_su was changed to Related as required by the upcoming DDLm reference dictionary version 4.2.0.

vaitkus added 3 commits April 1, 2024 22:30
The ATOM_RHO_MULTIPOLE_COEFF, ATOM_RHO_MULTIPOLE_KAPPA and
ATOM_RHO_MULTIPOLE_RADIAL_SLATER categories were marked as
looped with the newly added _atom_rho_multipole_coeff.atom_label,
_atom_rho_multipole_kappa.atom_label and
_atom_rho_multipole_radial_slater.atom_label data items as the
category keys.
@vaitkus vaitkus merged commit 2545a92 into COMCIFS:master Apr 3, 2024
3 checks passed
@vaitkus vaitkus deleted the fix-atom-rho-multipole-child-categories branch April 3, 2024 11:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants