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
Now there is an aggregator, _atom_rho_multipole_kappa.list, which allows all the values to be given compactly in list form. In working on a draft of the associated commentary chapter for ITG, I wrote "The list item _atom_rho_multipole_kappa.list can be used instead of the individual coefficients, and is in principle extensible to larger values of l." But then I noticed that _atom_rho_multipole_kappa.list has a dREL method
With k as atom_rho_multipole_kappa
atom_rho_multipole_kappa.list = [ k.base,
k.prime0, k.prime1, k.prime2, k.prime3, k.prime4]
that explicitly names the discrete set of "prime l" data names already defined.
My question is: can we write in the definition that the list can be extended to include arbitrary values of l? My reasoning is that a list value that is actually written to the CIF should be parsed for however many members it has. If the list value is absent from a CIF, but the processing application needs to generate it, the method will return only 6 members - but, only 6 members are actually defined in the current version of the dictionary anyway. Of course, in a later version of the dictionary higher-order coefficients might be specifically defined, but then the dREL method should be updated at the same time to accommodate them.
Pinging @jamesrhester and @vaitkus specifically on this as a cif_rho query, but the question would be applicable to any dictionary.
The text was updated successfully, but these errors were encountered:
Yes, most definitely the list value is extensible. If data names for higher-order coefficients are defined they would be added to the dREL construction. If the list-valued data name appears without the individual data names, there is no issue. If both appear, validation software must be prepared for the dREL value to not equal the list value where extra members are present in the list.
The original cif_rho.dic enumerated several lists of multipole coefficients, e.g.
Now there is an aggregator,
_atom_rho_multipole_kappa.list
, which allows all the values to be given compactly in list form. In working on a draft of the associated commentary chapter for ITG, I wrote "The list item_atom_rho_multipole_kappa.list
can be used instead of the individual coefficients, and is in principle extensible to larger values of l." But then I noticed that_atom_rho_multipole_kappa.list
has a dREL methodthat explicitly names the discrete set of "prime l" data names already defined.
My question is: can we write in the definition that the list can be extended to include arbitrary values of l? My reasoning is that a list value that is actually written to the CIF should be parsed for however many members it has. If the list value is absent from a CIF, but the processing application needs to generate it, the method will return only 6 members - but, only 6 members are actually defined in the current version of the dictionary anyway. Of course, in a later version of the dictionary higher-order coefficients might be specifically defined, but then the dREL method should be updated at the same time to accommodate them.
Pinging @jamesrhester and @vaitkus specifically on this as a cif_rho query, but the question would be applicable to any dictionary.
The text was updated successfully, but these errors were encountered: