Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-common
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
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
Timo Koch
dune-common
Commits
ed1733de
Commit
ed1733de
authored
19 years ago
by
Oliver Sander
Browse files
Options
Downloads
Patches
Plain Diff
removed int by unsigned int to avoid compiler warning
[[Imported from SVN: r2661]]
parent
eb841cf3
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
io/file/amiramesh/amirameshwriter.cc
+2
-2
2 additions, 2 deletions
io/file/amiramesh/amirameshwriter.cc
with
2 additions
and
2 deletions
io/file/amiramesh/amirameshwriter.cc
+
2
−
2
View file @
ed1733de
...
...
@@ -33,8 +33,8 @@ void Dune::AmiraMeshWriter<GridType>::writeGrid(const GridType& grid,
int
noOfNodes
=
leafIndexSet
.
size
(
dim
,
vertex
);
/** \todo This sucks. I want a size method that gives me the number of
all element types */
int
noOfElem
=
0
;
//grid.size(level, 0);
for
(
int
i
=
0
;
i
<
leafIndexSet
.
geomtypes
().
size
();
i
++
)
int
noOfElem
=
0
;
for
(
unsigned
int
i
=
0
;
i
<
leafIndexSet
.
geomtypes
().
size
();
i
++
)
noOfElem
+=
leafIndexSet
.
size
(
0
,
leafIndexSet
.
geomtypes
()[
i
]);
// create amiramesh object
...
...
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