55#ifndef Foam_boundaryRegion_H
56#define Foam_boundaryRegion_H
77 public Map<dictionary>
95 const
fileName& instance =
"constant"
137 const
word&
name =
"boundaryRegion",
138 const
fileName& instance =
"constant"
145 const
word&
name =
"boundaryRegion",
146 const
fileName& instance =
"constant"
friend Ostream & operator(Ostream &, const HashTable< dictionary, label, Hash > &tbl)
constexpr Map() noexcept=default
word boundaryType(const word &name) const
Return BoundaryType corresponding to patch 'name', "patch" if not found.
label findIndex(const word &name) const
The index corresponding to entry with 'Label' of given name, or -1 if not found.
label maxIndex() const
The max table index, -1 if empty.
boundaryRegion() noexcept=default
Default construct.
void readDict(const objectRegistry &obr, const word &name="boundaryRegion", const fileName &instance="constant")
Read constant/boundaryRegion.
word name(const label id) const
The 'Label' name corresponding to id, or boundaryRegion_ID if not otherwise defined.
Map< word > boundaryTypes() const
Return the extracted Map of (id => type).
Map< word > names() const
Return the extracted Map of (id => name).
void writeDict(const objectRegistry &obr, const word &name="boundaryRegion", const fileName &instance="constant") const
Write constant/boundaryRegion for later reuse.
label push_back(const dictionary &dict)
Add to the end, return index.
label append(const dictionary &dict)
Add to the end, return index.
boundaryRegion(const boundaryRegion &)=delete
No copy construct.
void rename(const dictionary &)
Rename regions.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
A class for handling file names.
Registry of regIOobjects.
A List of wordRe with additional matching capabilities.
A class for handling words, derived from Foam::string.