From e56bb80ecb1f263a13edcd729f35a599aa00612f Mon Sep 17 00:00:00 2001 From: smpark7 Date: Wed, 20 Dec 2023 17:29:28 +0800 Subject: [PATCH] Address Luke's review comments --- include/postprocessors/NeutronLeakage.h | 3 ++- src/postprocessors/TotalNeutronLeakage.C | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) 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."); }