77 if (lambda < -small || lambda > 1+small)
80 <<
"Parameter out of range, lambda = " <<
lambda
84 return points_[start_] +
lambda * (points_[end_] - points_[start_]);
90 return mag(points_[end_] - points_[start_]);
Macros for easy insertion into run-time selection tables.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
Define a curved edge that is parameterised for 0<lambda<1 between the start and end point.
A straight edge between the start point and the end point.
scalar length() const
Return the length of the curve.
lineEdge(const pointField &, const label start, const label end)
Construct from components.
virtual ~lineEdge()
Destructor.
point position(const scalar) const
Return the point position corresponding to the curve parameter.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Container for searchableSurfaces.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
dimensionedScalar lambda(viscosity->lookup("lambda"))
defineTypeNameAndDebug(arcEdge, 0)
addToRunTimeSelectionTable(blockEdge, arcEdge, Istream)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
errorManip< error > abort(error &err)
dimensioned< scalar > mag(const dimensioned< Type > &)