ENH: hostCollated: revert to collated naming if running on single proc

This commit is contained in:
mattijs 2023-11-09 16:00:53 +00:00
parent 4a9124d1e0
commit e90948839b

View File

@ -573,11 +573,16 @@ Foam::word Foam::fileOperations::collatedFileOperation::processorsDir
break;
}
}
procDir +=
+ "_"
+ Foam::name(minProc)
+ "-"
+ Foam::name(maxProc);
// Add range if not all processors
if (maxProc-minProc+1 != nProcs_)
{
procDir +=
+ "_"
+ Foam::name(minProc)
+ "-"
+ Foam::name(maxProc);
}
}
}