sfepy.mesh.splinebox module¶
-
class
sfepy.mesh.splinebox.SplineBox(bbox, coors, name='spbox', **kwargs)[source]¶ B-spline geometry parametrization. Geometry can be modified by moving spline control points.
-
change_shape(cpoint, val)[source]¶ Change shape of spline parametrization.
Parameters: cpoint : list
The indices of the spline control point.
val : array
Displacement.
-
dvelocity(cpoint, dir)[source]¶ Evaluate derivative of spline in a given control point and direction.
Parameters: cpoint : list
The indices of the spline control point.
dir : array
The directional vector.
Returns: dvel : array
The design velocity field.
-
evaluate(cp_coors=None)[source]¶ Evaluate SplineBox.
Returns: coors : array
The coordinates corresponding to the actual spline control points position.
cp_coors : array
If is not None, use as control points cooardinates.
-

