From 7a9b6204ece7619cca657ec06f843699a63b2830 Mon Sep 17 00:00:00 2001 From: Steven Gardiner Date: Wed, 29 Oct 2025 21:28:30 -0500 Subject: [PATCH 1/2] Adjust the SpectralFunc class so that a missing spectral function can be optionally approximated by a spectral function for a different isotope of the same element. Enable this behavior in the AR25 tunes. --- config/AR25_20i/ModelConfiguration.xml | 10 +-- config/AR25_22i/ModelConfiguration.xml | 10 +-- config/SpectralFunc.xml | 4 + src/Physics/NuclearState/SpectralFunc.cxx | 99 +++++++++++++++++++---- src/Physics/NuclearState/SpectralFunc.h | 5 ++ 5 files changed, 104 insertions(+), 24 deletions(-) diff --git a/config/AR25_20i/ModelConfiguration.xml b/config/AR25_20i/ModelConfiguration.xml index a91f7a616..63d8605d4 100644 --- a/config/AR25_20i/ModelConfiguration.xml +++ b/config/AR25_20i/ModelConfiguration.xml @@ -39,11 +39,11 @@ University of Liverpool - - genie::SpectralFunc/Default - - genie::SpectralFunc/Default - genie::SpectralFunc/Default + + genie::SpectralFunc/ApproxElements + + genie::SpectralFunc/ApproxElements + genie::SpectralFunc/ApproxElements - - genie::SpectralFunc/Default - - genie::SpectralFunc/Default - genie::SpectralFunc/Default + + genie::SpectralFunc/ApproxElements + + genie::SpectralFunc/ApproxElements + genie::SpectralFunc/ApproxElements