diff --git a/grid/albertagrid.hh b/grid/albertagrid.hh index 9060f0b1b2e6c3901e6890a70ab9d1b483f3ff11..d40fa016666de439404ddcbaeed2818214bee5e5 100644 --- a/grid/albertagrid.hh +++ b/grid/albertagrid.hh @@ -378,6 +378,9 @@ namespace Dune AlbertaGridEntity(const GridImp &grid, int level); + //! return partition type of this entity ( see grid.hh ) + PartitionType partitionType() const; + //! geometry of this entity const Geometry & geometry () const; diff --git a/grid/albertagrid/albertagrid.cc b/grid/albertagrid/albertagrid.cc index 724f6f4901b99d460017bf6e0a2cf544c3d6a792..e35aa83e22de9dd7bbeb5c95b577c2b7488a11be 100644 --- a/grid/albertagrid/albertagrid.cc +++ b/grid/albertagrid/albertagrid.cc @@ -760,6 +760,13 @@ namespace Dune builtgeometry_ = false; } + template<int codim, int dim, class GridImp> + inline PartitionType AlbertaGridEntity <codim,dim,GridImp>:: + partitionType () const + { + return InteriorEntity; + } + template<int codim, int dim, class GridImp> inline AlbertaGridEntity<codim,dim,GridImp>:: AlbertaGridEntity(const GridImp &grid, int level,