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
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
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-common
Commits
ce41370e
Commit
ce41370e
authored
20 years ago
by
Robert Klöfkorn
Browse files
Options
Downloads
Patches
Plain Diff
minor changes
[[Imported from SVN: r1260]]
parent
f741ce63
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
grid/common/leafindexset.hh
+1
-11
1 addition, 11 deletions
grid/common/leafindexset.hh
with
1 addition
and
11 deletions
grid/common/leafindexset.hh
+
1
−
11
View file @
ce41370e
...
...
@@ -269,7 +269,7 @@ namespace Dune {
}
//! return how much extra memory is needed for restriction
int
tmpSize
()
const
{
return
2
*
nextFreeIndex_
;
}
int
tmpSize
()
const
{
return
nextFreeIndex_
;
}
//! return size of grid entities per level and codim
int
size
(
int
level
,
int
codim
)
const
...
...
@@ -285,15 +285,6 @@ namespace Dune {
int
index
(
EntityType
&
en
,
int
num
)
const
{
return
IndexWrapper
<
EntityType
,
EntityType
::
codimension
,
codim
>::
index
(
en
,
leafIndex_
,
num
);
/*
// this index set works only for codim = 0 at the moment
assert(codim == 0);
// check if we have index for given entity
assert(leafIndex_[en.global_index()] >= 0);
return leafIndex_[en.global_index()];
*/
}
//! return size of grid entities per level and codim
...
...
@@ -360,7 +351,6 @@ namespace Dune {
void
insert
(
int
num
)
{
assert
(
num
<
leafIndex_
.
size
()
);
if
(
leafIndex_
[
num
]
<
0
)
{
leafIndex_
[
num
]
=
nextFreeIndex_
;
...
...
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