Go to the documentation of this file.
48 badQualityToCell::typeName,
49 "\n Usage: badQualityToCell mesh-quality-dictionary\n\n"
50 " Select all cells that do not satisfy the selection criterion\n\n"
64 label faceI = iter.key();
116 Info<<
" Adding bad-quality cells" <<
endl;
121 Info<<
" Removing bad-quality cells" <<
endl;
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)
AccessType combine(const List< T > &, AccessOp aop=accessOp< T >())
Combines sublists into one big list.
void combine(topoSet &set, const bool add) const
Class with constructor to add usage string to table.
Ostream & endl(Ostream &os)
Add newline and flush stream.
setAction
Enumeration defining the valid actions.
Mesh consisting of general polyhedral cells.
forAllConstIter(PtrDictionary< phaseModel >, mixture.phases(), phase)
virtual void sync(const polyMesh &mesh)
Sync faceSet across coupled patches.
badQualityToCell(const polyMesh &mesh, const dictionary &dict)
Construct from dictionary.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
virtual const labelList & faceOwner() const
Return face owner.
General set of labels of mesh quantity (points, cells, faces).
virtual ~badQualityToCell()
Destructor.
A list of keyword definitions, which are a keyword followed by any number of values (e....
void add(FieldField< Field1, typename typeOfSum< Type1, Type2 >::type > &f, const FieldField< Field1, Type1 > &f1, const FieldField< Field2, Type2 > &f2)
const dictionary dict_
Mesh quality dictionary.
Macros for easy insertion into run-time selection tables.
Base class of a source for a topoSet.
static addToUsageTable usage_
Add usage string.
static bool checkMesh(const bool report, const polyMesh &mesh, const dictionary &dict, labelHashSet &wrongFaces)
Check mesh with mesh settings in dict. Collects incorrect faces.
bool isInternalFace(const label faceIndex) const
Return true if given face label is internal to the mesh.
virtual void applyToSet(const topoSetSource::setAction action, topoSet &) const
defineTypeNameAndDebug(combustionModel, 0)
virtual const labelList & faceNeighbour() const
Return face neighbour.
void addOrDelete(topoSet &set, const label cellI, const bool) const
Add (if bool) cellI to set or delete cellI from set.