Go to the documentation of this file.
43 for (
const wordRe& item : list)
101 return faceZoneInclude_.size();
110 patchInclude_.clear();
111 patchExclude_.clear();
112 faceZoneInclude_.clear();
113 cellZoneInclude_.clear();
140 if (patchInclude_.size())
142 patchInclude_.clear();
145 <<
"Deactivating boundary, removed old patch selection"
156 bool old(cellZones_);
159 if (!cellZones_ && cellZoneInclude_.size())
161 cellZoneInclude_.clear();
164 <<
"Deactivating cellZones, removed old zone selection"
177 patchInclude_ =
wordRes(patterns);
179 if (!boundary_ && patchInclude_.size())
181 patchInclude_.clear();
184 <<
"Ignoring patch selection, boundary is disabled"
195 patchInclude_ =
wordRes(std::move(patterns));
197 if (!boundary_ && patchInclude_.size())
199 patchInclude_.clear();
202 <<
"Ignoring patch selection, boundary is disabled"
213 patchExclude_ =
wordRes(patterns);
222 patchExclude_ =
wordRes(std::move(patterns));
231 faceZoneInclude_ =
wordRes(patterns);
240 faceZoneInclude_ =
wordRes(std::move(patterns));
249 cellZoneInclude_ =
wordRes(patterns);
251 if (!cellZones_ && cellZoneInclude_.size())
253 cellZoneInclude_.clear();
256 <<
"Ignoring cellZone selection, cellZones are disabled"
267 cellZoneInclude_ =
wordRes(std::move(patterns));
269 if (!cellZones_ && cellZoneInclude_.size())
271 cellZoneInclude_.clear();
274 <<
"Ignoring cellZone selection, cellZones are disabled"
287 if (!cellZoneInclude_.empty())
289 os.writeKeyword(
"include");
299 if (!patchInclude_.empty())
301 os.writeKeyword(
"include");
304 if (!patchExclude_.empty())
306 os.writeKeyword(
"exclude");
316 if (!faceZoneInclude_.empty())
318 os.writeKeyword(
"include");
const wordRes & patchExclude() const noexcept
bool useInternalMesh() const noexcept
const wordRes & faceZoneSelection() const noexcept
Ostream & endl(Ostream &os)
bool useFaceZones() const noexcept
bool lazy() const noexcept
A wordRe is a Foam::word, but can contain a regular expression for matching words or strings.
bool useCellZones() const noexcept
static const char * name(const bool b) noexcept
OBJstream os(runTime.globalPath()/outputName)
const wordRes & patchSelection() const noexcept
static Ostream & printPatterns(Ostream &os, const wordRes &list)
const wordRes & cellZoneSelection() const noexcept
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
A List of wordRe with additional matching capabilities.
@ END_LIST
End list [isseparator].
void print(Ostream &os) const
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
@ BEGIN_LIST
Begin list [isseparator].
#define WarningInFunction
bool useBoundaryMesh() const noexcept