add accessor of xsdata to mgxs

This commit is contained in:
Gavin Ridley 2020-03-03 09:36:42 -05:00
parent d62cc4105e
commit 8502cb01e8

View file

@ -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<XsData> const&
get_xsdata() const { return xs; }
};
} // namespace openmc