34 bool Foam::faMesh::hasSystemFiles(
const polyMesh& pMesh)
42 bool looksValid =
true;
63 pMesh.time().system(),
86 bool Foam::faMesh::hasFiles(
const polyMesh& pMesh)
94 bool looksValid = hasSystemFiles(pMesh);
103 const word instance = pMesh.time().findInstance
115 {
"faceLabels",
"labelList"},
116 {
"faBoundary",
"faBoundaryMesh"}
120 const word& dataFile = expect.first();
121 const word& dataClass = expect.second();
158 if (faMesh::hasFiles(pMesh))
refPtr< fileOperation > fileHandler(std::nullptr_t)
Delete current file handler - forwards to fileOperation::handler()
Ignore writing from objectRegistry::writeObject()
static void broadcast(Type &value, const label comm=UPstream::worldComm)
Broadcast content (contiguous or non-contiguous) to all processes in communicator.
bool found(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
Find an entry (const access) with the given keyword.
static void reduceAnd(bool &value, const label communicator=worldComm)
Logical (and) reduction (MPI_AllReduce)
Reading is optional [identical to LAZY_READ].
Pair< word > wordPair
A pair of words.
static word meshSubDir
The mesh sub-directory name (usually "faMesh")
IOobject(const IOobject &)=default
Copy construct.
static autoPtr< faMesh > TryNew(const polyMesh &pMesh)
Read construction from polyMesh if all files are available.
static autoPtr< T > New(Args &&... args)
Construct autoPtr with forwarding arguments.
Do not request registration (bool: false)