Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
openfoam
Commits
6427d612
Commit
6427d612
authored
Jun 18, 2009
by
mattijs
Browse files
start with empty list instead of copy
parent
6d324c0f
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/OpenFOAM/containers/Lists/ListOps/ListOps.H
View file @
6427d612
...
...
@@ -73,7 +73,7 @@ void inplaceReorder(const UList<label>& oldToNew, ListType&);
template
<
class
Container
>
void
inplaceMapValue
(
const
UList
<
label
>&
oldToNew
,
Container
&
);
//- Recreate with mapped keys.
Remove
elements with negative key.
//- Recreate with mapped keys.
Do not map
elements with negative key.
template
<
class
Container
>
void
inplaceMapKey
(
const
UList
<
label
>&
oldToNew
,
Container
&
);
...
...
src/OpenFOAM/containers/Lists/ListOps/ListOpsTemplates.C
View file @
6427d612
...
...
@@ -147,7 +147,7 @@ void Foam::inplaceMapKey
Container
&
lst
)
{
Container
newLst
(
lst
);
Container
newLst
(
lst
.
size
()
);
for
(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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