mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-26 05:05:30 -04:00
Merge branch 'develop' into rng-stream-changes
This commit is contained in:
commit
43804fc09d
158 changed files with 3155 additions and 2934 deletions
|
|
@ -19,7 +19,7 @@ namespace openmc {
|
|||
// Reaction implementation
|
||||
//==============================================================================
|
||||
|
||||
Reaction::Reaction(hid_t group, const std::vector<int>& temperatures)
|
||||
Reaction::Reaction(hid_t group, const vector<int>& temperatures)
|
||||
{
|
||||
read_attribute(group, "Q_value", q_value_);
|
||||
read_attribute(group, "mt", mt_);
|
||||
|
|
@ -65,9 +65,9 @@ Reaction::Reaction(hid_t group, const std::vector<int>& temperatures)
|
|||
}
|
||||
}
|
||||
|
||||
double
|
||||
Reaction::collapse_rate(gsl::index i_temp, gsl::span<const double> energy,
|
||||
gsl::span<const double> flux, const std::vector<double>& grid) const
|
||||
double Reaction::collapse_rate(gsl::index i_temp,
|
||||
gsl::span<const double> energy, gsl::span<const double> flux,
|
||||
const vector<double>& grid) const
|
||||
{
|
||||
// Find index corresponding to first energy
|
||||
const auto& xs = xs_[i_temp].value;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue