mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 14:15:42 -04:00
Apply @pshriwise suggestions from code review
Co-authored-by: Patrick Shriwise <pshriwise@gmail.com>
This commit is contained in:
parent
18c132ab67
commit
ce6bfa47b2
3 changed files with 3 additions and 3 deletions
|
|
@ -228,7 +228,7 @@ class ReactionRateHelper(ABC):
|
|||
Responsible for generating reaction rate tallies for burnable materials,
|
||||
given nuclides and scores from the operator.
|
||||
|
||||
Reaction rates are passed back to the operator for be used in an
|
||||
Reaction rates are passed back to the operator to be used by an
|
||||
:class:`openmc.deplete.OperatorResult` instance.
|
||||
|
||||
Parameters
|
||||
|
|
|
|||
|
|
@ -108,7 +108,7 @@ class DirectReactionRateHelper(ReactionRateHelper):
|
|||
|
||||
|
||||
class FluxCollapseHelper(ReactionRateHelper):
|
||||
"""Class that generating one-group reaction rates using multigroup flux
|
||||
"""Class that generates one-group reaction rates using multigroup flux
|
||||
|
||||
This class generates a multigroup flux tally that is used afterward to
|
||||
calculate a one-group reaction rate by collapsing it with continuous-energy
|
||||
|
|
|
|||
|
|
@ -1111,7 +1111,7 @@ openmc_nuclide_collapse_rate(int index, int MT, double temperature,
|
|||
*xs = data::nuclides[index]->collapse_rate(MT, temperature,
|
||||
{energy, energy + n + 1}, {flux, flux + n});
|
||||
} catch (const std::out_of_range& e) {
|
||||
fmt::print("Cuaght error\n");
|
||||
fmt::print("Caught error\n");
|
||||
set_errmsg(e.what());
|
||||
return OPENMC_E_OUT_OF_BOUNDS;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue