Skip to content
Snippets Groups Projects
Commit e9094883 authored by mattijs's avatar mattijs
Browse files

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

parent 4a9124d1
Branches
Tags
No related merge requests found
...@@ -573,11 +573,16 @@ Foam::word Foam::fileOperations::collatedFileOperation::processorsDir ...@@ -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);
}
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment