48 badQualityToFace::typeName,
49 "\n Usage: badQualityToFace mesh-quality-dictionary\n\n" 50 " Select all faces that do not satisfy the selection criterion\n\n" 56 void Foam::badQualityToFace::combine(topoSet&
set,
const bool add)
const 58 faceSet faces(mesh_,
"meshQualityFaces", mesh_.nFaces()/100+1);
64 label facei = iter.key();
65 addOrDelete(
set, facei, add);
112 Info<<
" Adding bad-quality faces" <<
endl;
117 Info<<
" Removing bad-quality faces" <<
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.
badQualityToFace(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.
A list of keyword definitions, which are a keyword followed by any number of values (e...
virtual ~badQualityToFace()
Destructor.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
Ostream & endl(Ostream &os)
Add newline and flush stream.
AccessType combine(const List< T > &, AccessOp aop=accessOp< T >())
Combines sublists into one big list.
Macros for easy insertion into run-time selection tables.
Base class of a source for a topoSet.
virtual void applyToSet(const topoSetSource::setAction action, topoSet &) const
setAction
Enumeration defining the valid actions.
forAllConstIter(PtrDictionary< phaseModel >, mixture.phases(), phase)
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)
defineTypeNameAndDebug(combustionModel, 0)
General set of labels of mesh quantity (points, cells, faces).
Class with constructor to add usage string to table.
Mesh consisting of general polyhedral cells.