mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 14:15:42 -04:00
Merge pull request #1508 from gridley/mgxs_xsdata_accessor
add accessor of xsdata to mgxs
This commit is contained in:
commit
41580b02ed
1 changed files with 3 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue