52 else if (
mu > 1 - SMALL)
88 else if ((
segment == nSegments() - 1) && (
mu >= 1.0))
125 ( 3*e0 - 6*
p0 + 3*p1 )
127 ( -e0 + 3*
p0 - 3*p1 + e1 )
BSpline(const pointField &knots, const bool notImplementedClosed=false)
Construct from components.
T & first()
Access first element of the list, position [0].
dimensionedScalar lambda("lambda", dimTime/sqr(dimLength), laminarTransport)
A series of straight line segments, which can also be interpreted as a series of control points for s...
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...
T & last()
Access last element of the list, position [size()-1].
const dimensionedScalar mu
Atomic mass unit.
label localParameter(scalar &lambda) const
Return the line segment and the local parameter [0..1] corresponding to the global lambda [0...
vector point
Point is a vector.
point position(const scalar lambda) const
The point position corresponding to the global curve parameter.
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
const volScalarField & p0
const pointField & points() const noexcept
Return const-access to the control-points.
scalar length() const
The length of the curve.