34 Foam::fileFormats::TRIsurfaceFormatCore::TRIsurfaceFormatCore
56 bool Foam::fileFormats::TRIsurfaceFormatCore::read
69 "fileFormats::TRIsurfaceFormatCore::read(const fileName&)" 71 <<
"Cannot read file " << filename
85 lookup.
insert(
"zoneI", zoneI);
107 if (!lineStream)
break;
136 word rawName(lineStream);
137 word name(
"zone" + rawName(1, rawName.size()-1));
140 if (fnd != lookup.
end())
151 zoneI = dynSizes.
size();
152 lookup.
insert(name, zoneI);
168 dynSizes[nZone] = dynSizes[zoneI];
Input from memory buffer stream.
void setCapacity(const label)
Alter the size of the underlying storage.
void transfer(List< T > &)
Transfer the contents of the argument List into this list.
word name(const complex &)
Return a string representation of a complex.
bool insert(const Key &, const T &newElmt)
Insert a new hashedEntry.
A class for handling words, derived from string.
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 size(const label)
Override size to be inconsistent with allocated storage.
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)
stressControl lookup("compactNormalStress") >> compactNormalStress
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.
A class representing the concept of 0 used to avoid unnecessary manipulations for objects that are kn...
Istream and Ostream manipulators taking arguments.
#define FatalErrorIn(functionName)
Report an error message using Foam::FatalError.
void clear()
Flush all values.
A 1D vector of objects of type <T> that resizes itself as necessary to accept the new objects...
A class for handling file names.
static string getLineNoComment(IFstream &)
Read non-comment line.
bool read(const char *, int32_t &)
static iteratorEnd end()
iteratorEnd set to beyond the end of any HashTable
iterator find(const Key &)
Find and return an iterator set at the hashedEntry.
~TRIsurfaceFormatCore()
Destructor.