mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: hostCollated: naming without ranges if running on single rank
This commit is contained in:
@ -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);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user