lsdo_genie.bsplines.BsplineVolume
Module Contents
Classes
Base class for B-spline Curves |
- class lsdo_genie.bsplines.BsplineVolume.BsplineVolume(name, order_u, order_v, order_w, knots_u, knots_v, knots_w, shape)
Base class for B-spline Curves
- Attributes:
- namestr
A nickname for the B-spline Curve
- order_uint
B-spline polynomial order in the ‘u’ direction
- knots_uint
Knot vector in the ‘u’ direction
- order_vint
B-spline polynomial order in the ‘v’ direction
- knots_vint
Knot vector in the ‘v’ direction
- order_wint
B-spline polynomial order in the ‘w’ direction
- knots_wint
Knot vector in the ‘w’ direction
- shapetuple
Shape for the B-spline control points (num_u,)
- get_basis_matrix(u_vec, v_vec, w_vec, du, dv, dw)
Builds the basis matrix for a given set of points
- Parameters:
- u_vecnp.ndarray(N,)
Vector storing the ‘u’ cooridinates of a set of input points
- duint
Derivative in the ‘u’ direction
- v_vecnp.ndarray(N,)
Vector storing the ‘v’ cooridinates of a set of input points
- dvint
Derivative in the ‘v’ direction
- w_vecnp.ndarray(N,)
Vector storing the ‘w’ cooridinates of a set of input points
- dwint
Derivative in the ‘w’ direction
- Returns:
- basissps.csc_matrix(N,Ncp)
The basis matrix that can be multiplied with the control points to get (N,) output values