Go to the source code of this file.
◆ validParams< PolycrystalUserObjectBase >()
Run this user object more than once on the initial condition to handle initial adaptivity
Definition at line 24 of file PolycrystalUserObjectBase.C.
27 params.addClassDescription(
"This object provides the base capability for creating proper reduced "
28 "order parameter polycrystal initial conditions.");
29 params.addRequiredCoupledVarWithAutoBuild(
30 "variable",
"var_name_base",
"op_num",
"Array of coupled variables");
31 params.addParam<
bool>(
"output_adjacency_matrix",
33 "Output the Grain Adjacency Matrix used in the coloring algorithms. "
34 "Additionally, the grain to OP assignments will be printed");
35 params.addParam<MooseEnum>(
"coloring_algorithm",
40 params.clearRelationshipManagers();
42 params.addRelationshipManager(
43 "ElementSideNeighborLayers",
44 Moose::RelationshipManagerType::GEOMETRIC,
46 [](
const InputParameters & , InputParameters & rm_params) {
47 rm_params.set<
unsigned short>(
"layers") = 2;
52 params.addRelationshipManager(
"ElementSideNeighborLayers",
53 Moose::RelationshipManagerType::ALGEBRAIC);
56 params.set<std::vector<OutputName>>(
"outputs") = {
"none"};
59 params.set<
bool>(
"allow_duplicate_execution_on_initial") =
true;
62 ExecFlagEnum execute_options = MooseUtils::getDefaultExecFlagEnum();
63 execute_options = EXEC_INITIAL;
64 params.set<ExecFlagEnum>(
"execute_on") = execute_options;
Referenced by validParams< PolycrystalCircles >(), validParams< PolycrystalEBSD >(), and validParams< PolycrystalVoronoi >().