https://mooseframework.inl.gov
FillBetweenSidesetsGenerator.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 
18 {
19 public:
21 
23 
24  std::unique_ptr<MeshBase> generate() override;
25 
26 protected:
28  const MeshGeneratorName _input_name_1;
30  const MeshGeneratorName _input_name_2;
32  const std::vector<BoundaryName> _boundary_1;
34  const std::vector<BoundaryName> _boundary_2;
36  const Point _mesh_1_shift;
38  const Point _mesh_2_shift;
40  const unsigned int _num_layers;
52  const bool _use_quad_elements;
56  const Real _sigma;
58  const bool _keep_inputs;
60  std::unique_ptr<MeshBase> & _input_1;
62  std::unique_ptr<MeshBase> & _input_2;
63 };
const Point _mesh_1_shift
Translation applied to the first input mesh.
const MeshGeneratorName _input_name_2
Name of the mesh which contains the second input boundary.
const Point _mesh_2_shift
Translation applied to the second input mesh.
std::unique_ptr< MeshBase > & _input_2
The mesh which contains the second input boundary.
std::unique_ptr< MeshBase > generate() override
Generate / modify the mesh.
const boundary_id_type _begin_side_boundary_id
ID to be assigned to the boundary that connects the starting points of positions_vectors.
const boundary_id_type _end_side_boundary_id
ID to be assigned to the boundary that connects the ending points of positions_vectors.
const boundary_id_type _input_boundary_1_id
ID to be assigned to the boundary that corresponds to the input boundary on the first input mesh...
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
std::unique_ptr< MeshBase > & _input_1
The mesh which contains the first input boundary.
This FillBetweenSidesetsGenerator object is designed to generate a transition layer to connect two bo...
const std::vector< BoundaryName > _boundary_2
Name of the second input boundary for the transition layer generation.
int8_t boundary_id_type
const Real _bias_parameter
A parameter used to set up mesh biasing of the layers.
const boundary_id_type _input_boundary_2_id
ID to be assigned to the boundary that corresponds to the input boundary on the second input mesh...
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const Real _sigma
Parameter used for Gaussian blurring of local node density.
const subdomain_id_type _block_id
Subdomain ID to be assigned to the generated transition layer.
FillBetweenSidesetsGenerator(const InputParameters &parameters)
const InputParameters & parameters() const
Get the parameters of the object.
const bool _keep_inputs
Whether the input meshes are retained in the output.
const bool _use_quad_elements
A boolean parameter to determine whether QUAD4 elements are used instead of TRI3 elements.
const unsigned int _num_layers
Number of sublayers of the mesh to be generated.
MeshGenerators are objects that can modify or add to an existing mesh.
Definition: MeshGenerator.h:32
const std::vector< BoundaryName > _boundary_1
Name of the first input boundary for the transition layer generation.
const MeshGeneratorName _input_name_1
Name of the mesh which contains the first input boundary.