Go to the documentation of this file.
33 if( !IOobject::readObject() )
36 "Error in reading from file "<<IOobject::path()<<
endl;
62 uint32 pointStart = numPoints();
64 if(!triSurface::append(triangles))
70 uint32 pointEnd = numPoints();
71 subSurfaces_.emplace_back(name, start, end, pointStart, pointEnd);
83 "Error in reading subSurfaces from stream "<< is.
name()<<
endl;
bool appendSurface(const word &name, const realx3x3Vector &vertices)
#define fatalExit
Fatal exit.
multiTriSurface(const objectFile &obj, repository *owner)
Construct from objectFile and owner repository.
bool write(iOstream &os, const IOPattern &iop) const override
bool write(iOstream &os, const IOPattern &iop) const override
iOstream & endl(iOstream &os)
Add newline and flush stream.
bool findKeywordAndVal(const word &keyword, T &val, bool checkEndStatement=true)
find a pair of keyword and data terminated by ; keyword data; return false if keyword does not exist ...
virtual bool check(const char *operation) const
Check IOstream status for given operation.
Interface class for any input stream
#define fatalErrorInFunction
Report a fatal error and function name and exit the application.
subSurfaceList subSurfaces_
bool read(iIstream &is, const IOPattern &iop) override
bool thisProcWriteData() const
virtual const word & name() const
Return the name of the stream.
bool read(iIstream &is, const IOPattern &iop) override
Interface class for any output stream.
iOstream & writeWordEntry(const word &key, const T &value)
Write a keyword/value entry.