Go to the source code of this file.
◆ validParams< GrainTrackerInterface >()
Definition at line 15 of file GrainTrackerInterface.C.
18 params.addParam<
int>(
"tracking_step", 0,
"The timestep for when we should start tracking grains");
19 params.addParam<
unsigned short>(
20 "halo_level", 2,
"The thickness of the halo surrounding each feature.");
21 params.addParam<
bool>(
22 "remap_grains",
true,
"Indicates whether remapping should be done or not (default: true)");
23 params.addParam<
bool>(
"tolerate_failure",
25 "Allow the grain tracker to continue when it fails to find suitable grains "
26 "for remapping. This will allow the simulation to continue but it will "
27 "also allow non-physical grain coalescence. DO NOT USE for production "
30 params.addParam<
unsigned short>(
33 "Indicates the number of reserved ops (variables that cannot be remapped to)");
34 params.addParam<Real>(
"reserve_op_threshold",
36 "Threshold for locating a new feature on the reserved op variable(s)");
37 params.addParam<UserObjectName>(
"polycrystal_ic_uo",
"Optional: Polycrystal IC object");
38 params.addParam<
bool>(
"error_on_grain_creation",
40 "Terminate with an error if a grain is created "
41 "(does not include initial callback to start simulation)");
43 params.addParam<
unsigned short>(
"max_remap_recursion_depth",
45 "The recursion depth allowed when searching for remapping "
46 "candidates. Note: Setting this value high may result in very "
47 "computationally expensive searches with little benefit. "
48 "(Recommended level: 6)");
50 params.addRangeCheckedParam<
short>(
53 "verbosity_level>=0 & verbosity_level<=3",
54 "Level 0: Silent during normal operation, "
55 "Level 1: Informational messages but no detailed grain structure printouts, "
56 "Level 2: Verbose output including data structure dumps, "
57 "Level 3: Debugging mode.");
59 params.addRequiredCoupledVarWithAutoBuild(
60 "variable",
"var_name_base",
"op_num",
"Array of coupled variables");
62 params.addParamNamesToGroup(
"tolerate_failure max_remap_recursion_depth",
"Advanced");
65 params.set<Real>(
"threshold") = 0.1;
66 params.set<Real>(
"connecting_threshold") =
68 params.set<
bool>(
"use_single_map") =
70 params.set<
bool>(
"condense_map_info") =
72 params.set<
bool>(
"enable_var_coloring") =
75 params.set<ExecFlagEnum>(
"execute_on") = {EXEC_INITIAL, EXEC_TIMESTEP_END};
Referenced by validParams< FauxGrainTracker >(), and validParams< GrainTracker >().