Skip to content
Snippets Groups Projects
Commit 495677d6 authored by Peter Bastian's avatar Peter Bastian
Browse files

added the three new size methods

[[Imported from SVN: r1956]]
parent a1c3e2b3
Branches
Tags
No related merge requests found
......@@ -26,6 +26,7 @@ namespace Dune
/** \brief The type used by to store coordinates */
typedef double OneDCType;
// forward declarations
template<int codim, int dim, class GridImp> class OneDGridEntity;
template<int codim, class GridImp> class OneDGridEntityPointer;
......@@ -252,6 +253,32 @@ namespace Dune {
return vertices[level].size();
}
//! number of leaf entities per codim in this process
int size (int codim) const
{
DUNE_THROW(NotImplemented, "not implemented");
return 0;
}
//! number of entities per level, codim and geometry type in this process
int size (int level, int codim, GeometryType type) const
{
DUNE_THROW(NotImplemented, "not implemented");
return 0;
}
//! number of leaf entities per codim and geometry type in this process
int size (int codim, GeometryType type) const
{
DUNE_THROW(NotImplemented, "not implemented");
return 0;
}
/** \brief Mark entity for refinement
*
* \param refCount if >0 mark for refinement, if <0 mark for coarsening
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment