Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
openfoam
Commits
fb863717
Commit
fb863717
authored
Apr 12, 2010
by
mattijs
Browse files
ENH: Test ListOps on DynamicList.
parent
9bf63117
Changes
1
Hide whitespace changes
Inline
Side-by-side
applications/test/DynamicList/DynamicListTest.C
View file @
fb863717
...
...
@@ -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
<<
"
\n
End
\n
"
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment