53 && cellSetName ==
"none"
60 if (!cellSetName.empty())
62 Info<<
"Applying motion to cellSet: " << cellSetName <<
endl;
74 && cellZoneName ==
"none"
81 if (!cellZoneName.empty())
83 Info<<
"Applying motion to cellZone: " << cellZoneName <<
endl;
91 <<
"No matching cellZones: " << cellZoneName <<
nl
101 if (!cellSetName.empty() || !cellZoneName.empty())
110 for (
const label facei :
mesh.
cells()[celli])
118 for (
const label celli :
cellIDs)
120 for (
const label facei :
mesh.
cells()[celli])
138 Info<<
"Applying motion to entire mesh" <<
endl;
List< Key > toc() const
The table of contents (the keys) in unsorted order.
bool empty() const noexcept
True if the UList is empty (ie, size() is zero)
wordList groupNames() const
A list of the zone group names (if any)
wordList names() const
A list of the zone names.
labelList indices(const wordRe &matcher, const bool useGroups=true) const
Return (sorted) zone indices for all matches.
A bitSet stores bits (elements with only two states) in packed internal format and supports a variety...
labelList sortedToc() const
The indices of the on bits as a sorted labelList.
void set(const bitSet &bitset)
Set specified bits from another bitset.
A collection of cell labels.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
bool readIfPresent(const word &keyword, T &val, enum keyType::option matchOpt=keyType::REGEX) const
Mesh consisting of general polyhedral cells.
virtual const faceList & faces() const
Return raw faces.
const cellZoneMesh & cellZones() const noexcept
Return cell zone mesh.
label nPoints() const noexcept
Number of mesh points.
const cellList & cells() const
A wordRe is a Foam::word, but can contain a regular expression for matching words or strings.
void clear()
Clear string and regular expression.
A class for handling words, derived from Foam::string.
Intermediate class for handling "zonified" motion. Can select motion for the entire mesh,...
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
const labelIOList & zoneIDs
const labelIOList & zoneID
messageStream Info
Information stream (stdout output on master, null elsewhere)
Ostream & endl(Ostream &os)
Add newline and flush stream.
FlatOutput::OutputAdaptor< Container, Delimiters > flatOutput(const Container &obj, Delimiters delim)
Global flatOutput() function with specified output delimiters.
T returnReduce(const T &value, const BinaryOp &bop, const int tag=UPstream::msgType(), const label comm=UPstream::worldComm)
Reduce (copy) and return value.
errorManipArg< error, int > exit(error &err, const int errNo=1)
constexpr char nl
The newline '\n' character (0x0a)