40 bool duplicates =
false;
46 if (iter != hashed.
end())
53 hashed.
insert(list[listI], 1);
60 Info<<
nl <<
"WARNING: " << context <<
" with identical names:";
65 Info<<
" " << iter.key();
75 void Foam::meshReader::writeInterfaces(
const objectRegistry& registry)
const 92 ioObj.
note() =
"as yet unsupported interfaces (baffles)";
104 void Foam::meshReader::writeMeshLabelList
107 const word& propertyName,
129 ioObj.
note() =
"persistent data for star-cd <-> foam translation";
150 writeInterfaces(registry);
static word meshSubDir
Return the mesh sub-directory name (usually "polyMesh")
cellTable cellTable_
Cell table persistent data saved as a dictionary.
virtual bool writeObject(IOstream::streamFormat, IOstream::versionNumber, IOstream::compressionType) const
Write using given format, version and compression.
bool insert(const Key &, const T &newElmt)
Insert a new hashedEntry.
A class for handling words, derived from string.
void size(const label)
Override size to be inconsistent with allocated storage.
const word & constant() const
Return constant name.
void writeAux(const objectRegistry &) const
Write auxiliary information.
string & note()
Return non-constant access to the optional note.
forAllConstIter(PtrDictionary< phaseModel >, mixture.phases(), phase)
Ostream & endl(Ostream &os)
Add newline and flush stream.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
streamFormat
Enumeration for the format of data in the stream.
fileName objectPath() const
Return complete path + object name.
static Stream & writeEndDivider(Stream &os)
Write the standard end file divider.
labelList origCellId_
Lookup original Cell number for a given cell.
const word & name() const
Return name.
static void warnDuplicates(const word &context, const wordList &)
Warn about repeated names.
Registry of regIOobjects.
void writeDict(const objectRegistry &, const word &name="cellTable", const fileName &instance="constant") const
Write constant/cellTable for later reuse.
static iteratorEnd end()
iteratorEnd set to beyond the end of any HashTable
const Time & time() const
Return time.
bool writeHeader(Ostream &) const
Write header.
iterator find(const Key &)
Find and return an iterator set at the hashedEntry.
static const versionNumber currentVersion
Current version number.
labelList cellTableId_
Cell table id for each cell.