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);
const Time & time() const
Return time.
fileName objectPath() const
Return complete path + object name.
#define forAll(list, i)
Loop across all elements in list.
static iteratorEnd end()
iteratorEnd set to beyond the end of any HashTable
static word meshSubDir
Return the mesh sub-directory name (usually "polyMesh")
void size(const label)
Override size to be inconsistent with allocated storage.
void writeDict(const objectRegistry &, const word &name="cellTable", const fileName &instance="constant") const
Write constant/cellTable for later reuse.
void writeAux(const objectRegistry &) const
Write auxiliary information.
Ostream & endl(Ostream &os)
Add newline and flush stream.
bool writeHeader(Ostream &) const
Write header.
static void warnDuplicates(const word &context, const wordList &)
Warn about repeated names.
bool insert(const Key &, const T &newElmt)
Insert a new hashedEntry.
iterator find(const Key &)
Find and return an iterator set at the hashedEntry.
string & note()
Return non-constant access to the optional note.
labelList origCellId_
Lookup original Cell number for a given cell.
A class for handling words, derived from string.
streamFormat
Enumeration for the format of data in the stream.
const word & constant() const
Return constant name.
forAllConstIter(PtrDictionary< phaseModel >, mixture.phases(), phase)
virtual bool writeObject(IOstream::streamFormat, IOstream::versionNumber, IOstream::compressionType) const
Write using given format, version and compression.
cellTable cellTable_
Cell table persistent data saved as a dictionary.
static Stream & writeEndDivider(Stream &os)
Write the standard end file divider.
labelList cellTableId_
Cell table id for each cell.
static const versionNumber currentVersion
Current version number.
Registry of regIOobjects.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
const word & name() const
Return name.