Go to the documentation of this file.
68 const label tableId =
readLabel(groups.str(1));
71 if (!tableName.empty())
73 lookup.insert(tableId, tableName);
93 <<
"! " << pts.
size() <<
" points, " << nFaces <<
" faces" <<
nl
94 <<
"! case " << caseName <<
nl
95 <<
"! ------------------------------" <<
nl;
99 os <<
"ctable " << zoneI + 1 <<
" shell" <<
" ,,,,,," <<
nl
100 <<
"ctname " << zoneI + 1 <<
" "
101 << zoneLst[zoneI].name() <<
nl;
104 os <<
"! ------------------------------" <<
nl
105 <<
"*set icvo mxv - 1" <<
nl
106 <<
"vread " << caseName <<
".vrt icvo,,,coded" <<
nl
107 <<
"cread " << caseName <<
".cel icvo,,,add,coded" <<
nl
static std::string nameLessExt(const std::string &str)
Return basename, without extension.
A class for handling words, derived from Foam::string.
ISstream & getLine(std::string &str, char delim='\n')
Raw, low-level getline (until delimiter) into a string.
Generic input stream using a standard (STL) stream.
A HashTable to objects of type <T> with a label key.
static word validate(const std::string &s, const bool prefix=false)
Construct validated word (no invalid characters).
#define forAll(list, i)
Loop across all elements in list.
static std::string dateTime()
bool match(const std::string &text) const
True if the regex matches the entire text.
const cellModel * lookup(const word &modelName)
Deprecated(2017-11) equivalent to cellModel::ptr static method.
virtual const fileName & name() const
Return the name of the stream.
Wrapper around C++11 regular expressions.
Lookup type of boundary radiation properties.
virtual void flush()=0
Flush stream.
std::smatch results_type
Type for matches.
label readLabel(const char *buf)
Parse entire buffer as a label, skipping leading/trailing whitespace.
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
void size(const label n) noexcept
Override size to be inconsistent with allocated storage.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
bool good() const
Return true if next operation might succeed.