ENH: provide extended fileOperation::detectProcessorPath()

- returns collated grouping as an output parameter
This commit is contained in:
Mark Olesen
2025-08-28 18:26:19 +02:00
parent bd57627955
commit 4c13fd8658
8 changed files with 87 additions and 69 deletions

View File

@ -1,3 +1,3 @@
Test-fileOperation1.C
Test-fileOperation1.cxx
EXE = $(FOAM_USER_APPBIN)/Test-fileOperation1

View File

@ -27,7 +27,7 @@ Application
Test-fileOperation1
Description
Test string parsing and other bits for fileOperation
Test string parsing and other bits for fileOperation
\*---------------------------------------------------------------------------*/
@ -42,7 +42,8 @@ Description
using namespace Foam;
word toString(const fileOperation::procRangeType& group)
template<class IntType>
word toString(const IntRange<IntType>& group)
{
if (group.empty())
{