Fix atom rho multipole child categories #6
Merged
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.
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 namedATOM_RHO_MULTIPOLE_COEFF
,ATOM_RHO_MULTIPOLE_KAPPA
andATOM_RHO_MULTIPOLE_RADIAL_SLATER
. However, these newly added categories were incorrectly defined as having theSet
class (not loopable) which is incompatible with theLoop
class of the parentATOM_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
,*_KAPPA
and*_RADIAL_SLATER
categories can now be looped either separately or together with the items from the parentATOM_RHO_MULTIPOLE
category (similarly to theATOM_SITE
andATOM_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 toRelated
as required by the upcoming DDLm reference dictionary version 4.2.0.