Skip to content

Commit a60606a

Browse files
authored
Merge pull request #52 from njoy/feature/accessMatrixCalculator
adding SpinGroup access to underlying RLMatrixCalculator object
2 parents 1400495 + 9b57031 commit a60606a

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/resonanceReconstruction/rmatrix/SpinGroup.hpp

+8
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,14 @@ class SpinGroup {
156156
*/
157157
const ResonanceTable& resonanceTable() const { return this->parameters_; }
158158

159+
/**
160+
* @brief Return the RLMatrixCalculator
161+
*
162+
* This allows access to the intermediate matrices in the calculation, such
163+
* as the A-matrix, L-matrix, etc.
164+
*/
165+
const RLMatrixCalculator< Formalism, BoundaryOption >& matrixCalculator() const { return this->rlmatrix_; }
166+
159167
//#include "resonanceReconstruction/rmatrix/SpinGroup/src/switchIncidentPair.hpp"
160168
#include "resonanceReconstruction/rmatrix/SpinGroup/src/evaluate.hpp"
161169
#include "resonanceReconstruction/rmatrix/SpinGroup/src/evaluateTMatrix.hpp"

0 commit comments

Comments
 (0)