25 std::unique_ptr<MeshBase>
generate()
override;
31 Point
endPoint(MeshBase & end_mesh)
const;
Mesh generator to create a 1D B-spline curve mesh in 3D space.
Point startPoint(MeshBase &start_mesh) const
Return the starting point of the spline.
const unsigned int _degree
degree of interpolating spline
Point endPoint(MeshBase &end_mesh) const
Return the ending point of the spline.
static InputParameters validParams()
const unsigned int _num_elements
number of edge elements on the curve
const unsigned int _num_cps
number of control points to be generated
std::vector< BoundaryName > _node_set_boundaries
vector of the names of the boundaries at the ends of the spline curve
const unsigned int _order
order of the EDGE elements to be generated
const Real _sharpness
sharpness of curve (measure of how close it is to the curve with three orthogonal segments)
RealVectorValue startDirection(MeshBase &start_mesh) const
Return the starting direction of the spline.
RealVectorValue endDirection(MeshBase &end_mesh) const
Return the ending direction of the spline.
std::unique_ptr< MeshBase > & _end_mesh_input
If 'end_mesh' parameter is set, reference to input mesh providing the ending boundary.
std::unique_ptr< MeshBase > & _start_mesh_input
If 'start_mesh' parameter is set, reference to input mesh providing the starting boundary.
const SubdomainID _new_subdomain_id
Subdomain ID for the elements created.
std::unique_ptr< MeshBase > generate() override
Generate / modify the mesh.
MeshGenerators are objects that can modify or add to an existing mesh.
const InputParameters & parameters() const
Get the parameters of the object.