20 "Array of the node positions of the first boundary.");
22 "positions_vector_2",
"Array of the node positions of the second boundary.");
24 "num_layers",
"num_layers>0",
"Layers of elements for transition.");
27 "input_boundary_1_id",
29 "Boundary ID to be assigned to the boundary defined by positions_vector_1.");
31 "input_boundary_2_id",
33 "Boundary ID to be assigned to the boundary defined by positions_vector_2.");
36 "Boundary ID to be assigned to the boundary connecting " 37 "starting points of the positions_vectors.");
40 "Boundary ID to be assigned to the boundary connecting ending " 41 "points of the positions_vectors.");
45 "Whether QUAD4 instead of TRI3 elements are used to construct the transition layer.");
50 "Parameter used to set up biasing of the layers: bias_parameter > 0.0 is used as the biasing " 51 "factor; bias_parameter = 0.0 activates automatic biasing based on local node density on " 52 "both input boundaries.");
57 "Gaussian parameter used to smoothen local node density for automatic biasing; this " 58 "parameter is not used if other biasing option is selected.");
60 "This FillBetweenPointVectorsGenerator object is designed to generate a " 61 "transition layer with two sides containing different numbers of nodes.");
68 _positions_vector_1(getParam<
std::vector<Point>>(
"positions_vector_1")),
69 _positions_vector_2(getParam<
std::vector<Point>>(
"positions_vector_2")),
70 _num_layers(getParam<unsigned
int>(
"num_layers")),
74 _begin_side_boundary_id(getParam<
boundary_id_type>(
"begin_side_boundary_id")),
76 _use_quad_elements(getParam<bool>(
"use_quad_elements")),
77 _bias_parameter(getParam<
Real>(
"bias_parameter")),
78 _sigma(getParam<
Real>(
"gaussian_sigma"))
82 std::unique_ptr<MeshBase>
const boundary_id_type _begin_side_boundary_id
ID to be assigned to the boundary that connects the starting points of positions_vectors.
std::unique_ptr< ReplicatedMesh > buildReplicatedMesh(unsigned int dim=libMesh::invalid_uint)
Build a replicated mesh.
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...
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.
const std::string _type
The type of this class.
const subdomain_id_type _block_id
Subdomain ID to be assigned to the generated transition layer.
static InputParameters validParams()
const boundary_id_type _input_boundary_2_id
ID to be assigned to the boundary that corresponds to positions_vector_2.
static InputParameters validParams()
const std::string _name
The name of this class.
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.
registerMooseObject("MooseApp", FillBetweenPointVectorsGenerator)
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
FillBetweenPointVectorsGenerator(const InputParameters ¶meters)
MeshGenerators are objects that can modify or add to an existing mesh.
void ErrorVector unsigned int
const bool _use_quad_elements
A boolean parameter to determine whether QUAD4 elements are used instead of TRI3 elements.