43 pointEdgesPtr_(nullptr)
53 pointEdgesPtr_(nullptr)
63 if (
name.has_ext(
"gz"))
95 auto* mfuncPtr = writefileExtensionMemberFunctionTable(fileType);
103 *writefileExtensionMemberFunctionTablePtr_
107 mfuncPtr(
name,
mesh, streamOpt, options);
113 const fileName&
name,
114 const edgeMesh&
mesh,
115 IOstreamOption streamOpt,
146 em.pointEdgesPtr_.reset(
nullptr);
A simple container for options an IOstream can normally have.
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)....
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
void size(const label n)
Older name for setAddressableSize.
A bounding box defined in terms of min/max extrema points.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Mesh data needed to do the Finite Area discretisation.
edgeMesh()
Default construct.
edgeMesh(const faMesh &mesh)
Construct finite-area edge mesh faMesh reference.
const edgeList & edges() const noexcept
Return edges.
bool read(const fileName &name, const word &fileType)
Read from file. Chooses reader based on explicit extension.
void transfer(edgeMesh &mesh)
Transfer the contents of the argument and annul the argument.
virtual void writeStats(Ostream &) const
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).
A class for handling file names.
A class for handling words, derived from Foam::string.
#define FatalErrorInLookup(lookupTag, lookupName, lookupTable)
Report an error message using Foam::FatalError.
OBJstream os(runTime.globalPath()/outputName)
#define DebugInFunction
Report an information message using Foam::Info.
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh > > &tf1, const word &name, const dimensionSet &dimensions, const bool initCopy=false)
Global function forwards to reuseTmpDimensionedField::New.
bool read(const char *buf, int32_t &val)
Same as readInt32.
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces).
Ostream & endl(Ostream &os)
Add newline and flush stream.
Ostream & indent(Ostream &os)
Indent stream.
Istream & operator>>(Istream &, directionInfo &)
error FatalError
Error stream (stdout output on all processes), with additional 'FOAM FATAL ERROR' header text and sta...
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for expressions::valueTypeCode::INVALID.
errorManipArg< error, int > exit(error &err, const int errNo=1)
constexpr char nl
The newline '\n' character (0x0a).