Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-istl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Core Modules
dune-istl
Commits
a4b78fec
Commit
a4b78fec
authored
13 years ago
by
Martin Nolte
Browse files
Options
Downloads
Patches
Plain Diff
avoid some set-but-unused variables
[[Imported from SVN: r1538]]
parent
ca3a5dfb
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dune/istl/paamg/hierarchy.hh
+1
-3
1 addition, 3 deletions
dune/istl/paamg/hierarchy.hh
with
1 addition
and
3 deletions
dune/istl/paamg/hierarchy.hh
+
1
−
3
View file @
a4b78fec
...
...
@@ -675,7 +675,6 @@ namespace Dune
BIGINT
allnonzeros
=
finenonzeros
;
int
procs
=
infoLevel
->
communicator
().
size
();
int
level
=
0
;
int
rank
=
0
;
...
...
@@ -743,7 +742,6 @@ namespace Dune
}
rank
=
info
->
communicator
().
rank
();
procs
=
info
->
communicator
().
size
();
if
(
dunknowns
<=
criterion
.
coarsenTarget
())
// No further coarsening needed
break
;
...
...
@@ -778,9 +776,9 @@ namespace Dune
{
// calculate size of local matrix in the distributed direction
int
start
,
end
,
overlapStart
,
overlapEnd
;
int
procs
=
info
->
communicator
().
rank
();
int
n
=
UNKNOWNS
/
procs
;
// number of unknowns per process
int
bigger
=
UNKNOWNS
%
procs
;
// number of process with n+1 unknows
int
procs
=
info
->
communicator
().
rank
();
// Compute owner region
if
(
rank
<
bigger
)
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment