https://mooseframework.inl.gov
Loading...
Searching...
No Matches
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
12#include "MeshGenerator.h"
13
19{
20public:
22
24
25 std::unique_ptr<MeshBase> generate() override;
26
27protected:
29 const std::vector<Point> _positions_vector_1;
31 const std::vector<Point> _positions_vector_2;
33 const unsigned int _num_layers;
35 const subdomain_id_type _block_id;
37 const boundary_id_type _input_boundary_1_id;
39 const boundary_id_type _input_boundary_2_id;
41 const boundary_id_type _begin_side_boundary_id;
43 const boundary_id_type _end_side_boundary_id;
47 const Real _bias_parameter;
49 const Real _sigma;
50};
This FillBetweenPointVectorsGenerator object is designed to generate a transition layer with two side...
const std::vector< Point > _positions_vector_2
Vector of Points of the second side.
const bool _use_quad_elements
A boolean parameter to determine whether QUAD4 elements are used instead of TRI3 elements.
const Real _sigma
Gaussian parameter used to smoothen local node density using Gaussian blurring.
const Real _bias_parameter
A parameter used to set up mesh biasing of the layers.
const boundary_id_type _input_boundary_1_id
ID to be assigned to the boundary that corresponds to positions_vector_1.
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 _input_boundary_2_id
ID to be assigned to the boundary that corresponds to positions_vector_2.
const boundary_id_type _end_side_boundary_id
ID to be assigned to the boundary that connects the ending points of positions_vectors.
const unsigned int _num_layers
Number of sublayers of the mesh to be generated.
const subdomain_id_type _block_id
Subdomain ID to be assigned to the generated transition layer.
const std::vector< Point > _positions_vector_1
Vector of Points of the first side.
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system.
MeshGenerators are objects that can modify or add to an existing mesh.
const InputParameters & parameters() const
Get the parameters of the object.
Definition MooseBase.h:131