Go to the documentation of this file.
36 const scalar reportLenSqr,
43 scalar minLenSqr =
sqr(GREAT);
44 scalar maxLenSqr = -
sqr(GREAT);
54 label fp1 =
f.fcIndex(fp);
58 if (magSqrE < reportLenSqr)
64 minLenSqr =
min(minLenSqr, magSqrE);
65 maxLenSqr =
max(maxLenSqr, magSqrE);
72 label nSmall = smallEdgeSet.size();
77 setPtr->transfer(smallEdgeSet);
84 Info<<
" *Edges too small, min/max edge length = "
85 <<
sqrt(minLenSqr) <<
" " <<
sqrt(maxLenSqr)
86 <<
", number too small: " << nSmall <<
endl;
94 Info<<
" Min/max edge length = "
95 <<
sqrt(minLenSqr) <<
" " <<
sqrt(maxLenSqr) <<
" OK." <<
endl;
virtual const pointField & points() const =0
virtual const faceList & faces() const =0
Ostream & endl(Ostream &os)
A HashTable with keys but without contents that is similar to std::unordered_set.
label min(const labelHashSet &set, label minValue=labelMax)
label nPoints() const noexcept
dimensioned< typename typeOfMag< Type >::type > magSqr(const dimensioned< Type > &dt)
virtual bool checkEdgeLength(const bool report, const scalar minLenSqr, labelHashSet *setPtr=nullptr) const
void reduce(const List< UPstream::commsStruct > &comms, T &Value, const BinaryOp &bop, const int tag, const label comm)
Generic templated field type.
label max(const labelHashSet &set, label maxValue=labelMin)
reduce(hasMovingMesh, orOp< bool >())
dimensionedSymmTensor sqr(const dimensionedVector &dv)
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
dimensionedScalar sqrt(const dimensionedScalar &ds)
bool insert(const Key &key)
A face is a list of labels corresponding to mesh vertices.