61 const label tableId = atoi(groups[0].c_str());
64 string::stripInvalid<word>(groups[1]);
66 if (!groups[1].empty())
68 lookup.
insert(tableId, groups[1]);
88 <<
"! " << pointLst.
size() <<
" points, " << nFaces <<
" faces" <<
nl
89 <<
"! case " << caseName <<
nl
90 <<
"! ------------------------------" <<
nl;
94 os <<
"ctable " << zoneI + 1 <<
" shell" <<
" ,,,,,," <<
nl
95 <<
"ctname " << zoneI + 1 <<
" "
96 << zoneLst[zoneI].name() <<
nl;
99 os <<
"! ------------------------------" <<
nl
100 <<
"*set icvo mxv - 1" <<
nl
101 <<
"vread " << caseName <<
".vrt icvo,,,coded" <<
nl
102 <<
"cread " << caseName <<
".cel icvo,,,add,coded" <<
nl
#define forAll(list, i)
Loop across all elements in list.
bool insert(const Key &, const T &newElmt)
Insert a new hashedEntry.
virtual const fileName & name() const
Return the name of the stream.
bool good() const
Return true if next operation might succeed.
ISstream & getLine(string &, const bool continuation=true)
Read line into a string.
void size(const label)
Override size to be inconsistent with allocated storage.
A HashTable to objects of type <T> with a label key.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
virtual void flush()=0
Flush stream.
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
static string dateTime()
Return the current wall-clock date/time as a string.
word name() const
Return file name (part beyond last /)
fileName lessExt() const
Return file name without extension (part before last .)
Wrapper around POSIX extended regular expressions.
bool match(const std::string &) const
Return true if it matches the entire string.
A class for handling words, derived from string.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.