Commit e4faadd2 authored by Pierre Kraemer's avatar Pierre Kraemer
Browse files

fonction generique degree(d) + applyFunctor dans les Traversors

parent 333cfee2
......@@ -53,7 +53,7 @@ public:
virtual std::string mapTypeName() const;
virtual unsigned int dimension();
virtual unsigned int dimension() const;
virtual void clear(bool removeAttrib);
......
......@@ -43,7 +43,7 @@ inline std::string Map1::mapTypeName() const
return "Map1" ;
}
inline unsigned int Map1::dimension()
inline unsigned int Map1::dimension() const
{
return 1 ;
}
......
......@@ -66,7 +66,7 @@ public:
virtual std::string mapTypeName() const;
virtual unsigned int dimension();
virtual unsigned int dimension() const;
virtual void clear(bool removeAttrib);
......@@ -134,7 +134,7 @@ public:
//! Delete the face of d
/*! @param d a dart of the face
* @param withBoudary create or extend boundary face instead of fixed points (default true)
* @param withBoudary create or extend boundary face instead of fixed points (default true)
*/
virtual void deleteFace(Dart d, bool withBoundary = true) ;
......
......@@ -42,7 +42,7 @@ inline std::string Map2::mapTypeName() const
return "Map2" ;
}
inline unsigned int Map2::dimension()
inline unsigned int Map2::dimension() const
{
return 2 ;
}
......
......@@ -74,7 +74,7 @@ public:
virtual std::string mapTypeName() const;
virtual unsigned int dimension();
virtual unsigned int dimension() const;
virtual void clear(bool removeAttrib);
......
......@@ -40,7 +40,7 @@ inline std::string Map3::mapTypeName() const
return "Map3";
}
inline unsigned int Map3::dimension()
inline unsigned int Map3::dimension() const
{
return 3;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment