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())
const word cloudName(propsDict.get< word >("cloud"))
label size() const noexcept
The number of entries 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
List of word.
Ostream & flush(Ostream &os)
Flush stream.
Foam::word regionName(args.getOrDefault< word >("region", Foam::polyMesh::defaultRegion))
messageStream Info
Information stream (stdout output on master, null elsewhere)
IOobject io("surfaceFilmProperties", mesh.time().constant(), mesh, IOobject::READ_IF_PRESENT, IOobject::NO_WRITE, IOobject::NO_REGISTER)
List< fileName > fileNameList
List of fileName.
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< wordList > regionCloudNames(meshes.size())
forAllConstIters(mixture.phases(), phase)