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