https://mooseframework.inl.gov
PeripheralTriangleMeshGenerator.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
11 #include "MeshGenerator.h"
12 
17 {
18 public:
20 
22 
23  std::unique_ptr<MeshBase> generate() override;
24 
25 protected:
27  const MeshGeneratorName _input_name;
31  const unsigned int _peripheral_ring_num_segments;
35  std::string _desired_area_func;
37  std::unique_ptr<MeshBase> * _build_mesh;
38 };
const Real _peripheral_ring_radius
Radius of the peripheral region&#39;s outer circular boundary.
const unsigned int _peripheral_ring_num_segments
Number of segments in the peripheral region&#39;s outer circular boundary.
PeripheralTriangleMeshGenerator(const InputParameters &parameters)
std::string _desired_area_func
Desired area as a function of (x,y)
const Real _desired_area
Desired (maximum) triangle area.
This PeripheralTriangleMeshGenerator object adds a circular peripheral region to the input mesh...
std::unique_ptr< MeshBase > * _build_mesh
The final mesh that is generated by the subgenerators;.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const MeshGeneratorName _input_name
Name of the mesh generator to get the input mesh.
const InputParameters & parameters() const
std::unique_ptr< MeshBase > generate() override