Go to the documentation of this file.
47 zoneToPoint::typeName,
48 "\n Usage: zoneToPoint zone\n\n"
49 " Select all points in the pointZone."
50 " Note:accepts wildcards for zone.\n\n"
58 bool hasMatched =
false;
127 zoneName_(checkIs(is))
147 Info<<
" Adding all points of pointZone " << zoneName_ <<
" ..."
154 Info<<
" Removing all points of pointZone " << zoneName_ <<
" ..."
A class for handling words, derived from string.
#define forAll(list, i)
Loop across all elements in list.
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)
AccessType combine(const List< T > &, AccessOp aop=accessOp< T >())
Combines sublists into one big list.
A subset of mesh points. The labels of points in the zone can be obtained from the addressing() 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.
static addToUsageTable usage_
Add usage string.
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.
Mesh consisting of general polyhedral cells.
wordRe zoneName_
Name/regular expression of zone.
void combine(topoSet &set, const bool add) const
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
const pointZoneMesh & pointZones() const
Return point zone mesh.
virtual ~zoneToPoint()
Destructor.
General set of labels of mesh quantity (points, cells, faces).
zoneToPoint(const polyMesh &mesh, const word &zoneName)
Construct from components.
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.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
defineTypeNameAndDebug(combustionModel, 0)
#define WarningInFunction
Report a warning using Foam::Warning.
labelList pointLabels(nPoints, -1)
virtual void applyToSet(const topoSetSource::setAction action, topoSet &) const
void addOrDelete(topoSet &set, const label cellI, const bool) const
Add (if bool) cellI to set or delete cellI from set.