minor change to add an inline version of Mgxs::get_xs just like @gridley did for mg.get_*_xs

This commit is contained in:
Adam G Nelson 2019-11-09 09:24:30 -06:00
parent 2903970129
commit 3ccfa08a11

View file

@ -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.