50 shapeToCell::typeName,
51 "\n Usage: shapeToCell tet|pyr|prism|hex|tetWedge|wedge|splitHex\n\n"
52 " Select all cells of given cellShape.\n"
53 " (splitHex hardcoded with internal angle < 10 degrees)\n"
64 void Foam::shapeToCell::combine(topoSet&
set,
const bool add)
const
66 if (type_ ==
"splitHex")
68 for (label cellI = 0; cellI <
mesh_.
nCells(); cellI++)
72 if (hexMatcher().
isA(superCell.faces()))
86 if (cellShapes[cellI].model() == wantedModel)
111 "shapeToCell::shapeToCell(const polyMesh&, const word&)"
125 type_(dict.
lookup(
"type"))
131 "shapeToCell::shapeToCell(const polyMesh&, const dictionary&)"
151 "shapeToCell::shapeToCell(const polyMesh&, Istream&)"
172 Info<<
" Adding all cells of type " << type_ <<
" ..." <<
endl;
178 Info<<
" Removing all cells of type " << type_ <<
" ..." <<
endl;