34bool Foam::faMesh::hasSystemFiles(
const polyMesh& pMesh)
42 bool looksValid =
true;
63 pMesh.time().system(),
85bool Foam::faMesh::hasFiles(
const polyMesh& pMesh)
93 bool looksValid = hasSystemFiles(pMesh);
106 {
"faBoundary",
"faBoundaryMesh"},
107 {
"faceLabels",
"labelList"}
111 const word& dataFile = expect.first();
112 const word& dataClass = expect.second();
122 pMesh.time().findInstance(subDir, dataFile),
148 if (faMesh::hasFiles(pMesh))
IOobject(const IOobject &)=default
Copy construct.
static void broadcast(Type &value, const label comm=UPstream::worldComm)
static autoPtr< Time > New()
Construct (dummy) Time - no functionObjects or libraries.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
static autoPtr< faMesh > TryNew(const polyMesh &pMesh)
Read construction from polyMesh if all files are available.
static word meshSubDir
The mesh sub-directory name (usually "faMesh")
Mesh consisting of general polyhedral cells.
const fileOperation & fileHandler()
Get current file handler.
Pair< word > wordPair
A pair of words.