34 Foam::fileFormats::TRIsurfaceFormatCore::TRIsurfaceFormatCore
56 bool Foam::fileFormats::TRIsurfaceFormatCore::read
68 <<
"Cannot read file " << filename
82 lookup.
insert(
"zoneI", zoneI);
104 if (!lineStream)
break;
133 word rawName(lineStream);
134 word name(
"zone" + rawName(1, rawName.size()-1));
137 if (fnd != lookup.
end())
148 zoneI = dynSizes.
size();
149 lookup.
insert(name, zoneI);
165 dynSizes[nZone] = dynSizes[zoneI];
#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.
A class for handling file names.
errorManipArg< error, int > exit(error &err, const int errNo=1)
static iteratorEnd end()
iteratorEnd set to beyond the end of any HashTable
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
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 Key &, const T &newElmt)
Insert a new hashedEntry.
iterator find(const Key &)
Find and return an iterator set at the hashedEntry.
stressControl lookup("compactNormalStress") >> compactNormalStress
A 1D vector of objects of type <T> that resizes itself as necessary to accept the new objects...
A class for handling words, derived from string.
void setCapacity(const label)
Alter the size of the underlying storage.
DynamicList< T, SizeInc, SizeMult, SizeDiv > & append(const T &)
Append an element at the end of the list.
bool readScalar(const char *buf, doubleScalar &s)
Read whole of buf as a scalar. Return true if successful.
Istream and Ostream manipulators taking arguments.
word name(const complex &)
Return a string representation of a complex.
Input from memory buffer stream.
A class representing the concept of 0 used to avoid unnecessary manipulations for objects that are kn...
void transfer(List< T > &)
Transfer the contents of the argument List into this list.