Go to the documentation of this file.
43 pointEdgesPtr_(
nullptr)
53 pointEdgesPtr_(nullptr)
67 return read(unzipName, unzipName.
ext());
97 auto* mfuncPtr = writefileExtensionMemberFunctionTable(fileType);
105 *writefileExtensionMemberFunctionTablePtr_
109 mfuncPtr(
name,
mesh, streamOpt, options);
128 os <<
indent <<
"edges : " << edges().size() <<
nl;
148 em.pointEdgesPtr_.reset(
nullptr);
word lessExt() const
Return word without extension (part before last .)
A class for handling words, derived from Foam::string.
A class for handling file names.
bool read(const char *buf, int32_t &val)
Same as readInt32.
edgeMesh()
Default construct.
bool read(const fileName &name, const word &fileType)
Read from file. Chooses reader based on explicit extension.
Istream & operator>>(Istream &, directionInfo &)
Ostream & endl(Ostream &os)
Add newline and flush stream.
word ext() const
Return file name extension (part after last .)
static void write(const fileName &name, const edgeMesh &mesh, IOstreamOption streamOpt=IOstreamOption(), const dictionary &options=dictionary::null)
Write to file (format implicit in the extension)
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
#define DebugInFunction
Report an information message using Foam::Info.
virtual void writeStats(Ostream &) const
The IOstreamOption is a simple container for options an IOstream can normally have.
virtual bool check(const char *operation) const
Check IOstream status for given operation.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
#define FatalErrorInLookup(lookupTag, lookupName, lookupTable)
Report an error message using Foam::FatalError.
OBJstream os(runTime.globalPath()/outputName)
word ext() const
Return file name extension (part after last .)
Ostream & indent(Ostream &os)
Indent stream.
errorManipArg< error, int > exit(error &err, const int errNo=1)
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tdf1, const word &name, const dimensionSet &dimensions)
Global function forwards to reuseTmpDimensionedField::New.
void write(vtk::formatter &fmt, const Type &val, const label n=1)
Component-wise write of a value (N times)
A bounding box defined in terms of min/max extrema points.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Mesh data needed to do the Finite Area discretisation.