Merge pull request #1508 from gridley/mgxs_xsdata_accessor

add accessor of xsdata to mgxs
This commit is contained in:
Paul Romano 2020-03-03 20:35:59 -06:00 committed by GitHub
commit 41580b02ed
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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