28 #include "readFields.H" 44 for (
const word& fieldName : objectNames)
48 for (
const instant& inst : timeDirs)
59 ).typeHeaderOk<volScalarField>(
false,
false);
69 goodFields.insert(fieldName);
73 objectNames = goodFields.sortedToc();
75 return objectNames.size();
List< instant > instantList
List of instants.
bool returnReduceAnd(const bool value, const label comm=UPstream::worldComm)
Perform logical (and) MPI Allreduce on a copy. Uses UPstream::reduceAnd.
label checkData(const fvMesh &mesh, const instantList &timeDirs, wordList &objectNames)
Check if fields are good to use (available at all times)
HashSet< word, Hash< word > > wordHashSet
A HashSet of words, uses string hasher.
List< word > wordList
List of word.