40 pointEdgesPtr_(nullptr)
50 pointEdgesPtr_(nullptr)
64 return read(unzipName, unzipName.
ext());
99 writefileExtensionMemberFunctionTable::iterator mfIter =
100 writefileExtensionMemberFunctionTablePtr_->find(ext);
102 if (mfIter == writefileExtensionMemberFunctionTablePtr_->end())
105 <<
"Unknown file extension " << ext <<
nl <<
nl
106 <<
"Valid types are :" <<
endl
107 << writefileExtensionMemberFunctionTablePtr_->sortedToc()
112 mfIter()(
name, mesh);
120 os <<
indent <<
"edges : " << edges().size() <<
nl;
132 os.
check(
"Ostream& operator<<(Ostream&, const edgeMesh&)");
142 em.pointEdgesPtr_.clear();
145 is.
check(
"Istream& operator>>(Istream&, edgeMesh&)");
virtual bool check(const char *operation) const
Check IOstream status for given operation.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
void size(const label)
Override size to be inconsistent with allocated storage.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
A bounding box defined in terms of the points at its extremities.
Points connected by edges.
edgeMesh()
Construct null.
bool read(const fileName &, const word &ext)
Read from file. Chooses reader based on explicit extension.
virtual void writeStats(Ostream &) const
static void write(const fileName &, const edgeMesh &)
Write to file.
A class for handling file names.
word ext() const
Return file name extension (part after last .)
A class for handling words, derived from string.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
#define InfoInFunction
Report an information message using Foam::Info.
errorManipArg< error, int > exit(error &err, const int errNo=1)
bool read(const char *, int32_t &)
Ostream & endl(Ostream &os)
Add newline and flush stream.
word name(const bool)
Return a word representation of a bool.
Istream & operator>>(Istream &, pistonPointEdgeData &)
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tdf1, const word &name, const dimensionSet &dimensions)
Ostream & operator<<(Ostream &os, const fvConstraints &constraints)
Ostream & indent(Ostream &os)
Indent stream.