41 bool Foam::IOmapDistributePolyMesh::readIOcontents()
61 warnNoRereading<IOmapDistributePolyMesh>();
76 warnNoRereading<IOmapDistributePolyMesh>();
78 if (!readIOcontents())
88 mapDistributePolyMesh&& map
94 warnNoRereading<IOmapDistributePolyMesh>();
132 const mapDistributePolyMesh& map
135 IOmapDistributePolyMeshRef
writer 163 is >> contentRef_.ref();
170 os << contentRef_.cref();
virtual bool readData(Istream &is)
The readData method for regIOobject read operation.
vtk::lineWriter writer(edgeCentres, edgeList::null(), fileName(aMesh.time().globalPath()/"finiteArea-edgesCentres"))
void operator=(const mapDistributePolyMesh &map)
Copy assignment.
virtual bool readData(Istream &is)
The readData method for regIOobject read operation.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
bool headerOk()
Read and check header info. Does not check the headerClassName.
Class containing mesh-to-mesh mapping information after a mesh distribution where we send parts of me...
IOmapDistributePolyMeshRef()=delete
No default construct.
void write(const word &fieldName, const UList< Type > &field)
Write primitive field of CellData (Poly or Line) or PointData values.
bool isReadOptional() const noexcept
True if (LAZY_READ) bits are set [same as READ_IF_PRESENT].
virtual bool writeData(Ostream &os) const
The writeData method for regIOobject write operation.
void transfer(mapDistributePolyMesh &map)
Transfer the contents of the argument and annul the argument.
void close()
Close Istream.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
OBJstream os(runTime.globalPath()/outputName)
defineTypeNameAndDebug(combustionModel, 0)
bool isReadRequired() const noexcept
True if (MUST_READ | READ_MODIFIED) bits are set.
virtual bool writeData(Ostream &os) const
The writeData method for regIOobject write operation.
bool good() const noexcept
True if next operation might succeed.
regIOobject is an abstract class derived from IOobject to handle automatic object registration with t...
IOobject io("surfaceFilmProperties", mesh.time().constant(), mesh, IOobject::READ_IF_PRESENT, IOobject::NO_WRITE, IOobject::NO_REGISTER)
Defines the attributes of an object for which implicit objectRegistry management is supported...
static void writeContents(const IOobject &io, const mapDistributePolyMesh &map)
Write contents. The IOobject is never registered.
Istream & readStream(const word &, const bool readOnProc=true)
Return Istream and check object type against that given.
Do not request registration (bool: false)
IOmapDistributePolyMesh(const IOobject &io)
Construct from IOobject.