From 42811b16a1317df97a19efc3e6af1bd3aa940207 Mon Sep 17 00:00:00 2001 From: mattijs <mattijs> Date: Tue, 30 Apr 2013 10:13:48 +0100 Subject: [PATCH] COMP: targetVolumeToCell: unused variable --- .../sets/cellSources/targetVolumeToCell/targetVolumeToCell.C | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/meshTools/sets/cellSources/targetVolumeToCell/targetVolumeToCell.C b/src/meshTools/sets/cellSources/targetVolumeToCell/targetVolumeToCell.C index dde6c52c4e4..2f29a302162 100644 --- a/src/meshTools/sets/cellSources/targetVolumeToCell/targetVolumeToCell.C +++ b/src/meshTools/sets/cellSources/targetVolumeToCell/targetVolumeToCell.C @@ -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) -- GitLab