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"
A class for handling file names.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
label findIndex(const word &name) const
The index corresponding to entry with 'Label' of given name, or -1 if not found.
void rename(const dictionary &)
Rename regions.
Map< word > boundaryTypes() const
Return the extracted Map of (id => type)
A class for handling words, derived from Foam::string.
boundaryRegion() noexcept=default
Default construct.
Map< word > names() const
Return the extracted Map of (id => name)
A List of wordRe with additional matching capabilities.
label append(const dictionary &dict)
Add to the end, return index.
label push_back(const dictionary &dict)
Add to the end, return index.
word boundaryType(const word &name) const
Return BoundaryType corresponding to patch 'name', "patch" if not found.
void operator=(const boundaryRegion &)
Copy assignment.
~boundaryRegion()=default
Destructor.
void readDict(const objectRegistry &obr, const word &name="boundaryRegion", const fileName &instance="constant")
Read constant/boundaryRegion.
label maxIndex() const
The max table index, -1 if empty.
Registry of regIOobjects.
The boundaryRegion persistent data saved as a Map<dictionary>.
word name(const label id) const
The 'Label' name corresponding to id, or boundaryRegion_ID if not otherwise defined.
void writeDict(const objectRegistry &obr, const word &name="boundaryRegion", const fileName &instance="constant") const
Write constant/boundaryRegion for later reuse.
A HashTable to objects of type <T> with a label key.