Go to the documentation of this file.
48 "\n Usage: zoneToCell zone\n\n"
49 " Select all cells in the cellZone."
50 " Note:accepts wildcards for zone.\n\n"
58 bool hasMatched =
false;
69 <<
" with " << cellLabels.
size() <<
" cells." <<
endl;
127 zoneName_(checkIs(is))
147 Info<<
" Adding all cells of cellZone " << zoneName_ <<
" ..."
154 Info<<
" Removing all cells of cellZone " << zoneName_ <<
" ..."
A class for handling words, derived from string.
#define forAll(list, i)
Loop across all elements in list.
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)
virtual ~zoneToCell()
Destructor.
AccessType combine(const List< T > &, AccessOp aop=accessOp< T >())
Combines sublists into one big list.
Class with constructor to add usage string to table.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
const cellZoneMesh & cellZones() const
Return cell zone mesh.
Ostream & endl(Ostream &os)
Add newline and flush stream.
setAction
Enumeration defining the valid actions.
bool match(const std::string &, bool literalMatch=false) const
Smart match as regular expression or as a string.
wordRe zoneName_
Name/regular expression of cellZone.
Mesh consisting of general polyhedral cells.
zoneToCell(const polyMesh &mesh, const word &zoneName)
Construct from components.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
General set of labels of mesh quantity (points, cells, faces).
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)
Macros for easy insertion into run-time selection tables.
Base class of a source for a topoSet.
const word & name() const
Return name.
wordList names() const
Return a list of zone names.
static addToUsageTable usage_
Add usage string.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
void size(const label)
Override size to be inconsistent with allocated storage.
void combine(topoSet &set, const bool add) const
virtual void applyToSet(const topoSetSource::setAction action, topoSet &) const
defineTypeNameAndDebug(combustionModel, 0)
#define WarningInFunction
Report a warning using Foam::Warning.
void addOrDelete(topoSet &set, const label cellI, const bool) const
Add (if bool) cellI to set or delete cellI from set.