Skip to content

Commit

Permalink
Address Luke's review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
smpark7 committed Dec 20, 2023
1 parent 17819e3 commit e56bb80
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion include/postprocessors/NeutronLeakage.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
#include "SideIntegralVariablePostprocessor.h"

/**
* This postprocessor computes the neutron leakage rate along a boundary
* This postprocessor computes the neutron leakage rate of a given neutron group
* along a boundary
*/
class NeutronLeakage : public SideIntegralVariablePostprocessor
{
Expand Down
2 changes: 1 addition & 1 deletion src/postprocessors/TotalNeutronLeakage.C
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ TotalNeutronLeakage::TotalNeutronLeakage(const InputParameters & parameters)
{
addMooseVariableDependency(_vars);
unsigned int n = coupledComponents("group_fluxes");
if (!(n == _num_groups))
if (n != _num_groups)
{
mooseError("The number of coupled variables doesn't match the number of groups.");
}
Expand Down

0 comments on commit e56bb80

Please sign in to comment.