From 8502cb01e85e5ba934116a38f0d54457587a06f8 Mon Sep 17 00:00:00 2001 From: Gavin Ridley Date: Tue, 3 Mar 2020 09:36:42 -0500 Subject: [PATCH] add accessor of xsdata to mgxs --- include/openmc/mgxs.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/openmc/mgxs.h b/include/openmc/mgxs.h index e178bf5b14..e5221825b7 100644 --- a/include/openmc/mgxs.h +++ b/include/openmc/mgxs.h @@ -185,6 +185,10 @@ class Mgxs { //! @param u Incoming particle direction. void set_angle_index(Direction u); + + //! \brief Provide const access to list of XsData held by this + std::vector const& + get_xsdata() const { return xs; } }; } // namespace openmc