41bool Foam::IOmapDistributePolyMesh::readIOcontents()
78 if (!readIOcontents())
88 mapDistributePolyMesh&& map
163 is >> contentRef_.ref();
170 os << contentRef_.cref();
vtk::lineWriter writer(edgeCentres, edgeList::null(), fileName(aMesh.time().globalPath()/(vtkBaseFileName+"-edgesCentres")))
A IOmapDistributePolyMesh wrapper for using referenced external data.
IOmapDistributePolyMeshRef()=delete
No default construct.
virtual bool writeData(Ostream &os) const
The writeData method for regIOobject write operation.
virtual bool readData(Istream &is)
The readData method for regIOobject read operation.
IOmapDistributePolyMesh is derived from mapDistributePolyMesh and IOobject to give the mapDistributeP...
static void writeContents(const IOobject &io, const mapDistributePolyMesh &map)
Write contents. The IOobject is never registered.
virtual bool writeData(Ostream &os) const
The writeData method for regIOobject write operation.
IOmapDistributePolyMesh(const IOobject &io)
Construct from IOobject.
virtual bool readData(Istream &is)
The readData method for regIOobject read operation.
@ NO_REGISTER
Do not request registration (bool: false).
bool isReadOptional() const noexcept
True if (LAZY_READ) bits are set [same as READ_IF_PRESENT].
bool isReadRequired() const noexcept
True if (MUST_READ | READ_MODIFIED) bits are set.
Defines the attributes of an object for which implicit objectRegistry management is supported,...
void warnNoRereading() const
Helper: warn that type does not support re-reading.
bool good() const noexcept
True if next operation might succeed.
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,...
Class containing mesh-to-mesh mapping information after a mesh distribution where we send parts of me...
void operator=(const mapDistributePolyMesh &map)
Copy assignment.
mapDistributePolyMesh()
Default construct - uses worldComm.
void transfer(mapDistributePolyMesh &map)
Transfer the contents of the argument and annul the argument.
regIOobject is an abstract class derived from IOobject to handle automatic object registration with t...
void close()
Close Istream.
regIOobject(const IOobject &io, const bool isTimeObject=false)
Construct from IOobject. The optional flag adds special handling if the object is the top-level regIO...
bool headerOk()
Read and check header info. Does not check the headerClassName.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
OBJstream os(runTime.globalPath()/outputName)
const word GlobalIOList< Tuple2< scalar, vector > >::typeName("scalarVectorTable")