Go to the documentation of this file.
68 if (lambda < -SMALL || lambda > 1+SMALL)
71 <<
"Parameter out of range, lambda = " <<
lambda
75 return points_[start_] +
lambda * (points_[end_] - points_[start_]);
81 return mag(points_[end_] - points_[start_]);
scalar length() const
Return the length of the curve.
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)
lineEdge(const pointField &, const label start, const label end)
Construct from components.
dimensioned< scalar > mag(const dimensioned< Type > &)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Pre-declare SubField and related Field type.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
virtual ~lineEdge()
Destructor.
Macros for easy insertion into run-time selection tables.
errorManip< error > abort(error &err)
point position(const scalar) const
Return the point position corresponding to the curve parameter.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
Define a curved edge that is parameterized for 0<lambda<1 between the start and end point.
defineTypeNameAndDebug(combustionModel, 0)
dimensionedScalar lambda(laminarTransport.lookup("lambda"))