Go to the documentation of this file.
43 bool duplicates =
false;
45 for (
const word& w : list)
48 auto iter = hashed.
find(w);
63 Info<<
nl <<
"WARNING: " << context <<
" with identical names:";
68 Info<<
" " << iter.key();
78 void Foam::meshReader::writeInterfaces(
const objectRegistry& registry)
const
95 ioObj.note() =
"as yet unsupported interfaces (baffles)";
97 Info<<
"Writing " << ioObj.name() <<
" to " << ioObj.objectPath() <<
endl;
100 ioObj.writeHeader(
os);
103 ioObj.writeEndDivider(
os);
107 void Foam::meshReader::writeMeshLabelList
109 const objectRegistry& registry,
110 const word& propertyName,
112 IOstreamOption streamOpt
121 registry.time().constant(),
132 ioObj.note() =
"persistent data for STARCD <-> OPENFOAM translation";
133 Info<<
"Writing " << ioObj.name() <<
" to " << ioObj.objectPath() <<
endl;
139 ioObj.writeObject(streamOpt,
true);
147 cellTable_.writeDict(registry);
148 writeInterfaces(registry);
List< label > labelList
A List of labels.
Defines the attributes of an object for which implicit objectRegistry management is supported,...
static void warnDuplicates(const word &context, const wordList &)
A class for handling words, derived from Foam::string.
bool insert(const Key &key, const T &obj)
Ostream & endl(Ostream &os)
Registry of regIOobjects.
The IOstreamOption is a simple container for options an IOstream can normally have.
OBJstream os(runTime.globalPath()/outputName)
iterator find(const Key &key)
Output to file stream, using an OSstream.
@ ASCII
"ascii" (normal default)
void writeAux(const objectRegistry &) const
forAllConstIters(mixture.phases(), phase)
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
const word & constant() const
const Time & time() const noexcept