mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 14:15:42 -04:00
completed conversion of Urr to C++
This commit is contained in:
parent
5eab6dbed0
commit
d4c8c3d34e
7 changed files with 25 additions and 140 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue