31 Foam::BSpline::BSpline
50 else if (mu > 1 - SMALL)
124 ( 3*e0 - 6*p0 + 3*p1 )
126 ( -e0 + 3*p0 - 3*p1 + e1 )
scalar length() const
Return the length of the curve.
const dimensionedScalar mu
Atomic mass unit.
A series of straight line segments, which can also be interpreted as a series of control points for s...
T & last()
Return the last element of the list.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
T & first()
Return the first element of the list.
const pointField & points() const
Return const-access to the control-points.
label localParameter(scalar &lambda) const
Return the line segment and the local parameter [0..1].
dimensionedScalar lambda(laminarTransport.lookup("lambda"))
label nSegments() const
Return the number of line segments.
#define notImplemented(functionName)
Issue a FatalErrorIn for a function not currently implemented.
point position(const scalar lambda) const
Return the point position corresponding to the curve parameter.