mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: Test ListOps on DynamicList.
This commit is contained in:
@ -27,6 +27,7 @@ Description
|
||||
|
||||
#include "DynamicList.H"
|
||||
#include "IOstreams.H"
|
||||
#include "ListOps.H"
|
||||
|
||||
using namespace Foam;
|
||||
|
||||
@ -185,6 +186,9 @@ int main(int argc, char *argv[])
|
||||
dlE3 = dlE2; // assign identical
|
||||
Info<< "<dlE3>" << dlE3 << "</dlE3>" << endl;
|
||||
|
||||
DynamicList<label> dlE4(reorder(identity(dlE3.size()), dlE3));
|
||||
Info<< "<dlE4>" << dlE4 << "</dlE4>" << endl;
|
||||
|
||||
|
||||
Info<< "\nEnd\n";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user