21 "square_size",
"square_size>0.0",
"Size (side length) of the square mesh to be generated.");
22 MooseEnum square_size_style(
"apothem radius",
"apothem");
25 params.
addParam<std::vector<unsigned int>>(
27 "List of the square reference side indices that correspond to the sides that need adaptive " 28 "meshing. The meshes to adapt these sides to are provided in 'inputs'.");
29 params.
addParam<std::vector<MeshGeneratorName>>(
"meshes_to_adapt_to",
30 "The name list of the input meshes to adapt to.");
31 params.
addParam<
bool>(
"is_control_drum",
33 "Whether this mesh is for a control drum. The value can be set as 'false' " 34 "if the user wants to use this object for other components.");
46 "This CartesianConcentricCircleAdaptiveBoundaryMeshGenerator object is designed to generate " 47 "square meshes with adaptive boundary to facilitate stitching.");
55 _input_names(isParamValid(
"meshes_to_adapt_to")
56 ? getParam<
std::vector<MeshGeneratorName>>(
"meshes_to_adapt_to")
57 :
std::vector<MeshGeneratorName>())
61 "This parameter and meshes_to_adapt_to must have the same length.");
std::vector< std::unique_ptr< MeshBase > * > _input_ptrs
Pointers to input mesh pointers.
registerMooseObject("ReactorApp", CartesianConcentricCircleAdaptiveBoundaryMeshGenerator)
bool isParamValid(const std::string &name) const
This PolygonConcentricCircleMeshGeneratorBase object is a base class to be inherited for polygon mesh...
CartesianConcentricCircleAdaptiveBoundaryMeshGenerator(const InputParameters ¶meters)
std::vector< std::unique_ptr< MeshBase > *> getMeshes(const std::string ¶m_name)
void paramError(const std::string ¶m, Args... args) const
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const std::vector< MeshGeneratorName > _input_names
Name of input mesh generator.
bool _is_general_polygon
MeshMetaData: whether this produced mesh is a general polygon (or a hexagon)
static InputParameters validParams()
This CartesianConcentricCircleAdaptiveBoundaryMeshGenerator object is designed to generate cartesian ...
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.