Go to the documentation of this file.
37 const scalar reportDistSqr,
48 for (label i = 1; i < sortedMag.size(); i++)
50 label pti = sortedMag.
indices()[i];
56 j >= 0 && (sortedMag[j] > sortedMag[i]-reportDistSqr);
60 label prevPtI = sortedMag.
indices()[j];
99 <<
" together found, number: " << nClose
Ostream & endl(Ostream &os)
Add newline and flush stream.
dimensioned< typename typeOfMag< Type >::type > magSqr(const dimensioned< Type > &dt)
messageStream Info
Information stream (stdout output on master, null elsewhere)
reduce(hasMovingMesh, orOp< bool >())
A list that is sorted upon construction or when explicitly requested with the sort() method.
dimensionedScalar sqrt(const dimensionedScalar &ds)
bool insert(const Key &key)
Insert a new entry, not overwriting existing entries.
const labelList & indices() const
Return the list of sorted indices. Updated every sort.
virtual bool checkPointNearness(const bool report, const scalar reportDistSqr, labelHashSet *setPtr=nullptr) const
Check for point-point-nearness,.