11 IOobjectList objs(mesh,
timeDirs.last().name());
15 const IOobject& obj = *fieldIter();
16 const word& fieldName = obj.name();
17 const word& fieldType = obj.headerClassName();
19 if (fieldName.size() > 2 && fieldName(fieldName.size()-2, 2) ==
"_0")
23 else if (volFieldTypes.found(fieldType))
45 const word&
cloudName = cloudDirs[cloudI];
51 HashTable<HashTable<word>>::iterator cloudIter =
61 bool hasPositions =
false;
64 const IOobject obj = *fieldIter();
65 const word& fieldName = obj.name();
66 const word& fieldType = obj.headerClassName();
68 if (fieldName ==
"positions")
72 else if (cloudFieldTypes.found(fieldType))
75 cloudIter().insert(fieldName, fieldType);
80 if (!hasPositions || cloudIter().empty())
96 const word& fieldName = fieldIter.key();
98 if (!objs.found(fieldName))
#define forAll(list, i)
Loop across all elements in list.
#define forAllIter(Container, container, iter)
Iterate across all elements in the container object of type.
#define forAllConstIter(Container, container, iter)
Iterate across all elements in the container object of type.
HashTable< HashTable< word > > cloudFields
HashTable< word > volumeFields
static instantList timeDirs
List< fileName > fileNameList
A List of fileNames.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Ostream & endl(Ostream &os)
Add newline and flush stream.
word name(const bool)
Return a word representation of a bool.
fileNameList readDir(const fileName &, const fileType=fileType::file, const bool filterVariants=true, const bool followLink=true)
Read a directory and return the entries as a string list.
const word cloudName(propsDict.lookup("cloudName"))