22 if (timeDirs.size() && doLagrangian)
24 Info<<
"Search for lagrangian ... " <<
flush;
33 const fileName cloudPrefix
38 for (
const instant& inst : timeDirs)
54 for (fileName& cloudDir : cloudDirs)
56 const word
cloudName(std::move(cloudDir));
58 IOobjectList cloudObjs
70 if (cloudObjs.erase(
"coordinates"))
74 if (cloudObjs.erase(
"positions"))
82 auto& fieldsPerCloud = cloudFields(
cloudName);
86 const IOobject*
io = *fieldIter;
100 if (Pstream::parRun())
104 Pstream::mapCombineReduce
107 HashTableOps::plusEqOp<word>()
128 if (allRegionClouds.empty())
135 allRegionClouds.writeList(
Info) <<
endl;
forAll(regionCloudNames, regioni)
Ostream & endl(Ostream &os)
Add newline and flush stream.
List< HashTable< HashTable< word > > > regionCloudFields(meshes.size())
Foam::word regionName(Foam::polyMesh::defaultRegion)
IOobject io("surfaceFilmProperties", mesh.time().constant(), mesh, IOobject::READ_IF_PRESENT, IOobject::NO_WRITE, false)
const word cloudName(propsDict.get< word >("cloud"))
label size() const noexcept
The number of elements in the list.
Foam::PtrList< Foam::fvMesh > meshes(regionNames.size())
HashSet< word, Hash< word > > wordHashSet
A HashSet of words, uses string hasher.
const wordList allCloudNames(allRegionClouds.sortedToc())
List< word > wordList
A List of words.
Ostream & flush(Ostream &os)
Flush stream.
messageStream Info
Information stream (stdout output on master, null elsewhere)
fileNameList readDir(const fileName &directory, const fileName::Type type=fileName::Type::FILE, const bool filtergz=true, const bool followLink=true)
Read a directory and return the entries as a fileName List.
List< fileName > fileNameList
A List of fileNames.
List< wordList > regionCloudNames(meshes.size())
forAllConstIters(mixture.phases(), phase)