Go to the documentation of this file.
33 template<
unsigned Size>
47 if (doReduce && Pstream::parRun())
50 min_ =
point(VGREAT, VGREAT, VGREAT);
51 max_ =
point(-VGREAT, -VGREAT, -VGREAT);
59 for (
unsigned i=1; i < Size; ++i)
77 template<
unsigned Size>
92 if (!contains(
points[indices[i]]))
102 template<
unsigned Size>
117 if (contains(
points[indices[i]]))
#define forAll(list, i)
Loop across all elements in list.
void reduce(const List< UPstream::commsStruct > &comms, T &Value, const BinaryOp &bop, const int tag, const label comm)
bool containsAny(const UList< point > &) const
Contains any of the points? (inside or on edge)
boundBox()
Construct null, setting points to zero.
dimensioned< Type > max(const dimensioned< Type > &, const dimensioned< Type > &)
bool contains(const point &) const
Contains point? (inside or on edge)
A 1D vector of objects of type <T> with a fixed size <Size>.
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
vector point
Point is a vector.
dimensioned< Type > min(const dimensioned< Type > &, const dimensioned< Type > &)