NURBSMesh

NURBSMesh represents one tensor-product B-spline or NURBS patch. It stores the knot vectors, polynomial orders, control points, weights, and the connectivity needed to visit each non-empty knot span.

API

FerriteIGA.NURBSMesh — Type
NURBSMesh(knot_vectors, orders, control_points, weights=ones(...))

A NURBS or B-spline patch. knot_vectors and orders give the basis in each direction. control_points give the shape. weights are all ones for a B-spline.

source
FerriteIGA.parent_to_parametric_map — Function
parent_to_parametric_map(nurbsmesh::NURBSMesh{pdim,sdim}, cellid::Int, xi::Vec{pdim})

Given a coordinate for a cell in the parent domain xi, this functions returns the coordinate in the parametric domain.

source
FerriteIGA.eval_parametric_coordinate — Function
eval_parametric_coordinate(mesh::NURBSMesh, ξ)

Physical point corresponding to the parameter ξ on the patch.

TODO: This function is currently very in-effecient for large domain.

source
FerriteIGA.knotinsertion — Function
knotinsertion(mesh::NURBSMesh, ξ; dir)

Return a new mesh with the knot ξ inserted once in parametric direction dir. The input mesh is unchanged.

source
FerriteIGA.orderelevation — Function
orderelevation(mesh::NURBSMesh; dir)

Return a new mesh with the polynomial degree raised by one in direction dir. The input mesh is unchanged.

source
FerriteIGA.smoothnesselevation — Function
smoothnesselevation(mesh::NURBSMesh, new_knots; dir)

Return a new mesh after degree elevation and insertion of new_knots in parametric direction dir. The input mesh is unchanged.

source
FerriteIGA.knotinsertion! — Function
knotinsertion!(knot_vectors, orders, control_points, weights, ξ; dir)

h-refinement. Insert the knot ξ once in parametric direction dir (Boehm).

source
FerriteIGA.orderelevation! — Function
orderelevation!(knot_vectors, orders, control_points, weights; dir)

p-refinement. Raise the polynomial degree by one in direction dir.

source
FerriteIGA.smoothnesselevation! — Function
smoothnesselevation!(knot_vectors, orders, control_points, weights, new_knots; dir)

k-refinement. Raise the degree by one in direction dir, then insert each knot in new_knots. This is a pointwise smoothness elevation.

source