ENH: Test ListOps on DynamicList.

This commit is contained in:
mattijs
2010-04-12 17:18:46 +01:00
parent 9bf63117ae
commit fb86371714

View File

@ -27,6 +27,7 @@ Description
#include "DynamicList.H" #include "DynamicList.H"
#include "IOstreams.H" #include "IOstreams.H"
#include "ListOps.H"
using namespace Foam; using namespace Foam;
@ -185,6 +186,9 @@ int main(int argc, char *argv[])
dlE3 = dlE2; // assign identical dlE3 = dlE2; // assign identical
Info<< "<dlE3>" << dlE3 << "</dlE3>" << endl; Info<< "<dlE3>" << dlE3 << "</dlE3>" << endl;
DynamicList<label> dlE4(reorder(identity(dlE3.size()), dlE3));
Info<< "<dlE4>" << dlE4 << "</dlE4>" << endl;
Info<< "\nEnd\n"; Info<< "\nEnd\n";