From 55a4ddb4562d742d26471d67bf8a6f5dc0f38a20 Mon Sep 17 00:00:00 2001 From: Guillaume Giudicelli Date: Mon, 23 Dec 2024 16:54:53 +0100 Subject: [PATCH] Add a missing parameter check --- framework/src/meshgenerators/MeshGenerator.C | 2 ++ 1 file changed, 2 insertions(+) diff --git a/framework/src/meshgenerators/MeshGenerator.C b/framework/src/meshgenerators/MeshGenerator.C index dccd79cb3aa0..f942a22e2eb4 100644 --- a/framework/src/meshgenerators/MeshGenerator.C +++ b/framework/src/meshgenerators/MeshGenerator.C @@ -72,6 +72,8 @@ MeshGenerator::MeshGenerator(const InputParameters & parameters) if (_save_with_name == system.mainMeshGeneratorName()) paramError( "save_with_name", "The user-defined mesh name: '", _save_with_name, "' is a reserved name"); + if (getParam("nemesis") && !getParam("output")) + paramError("nemesis", "Should only be set to true if 'output=true'"); } void