disorderedmaterials / dissolve

Structure refinement software for total scattering data
GNU General Public License v3.0
9 stars 16 forks source link

fix: Copy global potentials from source configuration #1923

Closed trisyoungs closed 1 month ago

trisyoungs commented 1 month ago

This PR adds the missing ability for the CopyProcedureNode to also duplicate any defined global-type ExternalPotentials, with the exception of the "regional" type since its dependencies on the originating generator procedure are much deeper and so is not feasible to do without a significant refactor.

Likewise, targeted potentials are not copied across at present since there are further dependencies on content, which species are copied across etc.

Closes #1922.