Go to the documentation of this file.
42 auto& result = tresult.ref();
66 for (label i=1; i <
param_.size(); i++)
73 for (label i=1; i <
param_.size() - 1; i++)
120 return points_.size()-1;
132 else if (
lambda > 1 - SMALL)
163 return points_.first();
165 else if (
mu > 1 - SMALL)
167 return points_.last();
185 return points_.first();
187 else if (
segment > nSegments())
189 return points_.last();
void resize(const label len)
Adjust allocated size of list.
const dimensionedScalar mu
Atomic mass unit.
A class for managing temporary objects.
A List obtained as a section of another List.
polyLine(const pointField &points, const bool notImplementedClosed=false)
Construct from components.
scalar length() const noexcept
The length of the curve.
const pointField & points() const noexcept
Return const-access to the control-points.
static tmp< pointField > concat(const point &start, const pointField &intermediate, const point &end)
Concatenate begin, intermediate and end points.
label nSegments() const noexcept
The number of line segments.
scalarList param_
The rational (0-1) cumulative parameter value for each point.
point position(const scalar) const
The point position corresponding to the curve parameter.
pointField points_
The control points or ends of each segments.
dimensionedScalar lambda("lambda", dimTime/sqr(dimLength), laminarTransport)
constexpr auto end(C &c) -> decltype(c.end())
Return iterator to the end of the container c.
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tdf1, const word &name, const dimensionSet &dimensions)
Global function forwards to reuseTmpDimensionedField::New.
An ordered pair of two objects of type <T> with first() and second() elements.
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
scalar lineLength_
The real (total) line length.
const volScalarField & p0
label localParameter(scalar &lambda) const