38 if (a[0] == b[0] && a[1] == b[1])
42 else if (a[0] == b[1] && a[1] == b[0])
141 Swap(
operator[](0),
operator[](1));
label end() const
Return end vertex label.
linePointRef line(const pointField &) const
Return edge line.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
point centre(const pointField &) const
Return centre (centroid)
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
static int compare(const edge &, const edge &)
Compare edges.
label otherVertex(const label a) const
Given one vertex, return the other.
edge reverseEdge() const
Return reverse edge.
Useful combination of include files which define Sin, Sout and Serr and the use of IO streams general...
line< point, const point & > linePointRef
Line using referred points.
An edge is a list of two point labels. The functionality it provides supports the discretisation on a...
const dimensionedScalar b
Wien displacement law constant: default SI units: [m.K].
tmp< fvMatrix< Type > > operator==(const fvMatrix< Type > &, const fvMatrix< Type > &)
label & operator[](const label)
Return element of FixedList.
label commonVertex(const edge &a) const
Return common vertex.
label start() const
Return start vertex label.
scalar mag(const pointField &) const
Return scalar magnitude.
edge()
Null constructor for lists.
vector vec(const pointField &) const
Return the vector (end - start)
dimensioned< scalar > mag(const dimensioned< Type > &)
void flip()
Flip the edge in-place.
bool operator!=(const particle &, const particle &)