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,6 +573,10 @@ Foam::word Foam::fileOperations::collatedFileOperation::processorsDir
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Add range if not all processors
|
||||||
|
if (maxProc-minProc+1 != nProcs_)
|
||||||
|
{
|
||||||
procDir +=
|
procDir +=
|
||||||
+ "_"
|
+ "_"
|
||||||
+ Foam::name(minProc)
|
+ Foam::name(minProc)
|
||||||
@ -580,6 +584,7 @@ Foam::word Foam::fileOperations::collatedFileOperation::processorsDir
|
|||||||
+ Foam::name(maxProc);
|
+ Foam::name(maxProc);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
return procDir;
|
return procDir;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user