Go to the documentation of this file.
68 const label tableId =
readLabel(groups.str(1));
71 if (!tableName.empty())
73 lookup.insert(tableId, tableName);
90 const word caseName =
os.name().nameLessExt();
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
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.
bool good() const noexcept
True if next operation might succeed.
static std::string dateTime()
bool match(const std::string &text) const
True if the regex matches the entire text.
Wrapper around C++11 regular expressions with some additional prefix-handling. The prefix-handling is...
Lookup type of boundary radiation properties.
OBJstream os(runTime.globalPath()/outputName)
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)
Older name for setAddressableSize.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...