Skip to content

Commit

Permalink
Add a debug option for controls refs idaholab#29604
Browse files Browse the repository at this point in the history
  • Loading branch information
GiudGiud committed Dec 23, 2024
1 parent d939715 commit 09f8346
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions framework/src/actions/SetupDebugAction.C
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ SetupDebugAction::validParams()
"show_material_props",
false,
"Print out the material properties supplied for each block, face, neighbor, and/or sideset");
params.addParam<bool>("show_controllable",
false,
"Print out the controllable parameters from all input parameters");
params.addParam<bool>("show_mesh_meta_data", false, "Print out the available mesh meta data");
params.addParam<bool>(
"show_reporters", false, "Print out information about the declared and requested Reporters");
Expand Down Expand Up @@ -166,4 +169,12 @@ SetupDebugAction::act()
params.set<MultiMooseEnum>("scope") = block_restriction_scope;
_problem->addOutput(type, "_moose_block_restriction_debug_output", params);
}

// Controllable output
if (getParam<bool>("show_controllable"))
{
const std::string type = "ControlOutput";
auto params = _factory.getValidParams(type);
_problem->addOutput(type, "_moose_controllable_debug_output", params);
}
}

0 comments on commit 09f8346

Please sign in to comment.