Go to the documentation of this file.
38 Foam::fileFormats::edgeMeshFormat::edgeMeshFormat
73 <<
"Cannot read file " << filename
77 const fileName fName(typeFilePath<featureEdgeMesh>(io));
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;
134 IOobject::writeDivider(
os);
161 io.
note() =
"written " + clock::dateTime();
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)
Read header (uses typeFilePath to find file) and check its info.
bool good() const noexcept
True if next operation might succeed.
bool readHeader(Istream &is)
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
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)
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)
Global function forwards to reuseTmpDimensionedField::New.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
const string & note() const noexcept
Return the optional note.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
void write(vtk::formatter &fmt, const Type &val, const label n=1)
Component-wise write of a value (N times)
bool writeHeader(Ostream &os) const
Write header with current type()
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Mesh data needed to do the Finite Area discretisation.