foamListTimes: Added support for the collated fileHandler

Resolves bug-report https://bugs.openfoam.org/view.php?id=3541
This commit is contained in:
Henry Weller
2020-09-03 12:08:18 +01:00
parent 37e2922cd5
commit a7f185eec2

View File

@ -87,11 +87,8 @@ int main(int argc, char *argv[])
if (args.optionFound("processor"))
{
// Determine the processor count directly
while (isDir(args.path()/(word("processor") + name(nProcs))))
{
++nProcs;
}
// Determine the processor count
const label nProcs = fileHandler().nProcs(args.path());
if (!nProcs)
{