mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 13:45:36 -04:00
minor change to add an inline version of Mgxs::get_xs just like @gridley did for mg.get_*_xs
This commit is contained in:
parent
2903970129
commit
3ccfa08a11
1 changed files with 5 additions and 0 deletions
|
|
@ -143,6 +143,11 @@ class Mgxs {
|
|||
get_xs(int xstype, int gin, const int* gout, const double* mu,
|
||||
const int* dg);
|
||||
|
||||
inline double
|
||||
get_xs(int xstype, int gin)
|
||||
{return get_xs(xstype, gin, nullptr, nullptr, nullptr);}
|
||||
|
||||
|
||||
//! \brief Samples the fission neutron energy and if prompt or delayed.
|
||||
//!
|
||||
//! @param gin Incoming energy group.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue