24 std::unique_ptr<MeshBase>
generate()
override;
41 const std::vector<std::vector<std::vector<unsigned int>>>
_hex_patterns;
BdryType
Type of boundary mesh to be used for the background region.
const bool _delete_default_external_boundary_from_inputs
This FlexiblePatternGenerator object is designed to generate a complex mesh with a background region ...
const BoundaryName _external_boundary_name
Boundary Name of the external boundary.
const std::vector< MeshGeneratorName > & _input_names
Names of input meshes that are used as unit meshes in patterning.
static InputParameters validParams()
const std::vector< std::vector< std::vector< unsigned int > > > _hex_patterns
Hexagonal patterns.
const std::vector< std::vector< std::vector< unsigned int > > > _rect_patterns
Rectangular patterns.
const ExtraElementIDName _pattern_id_name
Name of the extra element id to be assigned to distinguish input unit meshes.
const subdomain_id_type _background_subdomain_id
const std::vector< Point > _circ_origins
List of origins of the circular patterns.
const Real _boundary_size
Pitch size of the hexagonal or cartesian background region; or diameter of the circular region...
const SubdomainName _background_subdomain_name
std::unique_ptr< MeshBase > generate() override
const std::vector< Real > _hex_rotations
List of rotation angles of the hexagonal patterns.
const ExtraElementIDName _cell_id_name
Name of the extra element id to be assigned to distinguish component unit cell meshes.
const boundary_id_type _external_boundary_id
Boundary ID of the external boundary.
const std::vector< Real > _rect_pitches_y
List of pitches of the rectangular patterns in y direction.
const std::vector< std::vector< unsigned int > > _circ_patterns
Circular patterns.
const std::vector< Real > _rect_rotations
List of rotation angles of the rectangular patterns.
const std::vector< Real > _hex_pitches
List of pitches of the hexagonal patterns.
std::unique_ptr< MeshBase > * _build_mesh
The final mesh that is generated by the subgenerators; This mesh is generated by the subgenerators wi...
const unsigned int _boundary_sectors
Number of sectors on each side of the hexagonal or cartesian background region or on the circular bou...
FlexiblePatternGenerator(const InputParameters ¶meters)
const std::vector< Real > _circ_radii
List of radii of the circular patterns.
const std::vector< Real > _circ_rotations
List of rotation angles of the circular patterns.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
std::vector< std::pair< Point, unsigned int > > _positions
Positions of all the unit meshes after patterning.
A base class that contains common members for Reactor module mesh generators.
const dof_id_type _cell_id_shift
Shift value to be added to the extra element id to distinguish component unit cell meshes...
const InputParameters & parameters() const
const std::vector< Point > _hex_origins
List of origins of the hexagonal patterns.
MeshGeneratorName _boundary_mesh_name
Name of the input mesh that defines the external boundary of the background region.
const std::vector< Real > _rect_pitches_x
List of pitches of the rectangular patterns in x direction.
const dof_id_type _pattern_id_shift
Shift value to be added to the extra element id to distinguish input unit meshes. ...
const std::vector< Point > _rect_origins
List of origins of the rectangular patterns.
enum FlexiblePatternGenerator::BdryType _boundary_type