https://mooseframework.inl.gov
FillBetweenPointVectorsGenerator.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 std::vector<Point> _positions_vector_1;
30  const std::vector<Point> _positions_vector_2;
32  const unsigned int _num_layers;
44  const bool _use_quad_elements;
48  const Real _sigma;
49 };
const boundary_id_type _begin_side_boundary_id
ID to be assigned to the boundary that connects the starting points of positions_vectors.
const Real _sigma
Gaussian parameter used to smoothen local node density using Gaussian blurring.
const boundary_id_type _end_side_boundary_id
ID to be assigned to the boundary that connects the ending points of positions_vectors.
This FillBetweenPointVectorsGenerator object is designed to generate a transition layer with two side...
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
const boundary_id_type _input_boundary_1_id
ID to be assigned to the boundary that corresponds to positions_vector_1.
const std::vector< Point > _positions_vector_1
Vector of Points of the first side.
int8_t boundary_id_type
const subdomain_id_type _block_id
Subdomain ID to be assigned to the generated transition layer.
const boundary_id_type _input_boundary_2_id
ID to be assigned to the boundary that corresponds to positions_vector_2.
const Real _bias_parameter
A parameter used to set up mesh biasing of the layers.
std::unique_ptr< MeshBase > generate() override
Generate / modify the mesh.
const std::vector< Point > _positions_vector_2
Vector of Points of the second side.
const unsigned int _num_layers
Number of sublayers of the mesh to be generated.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const InputParameters & parameters() const
Get the parameters of the object.
FillBetweenPointVectorsGenerator(const InputParameters &parameters)
MeshGenerators are objects that can modify or add to an existing mesh.
Definition: MeshGenerator.h:32
const bool _use_quad_elements
A boolean parameter to determine whether QUAD4 elements are used instead of TRI3 elements.