completed conversion of Urr to C++

This commit is contained in:
Adam G Nelson 2018-12-06 19:28:26 -05:00
parent 5eab6dbed0
commit d4c8c3d34e
7 changed files with 25 additions and 140 deletions

View file

@ -175,10 +175,9 @@ extern "C" void set_micro_xs();
extern "C" bool nuclide_wmp_present(int i_nuclide);
extern "C" double nuclide_wmp_emin(int i_nuclide);
extern "C" double nuclide_wmp_emax(int i_nuclide);
extern "C" void nuclide_calculate_urr_xs(const int i_nuclide,
extern "C" void nuclide_calculate_urr_xs(const bool use_mp, const int i_nuclide,
const int i_temp, const double E);
} // namespace openmc
#endif // OPENMC_NUCLIDE_H

View file

@ -20,6 +20,7 @@ public:
int inelastic_flag_; // inelastic competition flag
int absorption_flag_; // other absorption flag
bool multiply_smooth_; // multiply by smooth cross section?
int n_energy_; // number of energy points
xt::xtensor<double, 1> energy_; // incident energies
xt::xtensor<double, 3> prob_; // Actual probability tables