Go to the documentation of this file.
38 Foam::fileFormats::edgeMeshFormat::edgeMeshFormat
73 <<
"Cannot read file " << filename
77 const fileName fName(typeFilePath<featureEdgeMesh>(io));
84 ok = io.readHeader(is);
88 ok =
read(is, this->storedPoints(), this->storedEdges());
127 <<
"bad output stream " <<
os.name()
131 os <<
"\n// points:" <<
nl << pointLst <<
nl
132 <<
"\n// edges:" <<
nl << edgeLst <<
nl;
169 <<
"Cannot open file for writing " << filename
179 <<
"Cannot write header"
Defines the attributes of an object for which implicit objectRegistry management is supported,...
A class for handling file names.
Input from file stream, using an ISstream.
bool typeHeaderOk(const bool checkType=true, const bool search=true, const bool verbose=true)
bool read(const char *buf, int32_t &val)
bool good() const noexcept
bool readHeader(Istream &is)
Generic templated field type.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
static std::string dateTime()
The IOstreamOption is a simple container for options an IOstream can normally have.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
OBJstream os(runTime.globalPath()/outputName)
static autoPtr< Time > New()
errorManipArg< error, int > exit(error &err, const int errNo=1)
Output to file stream, using an OSstream.
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tdf1, const word &name, const dimensionSet &dimensions)
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
#define FatalErrorInFunction
const string & note() const noexcept
static Ostream & writeDivider(Ostream &os)
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
void write(vtk::formatter &fmt, const Type &val, const label n=1)
bool writeHeader(Ostream &os) const
#define FatalIOErrorInFunction(ios)
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Mesh data needed to do the Finite Area discretisation.