Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-subgrid
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
agnumpde
dune-subgrid
Commits
fbdddc5e
Commit
fbdddc5e
authored
10 years ago
by
akbib
Committed by
akbib@FU-BERLIN.DE
10 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Add method subentities and deprecate the template method 'count'
[[Imported from SVN: r428]]
parent
0aad2d4b
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
dune/subgrid/subgrid/subgridentity.hh
+8
-1
8 additions, 1 deletion
dune/subgrid/subgrid/subgridentity.hh
with
8 additions
and
1 deletion
dune/subgrid/subgrid/subgridentity.hh
+
8
−
1
View file @
fbdddc5e
...
@@ -211,7 +211,7 @@ class SubGridEntity<0, dim, GridImp> :
...
@@ -211,7 +211,7 @@ class SubGridEntity<0, dim, GridImp> :
//! Return the number of subEntities of codimension cc.
//! Return the number of subEntities of codimension cc.
template
<
int
cc
>
template
<
int
cc
>
int
count
()
const
int
DUNE_DEPRECATED_MSG
(
"Use subEntities(unsigned int) instead!"
)
count
()
const
{
{
return
hostEntity_
->
template
count
<
cc
>();
return
hostEntity_
->
template
count
<
cc
>();
}
}
...
@@ -227,6 +227,13 @@ class SubGridEntity<0, dim, GridImp> :
...
@@ -227,6 +227,13 @@ class SubGridEntity<0, dim, GridImp> :
return
SubGridEntityPointer
<
cc
,
GridImp
>
(
subGrid_
,
hostEntity_
->
template
subEntity
<
cc
>(
i
));
return
SubGridEntityPointer
<
cc
,
GridImp
>
(
subGrid_
,
hostEntity_
->
template
subEntity
<
cc
>(
i
));
}
}
/**
* \brief Number of subentities with codimension codim
*/
unsigned
int
subEntities
(
unsigned
int
codim
)
const
{
return
hostEntity_
->
subEntities
(
codim
);
}
//! First level intersection
//! First level intersection
SubGridLevelIntersectionIterator
<
GridImp
>
ilevelbegin
()
const
SubGridLevelIntersectionIterator
<
GridImp
>
ilevelbegin
()
const
...
...
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