34 const scalar reportDistSqr,
45 for (
label i = 1; i < sortedMag.
size(); i++)
53 j >= 0 && (sortedMag[j] > sortedMag[i]-reportDistSqr);
59 if (
magSqr(points[pti] - points[prevPtI]) < reportDistSqr)
96 <<
" together found, number: " << nClose
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 list that is sorted upon construction or when explicitly requested with the sort() method...
void size(const label)
Override size to be inconsistent with allocated storage.
dimensionedScalar sqrt(const dimensionedScalar &ds)
Ostream & endl(Ostream &os)
Add newline and flush stream.
virtual bool checkPointNearness(const bool report, const scalar reportDistSqr, labelHashSet *setPtr=nullptr) const
Check for point-point-nearness,.
bool insert(const Key &key)
Insert a new entry.
const labelList & indices() const
Return the list of sorted indices. Updated every sort.
dimensioned< scalar > magSqr(const dimensioned< Type > &)
void reduce(const List< UPstream::commsStruct > &comms, T &Value, const BinaryOp &bop, const int tag, const label comm)