21 "hexagon_size",
"hexagon_size>0.0",
"Size of the hexagon to be generated.");
22 MooseEnum hexagon_size_style(
"apothem radius",
"apothem");
26 "Style in which the hexagon size is given (default: apothem i.e. half-pitch).");
27 params.
addParam<std::vector<unsigned int>>(
29 "List of the hexagon reference side indices that correspond to the sides that need adaptive " 30 "meshing. The meshes to adapt these sides to are provided in 'inputs'.");
33 "The name list of the input meshes to adapt to.",
34 "Deprecated parameter, please use 'meshes_to_adapt_to' instead.");
35 params.
addParam<std::vector<MeshGeneratorName>>(
"meshes_to_adapt_to",
36 "The name list of the input meshes to adapt to.");
37 params.
addParam<
bool>(
"is_control_drum",
39 "Whether this mesh is for a control drum. The value can be set as 'false' " 40 "if the user wants to use this object for other components.");
50 "This HexagonConcentricCircleAdaptiveBoundaryMeshGenerator object is designed to generate " 51 "hexagonal meshes with adaptive boundary to facilitate stitching.");
59 _input_names(isParamValid(
"meshes_to_adapt_to")
60 ? getParam<
std::vector<MeshGeneratorName>>(
"meshes_to_adapt_to")
61 : (isParamValid(
"inputs") ? getParam<
std::vector<MeshGeneratorName>>(
"inputs")
62 :
std::vector<MeshGeneratorName>()))
66 "This parameter and meshes_to_adapt_to must have the same length.");
69 "this parameter is deprecated; it cannot be provided along with the new parameter " 70 "'meshes_to_adapt_to'.");
std::vector< std::unique_ptr< MeshBase > * > _input_ptrs
Pointers to input mesh pointers.
This HexagonConcentricCircleAdaptiveBoundaryMeshGenerator object is designed to generate hexagonal me...
const std::vector< MeshGeneratorName > _input_names
Name of input mesh generator.
HexagonConcentricCircleAdaptiveBoundaryMeshGenerator(const InputParameters ¶meters)
bool isParamValid(const std::string &name) const
registerMooseObject("ReactorApp", HexagonConcentricCircleAdaptiveBoundaryMeshGenerator)
This PolygonConcentricCircleMeshGeneratorBase object is a base class to be inherited for polygon mesh...
std::vector< std::unique_ptr< MeshBase > *> getMeshes(const std::string ¶m_name)
void paramError(const std::string ¶m, Args... args) const
static InputParameters validParams()
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
bool _is_general_polygon
MeshMetaData: whether this produced mesh is a general polygon (or a hexagon)
static InputParameters validParams()
const std::vector< unsigned int > _sides_to_adapt
Indices of the hexagon sides that need to adapt.
bool & _is_control_drum_meta
MeshMetaData: whether this produced mesh is a control drum.