From 9b57031177f7b69ee5a90777a1916028b39f01d3 Mon Sep 17 00:00:00 2001 From: Amanda Lewis Date: Fri, 21 Jun 2024 09:05:36 -0600 Subject: [PATCH] adding SpinGroup access to underlying RLMatrixCalculator object Fixing the author name and email in the last commit --- src/resonanceReconstruction/rmatrix/SpinGroup.hpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/resonanceReconstruction/rmatrix/SpinGroup.hpp b/src/resonanceReconstruction/rmatrix/SpinGroup.hpp index 36baf1a..30f9ea9 100644 --- a/src/resonanceReconstruction/rmatrix/SpinGroup.hpp +++ b/src/resonanceReconstruction/rmatrix/SpinGroup.hpp @@ -156,6 +156,14 @@ class SpinGroup { */ const ResonanceTable& resonanceTable() const { return this->parameters_; } + /** + * @brief Return the RLMatrixCalculator + * + * This allows access to the intermediate matrices in the calculation, such + * as the A-matrix, L-matrix, etc. + */ + const RLMatrixCalculator< Formalism, BoundaryOption >& matrixCalculator() const { return this->rlmatrix_; } + //#include "resonanceReconstruction/rmatrix/SpinGroup/src/switchIncidentPair.hpp" #include "resonanceReconstruction/rmatrix/SpinGroup/src/evaluate.hpp" #include "resonanceReconstruction/rmatrix/SpinGroup/src/evaluateTMatrix.hpp"