diff --git a/include/postprocessors/NeutronLeakage.h b/include/postprocessors/NeutronLeakage.h index 5f7531649e..fe297f4af1 100644 --- a/include/postprocessors/NeutronLeakage.h +++ b/include/postprocessors/NeutronLeakage.h @@ -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 { diff --git a/src/postprocessors/TotalNeutronLeakage.C b/src/postprocessors/TotalNeutronLeakage.C index 972e131f24..cc9fc534af 100644 --- a/src/postprocessors/TotalNeutronLeakage.C +++ b/src/postprocessors/TotalNeutronLeakage.C @@ -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."); }