25 std::unique_ptr<MeshBase>
generate()
override;
Generates an annular mesh given all the parameters.
const BoundaryName _boundary_name_prefix
prefix string for the boundary names
const SubdomainID _tri_subdomain_id
Subdomain ID of created tri elements (that only exist if rmin=0)
const unsigned _nt
Number of elements in angular direction.
const Real _rmax
Maximum radius.
const Real _rmin
Minimum radius.
const bool _radians
Bool to check if radians are given in the input file.
const SubdomainID _quad_subdomain_id
Subdomain ID of created quad elements.
const Real _len
rmax = rmin + len + len*g + len*g^2 + len*g^3 + ... + len*g^(nr-1) = rmin + len*(1 - g^nr)/(1 - g)
std::unique_ptr< MeshBase > generate() override
Generate / modify the mesh.
const std::vector< Real > _radial_positions
Radial positions of intermediate rings of nodes (optional)
static InputParameters validParams()
const unsigned _nr
Number of elements in radial direction.
const Real _growth_r
Bias on radial meshing.
const Real _dmax
Maximum angle in degrees.
const Real _dmin
Minimum angle in degrees.
const bool _full_annulus
Whether a full annulus (as opposed to a sector) will needs to generate.
const boundary_id_type _boundary_id_offset
offset that is added to the boundary IDs
const bool & _equal_area
Whether to construct rings to have equal areas.
MeshGenerators are objects that can modify or add to an existing mesh.
const InputParameters & parameters() const
Get the parameters of the object.