mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: provide extended fileOperation::detectProcessorPath()
- returns collated grouping as an output parameter
This commit is contained in:
@ -1,3 +1,3 @@
|
||||
Test-fileOperation1.C
|
||||
Test-fileOperation1.cxx
|
||||
|
||||
EXE = $(FOAM_USER_APPBIN)/Test-fileOperation1
|
||||
|
||||
@ -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())
|
||||
{
|
||||
Reference in New Issue
Block a user