Go to the documentation of this file.
63 badQualityToFace::typeName,
64 "\n Usage: badQualityToFace mesh-quality-dictionary\n\n"
65 " Select all faces that do not satisfy the selection criterion\n\n"
71 void Foam::badQualityToFace::combine(topoSet& set,
const bool add)
const
77 for (
const label facei : faces)
120 Info<<
" Adding bad-quality faces" <<
endl;
129 Info<<
" Removing bad-quality faces" <<
endl;
addToRunTimeSelectionTable(decompositionMethod, kahipDecomp, dictionary)
label nFaces() const
Number of mesh faces.
Class with constructor to add usage string to table.
static bool checkMesh(const bool report, const polyMesh &mesh, const dictionary &dict, labelHashSet &wrongFaces, const bool dryRun=false)
Check mesh with mesh settings in dict. Collects incorrect faces.
Ostream & endl(Ostream &os)
Add newline and flush stream.
setAction
Enumeration defining the valid actions.
Base class of a topoSet source for selecting faces.
Create a new set and ADD elements to it.
Mesh consisting of general polyhedral cells.
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)....
messageStream Info
Information stream (uses stdout - output is on the master only)
AccessType combine(const UList< T > &lists, AccessOp aop=accessOp< T >())
Combines sub-lists into a single list.
addNamedToRunTimeSelectionTable(topoSetCellSource, badQualityToCell, word, badQuality)
badQualityToFace(const polyMesh &mesh, const dictionary &dict)
Construct from dictionary.
General set of labels of mesh quantity (points, cells, faces).
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
void add(FieldField< Field1, typename typeOfSum< Type1, Type2 >::type > &f, const FieldField< Field1, Type1 > &f1, const FieldField< Field2, Type2 > &f2)
Macros for easy insertion into run-time selection tables.
Subtract elements from the set.
virtual void applyToSet(const topoSetSource::setAction action, topoSet &set) const
Apply specified action to the topoSet.
void addOrDelete(topoSet &set, const label id, const bool add) const
Add or delete id from set. Add when 'add' is true.
const polyMesh & mesh_
Reference to the mesh.
defineTypeNameAndDebug(combustionModel, 0)