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
42811b16
Commit
42811b16
authored
Apr 30, 2013
by
mattijs
Browse files
COMP: targetVolumeToCell: unused variable
parent
66931719
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/meshTools/sets/cellSources/targetVolumeToCell/targetVolumeToCell.C
View file @
42811b16
...
...
@@ -133,7 +133,7 @@ void Foam::targetVolumeToCell::combine(topoSet& set, const bool add) const
scalar
maxComp
=
-
GREAT
;
label
maxCells
=
0
;
scalar
maxVol
=
0
;
//
scalar maxVol = 0;
scalar
minComp
=
GREAT
;
{
const
boundBox
&
bb
=
mesh_
.
bounds
();
...
...
@@ -158,7 +158,7 @@ void Foam::targetVolumeToCell::combine(topoSet& set, const bool add) const
PackedBoolList
maxSelected
(
mesh_
.
nCells
());
maxCells
=
selectCells
(
maxComp
,
maskSet
,
maxSelected
);
maxVol
=
volumeOfSet
(
maxSelected
);
//
maxVol = volumeOfSet(maxSelected);
// Check that maxPoint indeed selects all cells
if
(
maxCells
!=
nTotCells
)
...
...
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