Go to the documentation of this file.
44 const Map<dictionary>& table
51 if (iter().getOrDefault<label>(
"PorosityId", 0) != 0)
56 iter().getOrDefault<word>
76 bool duplicates =
false;
78 for (
const word& item : lst)
81 auto iter = hashed.
find(item);
96 Info <<
nl <<
"WARNING: " << context <<
" with identical names:";
101 Info <<
" " << iter.key();
111 void Foam::ccm::reader::writeInterfaces
131 ioObj.note() =
"as yet unsupported interfaces (baffles)";
133 Info<<
"Writing " << ioObj.name() <<
" to " << ioObj.objectPath() <<
endl;
136 ioObj.writeHeader(os);
138 os << bafInterfaces_;
144 void Foam::ccm::reader::writeMeshLabelList
147 const word& propertyName,
168 ioObj.note() =
"persistent data for STARCD <-> OPENFOAM translation";
169 Info<<
"Writing " << ioObj.name() <<
" to " << ioObj.objectPath() <<
endl;
190 cellTable_.writeDict(registry);
191 boundaryRegion_.writeDict(registry);
192 writeInterfaces(registry);
Defines the attributes of an object for which implicit objectRegistry management is supported,...
A class for handling words, derived from Foam::string.
static word meshSubDir
Return the mesh sub-directory name (usually "polyMesh")
bool insert(const Key &key, const T &obj)
Copy insert a new entry, not overwriting existing entries.
A HashTable to objects of type <T> with a label key.
Ostream & endl(Ostream &os)
Add newline and flush stream.
Registry of regIOobjects.
void writeAux(const objectRegistry ®istry) const
Write cellTable, boundaryRegion and interface information.
static void warnDuplicates(const word &context, const wordList &lst)
Warn about repeated name.
messageStream Info
Information stream (uses stdout - output is on the master only)
word name(const complex &c)
Return string representation of complex.
const cellModel * lookup(const word &modelName)
Deprecated(2017-11) equivalent to cellModel::ptr static method.
Internal bits for wrapping libccmio - do not use directly.
The IOstreamOption is a simple container for options an IOstream can normally have.
streamFormat
Data format (ascii | binary)
iterator find(const Key &key)
Find and return an iterator set at the hashed entry.
Output to file stream, using an OSstream.
forAllConstIters(mixture.phases(), phase)