https://mooseframework.inl.gov
Loading...
Searching...
No Matches
Boundary2DDelaunayGenerator.h
Go to the documentation of this file.
1//* This file is part of the MOOSE framework
2//* https://www.mooseframework.org
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
14
15#include "libmesh/meshfree_interpolation.h"
16
22{
23public:
25
27
28 virtual std::unique_ptr<MeshBase> generate() override;
29
30protected:
32 std::unique_ptr<MeshBase> & _input;
33
35 const std::vector<BoundaryName> _boundary_names;
36
38 const std::vector<std::vector<BoundaryName>> _hole_boundary_names;
39
42
50 std::unique_ptr<MeshBase>
51 General2DDelaunay(std::unique_ptr<MeshBase> & mesh_2d,
52 std::vector<std::unique_ptr<MeshBase>> & hole_meshes_2d);
53};
Mesh generator to remesh a boundary of a volumetric mesh using triangle elements.
const std::vector< std::vector< BoundaryName > > _hole_boundary_names
The boundaries to be used as holes.
const std::vector< BoundaryName > _boundary_names
The boundaries to be converted to a 2D mesh.
std::unique_ptr< MeshBase > General2DDelaunay(std::unique_ptr< MeshBase > &mesh_2d, std::vector< std::unique_ptr< MeshBase > > &hole_meshes_2d)
Generate a 2D mesh using Delaunay triangulation based on the input 2D boundary mesh and the 2D hole m...
BoundaryName _output_external_boundary_name
The name of the external boundary of the mesh to generate.
virtual std::unique_ptr< MeshBase > generate() override
Generate / modify the mesh.
std::unique_ptr< MeshBase > & _input
The input mesh name.
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system.
Helper class to define, parameterize and create a level set function used in meshing,...
const InputParameters & parameters() const
Get the parameters of the object.
Definition MooseBase.h:131
Base class for Delaunay mesh generators applied to a surface.