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.
This PR adds the missing ability for the
CopyProcedureNode
to also duplicate any defined global-typeExternalPotentials
, 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.