33 const scalar reportLenSqr,
40 scalar minLenSqr =
sqr(great);
41 scalar maxLenSqr = -
sqr(great);
55 if (magSqrE < reportLenSqr)
61 minLenSqr =
min(minLenSqr, magSqrE);
62 maxLenSqr =
max(maxLenSqr, magSqrE);
81 Info<<
" *Edges too small, min/max edge length = "
82 <<
sqrt(minLenSqr) <<
" " <<
sqrt(maxLenSqr)
83 <<
", number too small: " << nSmall <<
endl;
92 Info<<
" Min/max edge length = "
93 <<
sqrt(minLenSqr) <<
" " <<
sqrt(maxLenSqr)
#define forAll(list, i)
Loop across all elements in list.
bool insert(const Key &key)
Insert a new entry.
void transfer(HashTable< T, Key, Hash > &)
Transfer the contents of the argument table into this table.
label size() const
Return number of elements in table.
A face is a list of labels corresponding to mesh vertices.
virtual const faceList & faces() const =0
Return faces.
virtual bool checkEdgeLength(const bool report, const scalar minLenSqr, labelHashSet *setPtr=nullptr) const
Check edge length.
virtual const pointField & points() const =0
Return mesh points.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
dimensionedSymmTensor sqr(const dimensionedVector &dv)
Ostream & endl(Ostream &os)
Add newline and flush stream.
layerAndWeight min(const layerAndWeight &a, const layerAndWeight &b)
void reduce(const List< UPstream::commsStruct > &comms, T &Value, const BinaryOp &bop, const int tag, const label comm)
dimensionedScalar sqrt(const dimensionedScalar &ds)
layerAndWeight max(const layerAndWeight &a, const layerAndWeight &b)
dimensioned< scalar > magSqr(const dimensioned< Type > &)