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
9b94e6cb
Commit
9b94e6cb
authored
19 years ago
by
Peter Bastian
Browse files
Options
Downloads
Patches
Plain Diff
returns now hypercube as element type
missing return statement [[Imported from SVN: r2097]]
parent
a4f6693b
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
grid/yaspgrid.hh
+3
-15
3 additions, 15 deletions
grid/yaspgrid.hh
with
3 additions
and
15 deletions
grid/yaspgrid.hh
+
3
−
15
View file @
9b94e6cb
...
...
@@ -166,13 +166,7 @@ namespace Dune {
//! return the element type identifier
GeometryType
type
()
const
{
switch
(
mydim
)
{
case
1
:
return
line
;
case
2
:
return
quadrilateral
;
case
3
:
return
hexahedron
;
default
:
return
unknown
;
}
return
hypercube
;
}
//! return the number of corners of this element. Corners are numbered 0...n-1
...
...
@@ -319,13 +313,7 @@ namespace Dune {
//! return the element type identifier
GeometryType
type
()
const
{
switch
(
mydim
)
{
case
1
:
return
line
;
case
2
:
return
quadrilateral
;
case
3
:
return
hexahedron
;
default
:
return
unknown
;
}
return
hypercube
;
}
//! return the number of corners of this element. Corners are numbered 0...n-1
...
...
@@ -784,7 +772,7 @@ namespace Dune {
//! consecutive, codim-wise, level-wise index
int
compressedIndex
()
const
{
_it
.
superindex
();
return
_it
.
superindex
();
}
//! subentity persistent index
...
...
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