Skip to content

Commit

Permalink
Add a missing parameter check
Browse files Browse the repository at this point in the history
  • Loading branch information
GiudGiud committed Dec 25, 2024
1 parent 61c0820 commit 6f29bd4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions framework/src/meshgenerators/MeshGenerator.C
Original file line number Diff line number Diff line change
Expand Up @@ -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<bool>("nemesis") && !getParam<bool>("output"))
paramError("nemesis", "Should only be set to true if 'output=true'");
}

void
Expand Down

0 comments on commit 6f29bd4

Please sign in to comment.