Go to the documentation of this file.
37 const word& meshInstance,
67 forAll(patchEntries, patchi)
69 patchDictionary.
add(patchEntries[patchi]);
Defines the attributes of an object for which implicit objectRegistry management is supported,...
A class for handling words, derived from Foam::string.
A class for handling file names.
Read and store dictionary entries for boundary patches.
A polyBoundaryMesh is a polyPatch list with additional search methods and registered IO.
bool found(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
Search for an entry (const access) with the given keyword.
bool typeHeaderOk(const bool checkType=true, const bool search=true, const bool verbose=true)
Read header (uses typeFilePath to find file) and check its info.
void preservePatchTypes(const objectRegistry &obr, const word &meshInstance, const fileName &meshDir, const wordList &patchNames, PtrList< dictionary > &patchDicts, const word &defaultFacesName, word &defaultFacesType)
Preserve patch types.
Ostream & endl(Ostream &os)
Add newline and flush stream.
#define forAll(list, i)
Loop across all elements in list.
PtrList< dictionary > patchDicts
Registry of regIOobjects.
messageStream Info
Information stream (stdout output on master, null elsewhere)
const dictionary & subDict(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
Find and return a sub-dictionary.
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers....
wordList patchNames(nPatches)
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
autoPtr< dictionary > clone() const
Construct and return clone.
entry * add(entry *entryPtr, bool mergeEntry=false)
Add a new entry.
bool readIfPresent(const word &keyword, T &val, enum keyType::option matchOpt=keyType::REGEX) const