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
c1cb8b6d
Commit
c1cb8b6d
authored
Oct 13, 2008
by
mattijs
Browse files
setSize mis-usage
parent
028b6880
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/dynamicMesh/polyTopoChange/polyTopoChange/refinementHistory.C
View file @
c1cb8b6d
...
...
@@ -410,8 +410,14 @@ Foam::refinementHistory::refinementHistory
}
else
{
splitCells_
.
setSize
(
nCells
,
splitCell8
());
visibleCells_
=
identity
(
nCells
);
visibleCells_
.
setSize
(
nCells
);
splitCells_
.
setSize
(
nCells
);
for
(
label
cellI
=
0
;
cellI
<
nCells
;
cellI
++
)
{
visibleCells_
[
cellI
]
=
cellI
;
splitCells_
.
append
(
splitCell8
());
}
}
// Check indices.
...
...
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