ENH: hostCollated: revert to collated naming if running on single proc
This commit is contained in:
parent
4a9124d1e0
commit
e90948839b
@ -573,11 +573,16 @@ Foam::word Foam::fileOperations::collatedFileOperation::processorsDir
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
procDir +=
|
|
||||||
+ "_"
|
// Add range if not all processors
|
||||||
+ Foam::name(minProc)
|
if (maxProc-minProc+1 != nProcs_)
|
||||||
+ "-"
|
{
|
||||||
+ Foam::name(maxProc);
|
procDir +=
|
||||||
|
+ "_"
|
||||||
|
+ Foam::name(minProc)
|
||||||
|
+ "-"
|
||||||
|
+ Foam::name(maxProc);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user