59 if (ctnameRE.
match(line, groups))
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]);
87 os <<
"! STAR-CD file written " << clock::dateTime().c_str() <<
nl 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.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
virtual void flush()=0
Flush stream.
bool match(const std::string &) const
Return true if it matches the entire string.
Wrapper around POSIX extended regular expressions.
void size(const label)
Override size to be inconsistent with allocated storage.
bool good() const
Return true if next operation might succeed.
bool insert(const label &, const T &newElmt)
Insert a new hashedEntry.
stressControl lookup("compactNormalStress") >> compactNormalStress
A class for handling words, derived from string.
virtual const fileName & name() const
Return the name of the stream.
word name() const
Return file name (part beyond last /)
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
An Ostream is an abstract base class for all output systems (streams, files, token lists...
ISstream & getLine(string &, const bool continuation=true)
Read line into a string.
fileName lessExt() const
Return file name without extension (part before last .)
A HashTable to objects of type <T> with a label key.