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" 56 void Foam::badQualityToCell::combine(topoSet&
set,
const bool add)
const 58 faceSet faces(mesh_,
"meshQualityFaces", mesh_.nFaces()/100+1);
64 label facei = iter.key();
65 addOrDelete(
set, mesh_.faceOwner()[facei],
add);
66 if (mesh_.isInternalFace(facei))
68 addOrDelete(
set, mesh_.faceNeighbour()[facei],
add);
116 Info<<
" Adding bad-quality cells" <<
endl;
121 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.
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...
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.
virtual void applyToSet(const topoSetSource::setAction action, topoSet &) const
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.
badQualityToCell(const polyMesh &mesh, const dictionary &dict)
Construct from dictionary.
setAction
Enumeration defining the valid actions.
forAllConstIter(PtrDictionary< phaseModel >, mixture.phases(), phase)
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).
Class with constructor to add usage string to table.
virtual ~badQualityToCell()
Destructor.
Mesh consisting of general polyhedral cells.