Skip to content
Snippets Groups Projects
Commit ddce18e3 authored by Oliver Sander's avatar Oliver Sander
Browse files

fixed a few bugs in the dimension enums

[[Imported from SVN: r1659]]
parent 25415575
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment