24 virtual std::unique_ptr<MeshBase>
generate()
override = 0;
MeshGenerators are objects that can modify or add to an existing mesh.
const InputParameters & parameters() const
Get the parameters of the object.
Base class for Delaunay mesh generators applied to a surface.
const bool _verbose
Whether the generator should be verbose.
Real meshNormalDeviation2D(const MeshBase &mesh, const Point &global_norm)
Calculate the maximum deviation of the normal vectors in a given mesh from a global average normal ve...
Point meshNormal2D(const MeshBase &mesh)
Calculate the average normal vector of a 2D mesh based on the normal vectors of its elements using th...
const Real _auto_area_func_default_size_dist
Background size's effective distance for automatic desired area function.
const Real _auto_area_func_default_size
Background size for automatic desired area function.
virtual std::unique_ptr< MeshBase > generate() override=0
Generate / modify the mesh.
static InputParameters validParams()
Point elemNormal(const Elem &elem)
Calculate the normal vector of a 2D element based the first three vertices.
const Real _max_angle_deviation
Max angle deviation from the global average normal vector in the input mesh.
const bool _use_auto_area_func
Whether to use automatic desired area function.
const Real _auto_area_function_power
Power of the polynomial used in the inverse distance interpolation for automatic area function.
const unsigned int _auto_area_function_num_points
Maximum number of points to use for the inverse distance interpolation for automatic area function.