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
Tobias Leibner
dune-common
Commits
ddce18e3
Commit
ddce18e3
authored
20 years ago
by
Oliver Sander
Browse files
Options
Downloads
Patches
Plain Diff
fixed a few bugs in the dimension enums
[[Imported from SVN: r1659]]
parent
25415575
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/common/entity.hh
+7
-11
7 additions, 11 deletions
grid/common/entity.hh
with
7 additions
and
11 deletions
grid/common/entity.hh
+
7
−
11
View file @
ddce18e3
...
...
@@ -114,13 +114,10 @@ namespace Dune
//! Know your own codimension
enum
{
codimension
=
0
};
//! Know
your own
dimension
//! Know
the grid's
dimension
enum
{
dimension
=
dim
};
/** \brief Know dimension of the entity
*
* \bug Shouldn't this be dim instead of 0?
*/
enum
{
mydimension
=
0
};
/** \brief Know dimension of the entity */
enum
{
mydimension
=
dim
};
//! Know the world dimension
enum
{
dimensionworld
=
dimworld
};
//! Type used for coordinates in grid module
...
...
@@ -277,12 +274,11 @@ namespace Dune
typedef
typename
GridImp
::
template
codim
<
0
>
::
EntityPointer
EntityPointer
;
//! Know your own codimension
enum
{
codimension
=
dim
};
//! Know
your own
dimension
//! Know
the grid's
dimension
enum
{
dimension
=
dim
};
/** \brief Know dimension of the entity
* \bug Shouldn't this be 0 instead of dim?*/
enum
{
mydimension
=
dim
};
//! Know your own dimension of world
/** \brief Know dimension of the entity */
enum
{
mydimension
=
0
};
//! Know the world dimension
enum
{
dimensionworld
=
dimworld
};
//! Type used for coordinates in grid module
typedef
ct
ctype
;
...
...
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