Go to the documentation of this file.
26 #include "primitiveMesh.H"
34 const scalar reportDistSqr,
45 for (
label i = 1; i < sortedMag.size(); i++)
47 label pti = sortedMag.indices()[i];
53 j >= 0 && (sortedMag[j] > sortedMag[i]-reportDistSqr);
57 label prevPtI = sortedMag.indices()[j];
82 setPtr->insert(prevPtI);
89 reduce(nClose, sumOp<label>());
96 <<
" together found, number: " << nClose
vectorField pointField
pointField is a vectorField.
bool checkPointNearness(const bool report, const scalar reportDistSqr, labelHashSet *setPtr=NULL) const
Check for point-point-nearness,.
virtual const pointField & points() const =0
Return mesh points.
Ostream & endl(Ostream &os)
Add newline and flush stream.
void reduce(const List< UPstream::commsStruct > &comms, T &Value, const BinaryOp &bop, const int tag, const label comm)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
dimensionedScalar sqrt(const dimensionedScalar &ds)
HashSet< label, Hash< label > > labelHashSet
A HashSet with label keys.
dimensioned< scalar > magSqr(const dimensioned< Type > &)