90 return Foam::mag(lastPoint() - firstPoint());
Macros for easy insertion into run-time selection tables.
#define addToRunTimeSelectionTable(baseType, thisType, argNames)
Add to construction table with typeName as the key.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
Define a curved edge that is parameterized for 0<lambda<1 between the start/end points.
blockEdge(const pointField &points, const label from, const label to)
Construct from components.
point linearPosition(const scalar lambda) const
The point position in the straight line.
const point & lastPoint() const
The location of the last point.
const point & firstPoint() const
The location of the first point.
A straight edge between the start point and the end point.
scalar length() const
The length of the curve.
lineEdge(const pointField &points, const edge &fromTo)
Construct from components.
point position(const scalar) const
The point position corresponding to the curve parameter.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
An edge is a list of two vertex labels. This can correspond to a directed graph edge or an edge on a ...
Container for searchableSurfaces. The collection is specified as a dictionary. For example,...
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
A namespace for various blockEdge types.
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
vector point
Point is a vector.
vectorField pointField
pointField is a vectorField.
dimensionedScalar lambda("lambda", dimTime/sqr(dimLength), laminarTransport)