43 void Foam::badQualityToCell::combine(topoSet&
set,
const bool add)
const 45 faceSet faces(mesh_,
"meshQualityFaces", mesh_.nFaces()/100+1);
51 label facei = iter.key();
52 addOrDelete(
set, mesh_.faceOwner()[facei],
add);
53 if (mesh_.isInternalFace(facei))
55 addOrDelete(
set, mesh_.faceNeighbour()[facei],
add);
90 Info<<
" Adding bad-quality cells" <<
endl;
95 Info<<
" Removing bad-quality cells" <<
endl;
static bool checkMesh(const bool report, const polyMesh &mesh, const dictionary &dict, labelHashSet &wrongFaces)
Check mesh with mesh settings in dict. Collects incorrect faces.
FvWallInfoData< WallInfo, label > label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
A list of keyword definitions, which are a keyword followed by any number of values (e...
#define forAllConstIter(Container, container, iter)
Iterate across all elements in the container object of type.
Ostream & endl(Ostream &os)
Add newline and flush stream.
virtual void applyToSet(const topoSetSource::setAction action, topoSet &) const
Macros for easy insertion into run-time selection tables.
Base class of a source for a topoSet.
badQualityToCell(const polyMesh &mesh, const dictionary &dict)
Construct from dictionary.
setAction
Enumeration defining the valid actions.
void add(FieldField< Field1, typename typeOfSum< Type1, Type2 >::type > &f, const FieldField< Field1, Type1 > &f1, const FieldField< Field2, Type2 > &f2)
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)
defineTypeNameAndDebug(combustionModel, 0)
General set of labels of mesh quantity (points, cells, faces).
virtual ~badQualityToCell()
Destructor.
Mesh consisting of general polyhedral cells.
treeBoundBox combine(const treeBoundBox &a, const treeBoundBox &b)