51 inline bool operator==(
const edge& a,
const edge&
b);
52 inline bool operator!=(
const edge& a,
const edge&
b);
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
A 1D vector of objects of type <T> with a fixed size <Size>.
bool contiguous< edge >()
edge reverseEdge() const
Return reverse edge.
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.
unsigned operator()(const PrimitiveType &p, unsigned seed) const
label commonVertex(const edge &a) const
Return common vertex.
point centre(const pointField &) const
Return centre (centroid)
linePointRef line(const pointField &) const
Return edge line.
friend bool operator!=(const edge &a, const edge &b)
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 > &)
scalar mag(const pointField &) const
Return scalar magnitude.
bool connected(const edge &a) const
Return true if connected to given edge.
vector vec(const pointField &) const
Return the vector (end - start)
static const char *const typeName
friend bool operator==(const edge &a, const edge &b)
label end() const
Return end vertex label.
edge()
Null constructor for lists.
Hash function class for primitives. All non-primitives used to hash entries on hash tables likely nee...
const doubleScalar e
Elementary charge.
void flip()
Flip the edge in-place.
bool operator!=(const particle &, const particle &)
label start() const
Return start vertex label.