28 #include "readFields.H" 35 const objectRegistry& obr,
45 for (
const word& fieldName : objectNames)
52 for (
const instant& inst : timeDirs)
64 ).typeHeaderOk<volScalarField>(
false,
false);
74 goodFields.insert(fieldName);
78 objectNames = goodFields.sortedToc();
80 return objectNames.size();
bool returnReduceAnd(const bool value, const int communicator=UPstream::worldComm)
Perform logical (and) MPI Allreduce on a copy. Uses UPstream::reduceAnd.
HashSet< word, Hash< word > > wordHashSet
A HashSet of words, uses string hasher.
List< word > wordList
List of word.
List< instant > instantList
List of instants.
label checkData(const objectRegistry &obr, const instantList &timeDirs, wordList &objectNames, const fileName &local=fileName::null)
Check if fields are good to use (available at all times)