Go to the documentation of this file.
64 return read(unzipName, unzipName.
ext());
94 Info<<
"edgeMesh::write"
95 "(const fileName&, const edgeMesh&) : "
102 writefileExtensionMemberFunctionTable::iterator mfIter =
103 writefileExtensionMemberFunctionTablePtr_->find(ext);
105 if (mfIter == writefileExtensionMemberFunctionTablePtr_->end())
108 <<
"Unknown file extension " << ext <<
nl <<
nl
109 <<
"Valid types are :" <<
endl
110 << writefileExtensionMemberFunctionTablePtr_->sortedToc()
123 os <<
indent <<
"edges : " << edges().size() <<
nl;
135 os.
check(
"Ostream& operator<<(Ostream&, const edgeMesh&)");
148 is.
check(
"Istream& operator>>(Istream&, edgeMesh&)");
A class for handling words, derived from string.
autoPtr< BasicCompressibleTurbulenceModel > New(const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const typename BasicCompressibleTurbulenceModel::transportModel &transport, const word &propertiesName)
A class for handling file names.
pointField points_
Vertices of the edges.
bool read(const char *, int32_t &)
edgeMesh()
Construct null.
autoPtr< labelListList > pointEdgesPtr_
From point to edges.
Ostream & endl(Ostream &os)
Add newline and flush stream.
bool read(const fileName &, const word &ext)
Read from file. Chooses reader based on explicit extension.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
virtual void writeStats(Ostream &) const
Ostream & operator<<(Ostream &, const edgeMesh &)
virtual bool check(const char *operation) const
Check IOstream status for given operation.
word ext() const
Return file name extension (part after last .)
Ostream & indent(Ostream &os)
Indent stream.
static void write(const fileName &, const edgeMesh &)
Write to file.
errorManipArg< error, int > exit(error &err, const int errNo=1)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
Istream & operator>>(Istream &, edgeMesh &)
A bounding box defined in terms of the points at its extremities.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
edgeList edges_
The edges defining the boundary.
Points connected by edges.
word name(const complex &)
Return a string representation of a complex.