26 std::unique_ptr<MeshBase>
generate()
override;
66 const unsigned int num_sides,
67 const unsigned int center_trim_sector_number,
68 const unsigned int trimming_start_sector,
71 const std::set<subdomain_id_type> subdomain_ids_set);
84 const std::vector<unsigned short> trim_peripheral_region,
87 const std::set<subdomain_id_type> subdomain_ids_set);
std::vector< unsigned short > _trim_peripheral_region
Index of the peripheral regions to be trimmed (see moosedocs for indexing scheme) ...
const subdomain_id_type _tri_elem_subdomain_shift
Customized id shift to define subdomain ids of the converted triangular elements. ...
unsigned int _num_sides
Number of polygon sides.
void peripheralTrimmer(ReplicatedMesh &mesh, const std::vector< unsigned short > trim_peripheral_region, const boundary_id_type external_boundary_id, const boundary_id_type peripheral_trimming_section_boundary_id, const std::set< subdomain_id_type > subdomain_ids_set)
Performs peripheral trimming on the input mesh.
std::unique_ptr< MeshBase > & _input
Reference to input mesh pointer.
static InputParameters validParams()
short _trimming_end_sector
Index of the sector to end trimming at (counter-clockwise direction)
const BoundaryName _center_trimming_section_boundary
Name of the section formed by center trimming.
std::unique_ptr< MeshBase > generate() override
This PolygonMeshTrimmerBase is the base class for CartesianMeshTrimmer and HexagonMeshTrimmer, which take in a cartesian/hexagonal assembly or core mesh and perform peripheral and/or center trimming on it.
unsigned short _center_trim_sector_number
Number of remaining sectors.
const BoundaryName _peripheral_trimming_section_boundary
Name of the section formed by peripheral trimming.
const BoundaryName _external_boundary_name
Name/ID of external boundary.
PolygonMeshTrimmerBase(const InputParameters ¶meters)
A base class that contains common members for Reactor module mesh generators.
const MeshGeneratorName _input_name
Input mesh to be modified.
const SubdomainName _tri_elem_subdomain_name_suffix
SubdomainName suffix used to rename the converted triangular elements.
const InputParameters & parameters() const
short _trimming_start_sector
Index of the sector to start trimming from (counter-clockwise direction)
void centerTrimmer(ReplicatedMesh &mesh, const unsigned int num_sides, const unsigned int center_trim_sector_number, const unsigned int trimming_start_sector, const boundary_id_type external_boundary_id, const boundary_id_type center_trimming_section_boundary_id, const std::set< subdomain_id_type > subdomain_ids_set)
Performs center trimming on the input mesh.