diff --git a/include/openmc/mgxs.h b/include/openmc/mgxs.h index e178bf5b14..f9c4722e94 100644 --- a/include/openmc/mgxs.h +++ b/include/openmc/mgxs.h @@ -185,6 +185,9 @@ class Mgxs { //! @param u Incoming particle direction. void set_angle_index(Direction u); + + //! \brief Provide const access to list of XsData held by this + const std::vector& get_xsdata() const { return xs; } }; } // namespace openmc