https://mooseframework.inl.gov
SimpleHexagonGenerator.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://mooseframework.inl.gov
3 //*
4 //* All rights reserved, see COPYRIGHT for full restrictions
5 //* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6 //*
7 //* Licensed under LGPL 2.1, please see LICENSE for details
8 //* https://www.gnu.org/licenses/lgpl-2.1.html
9 
10 #pragma once
12 
18 {
19 public:
21 
23 
24  std::unique_ptr<MeshBase> generate() override;
25 
26 protected:
28  const enum class ElemType { TRI, QUAD, HYBRID } _element_type;
36  const unsigned int _radial_intervals;
38  const std::vector<subdomain_id_type> _block_id;
40  const std::vector<SubdomainName> _block_name;
42  const bool _boundary_id_valid;
46  const BoundaryName _external_boundary_name;
47 };
static InputParameters validParams()
const Real _hexagon_size
Size parameter of the hexagon.
const boundary_id_type _external_boundary_id
Boundary ID of the external boundary.
const InputParameters & parameters() const
const std::vector< subdomain_id_type > _block_id
Subdomain ID of the mesh.
const std::vector< SubdomainName > _block_name
Subdomain Name of the mesh.
const BoundaryName _external_boundary_name
Boundary Name of the external boundary.
std::unique_ptr< MeshBase > generate() override
SimpleHexagonGenerator(const InputParameters &parameters)
const PolygonSizeStyle _hexagon_size_style
Style of the size parameter.
int8_t boundary_id_type
enum SimpleHexagonGenerator::ElemType _element_type
Real _pitch
Pitch size of the hexagon.
This SimpleHexagonGenerator object is designed to generate a simple hexagonal mesh that only contains...
ElemType
Type of elements to build the mesh.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
A base class that contains common members for Reactor module mesh generators.
const bool _boundary_id_valid
Whether external_boundary_id is provided.
const unsigned int _radial_intervals
Number of radial meshing intervals.
PolygonSizeStyle
An enum class for style of input polygon size.