Go to the documentation of this file.
68 <<
"Cannot read file " << filename
82 lookup.insert(
"zoneI", zoneI);
86 string line = this->getLineNoComment(is);
104 if (!lineStream)
break;
133 word rawName(lineStream);
134 word name(
"zone" + rawName(1, rawName.size()-1));
148 zoneI = dynSizes.size();
165 dynSizes[nZone] = dynSizes[zoneI];
174 points_.transfer(dynPoints);
175 zoneIds_.transfer(dynZones);
176 sizes_.transfer(dynSizes);
A class for handling words, derived from string.
A class for handling file names.
#define forAll(list, i)
Loop across all elements in list.
A 1D vector of objects of type <T> that resizes itself as necessary to accept the new objects.
bool read(const char *, int32_t &)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
void setCapacity(const label)
Alter the size of the underlying storage.
Istream and Ostream manipulators taking arguments.
Input from memory buffer stream.
DynamicList< T, SizeInc, SizeMult, SizeDiv > & append(const T &)
Append an element at the end of the list.
errorManipArg< error, int > exit(error &err, const int errNo=1)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
bool readScalar(const char *buf, doubleScalar &s)
Read whole of buf as a scalar. Return true if succesful.
bool good() const
Return true if next operation might succeed.
word name(const complex &)
Return a string representation of a complex.
stressControl lookup("compactNormalStress") >> compactNormalStress
A class representing the concept of 0 used to avoid unnecessary manipulations for objects that are kn...