Skip to content
Snippets Groups Projects
Commit 311efcb8 authored by Christian Engwer's avatar Christian Engwer
Browse files

More capabilities

[[Imported from SVN: r1081]]
parent 4b2fb962
No related branches found
No related tags found
No related merge requests found
......@@ -21,6 +21,7 @@
#include "../common/misc.hh"
#include "../common/matvec.hh"
#include "../common/array.hh"
#include "../common/capabilities.hh"
#include "common/grid.hh"
#ifndef __ALBERTpp__
......@@ -1370,6 +1371,22 @@ namespace Dune
/** @} end documentation group */
namespace Capabilities
{
template<int dim,int dimw>
struct hasLeafIterator< AlbertGrid<dim,dimw> >
{
static const bool v = true;
};
template<int dim, int dimw, int cdim>
struct hasEntity< AlbertGrid<dim,dimw>, AlbertGridEntity<cdim,dim,dimw> >
{
static const bool v = true;
};
}
}; // namespace Dune
......
......@@ -5,6 +5,7 @@
#include "../common/matvec.hh"
#include "../common/stack.hh"
#include "../common/capabilities.hh"
#include "common/grid.hh"
#include "sgrid/numbering.hh"
......@@ -873,6 +874,23 @@ namespace Dune {
/** @} end documentation group */
namespace Capabilities
{
template<int dim,int dimw>
struct hasLeafIterator< SGrid<dim,dimw> >
{
static const bool v = true;
};
template<int dim, int dimw, int cdim>
struct hasEntity< SGrid<dim,dimw>, SEntity<cdim,dim,dimw> >
{
static const bool v = true;
};
}
} // end namespace
#include "sgrid/sgrid.cc"
......
......@@ -5,6 +5,7 @@
#include "../common/matvec.hh"
#include "../common/capabilities.hh"
// All UG includes have to be includes via the file ugincludes.hh
// for easier parsing by undefAllMacros.pl
......@@ -306,7 +307,28 @@ namespace Dune {
}; // end Class UGGrid
namespace Capabilities
{
template<int dim,int dimw>
struct hasLeafIterator< UGGrid<dim,dimw> >
{
static const bool v = true;
};
template<int dim, int dimw, int cdim>
struct hasEntity< UGGrid<dim,dimw>, UGGridEntity<cdim,dim,dimw> >
{
static const bool v = true;
};
template<int dim,int dimw>
struct isParallel< UGGrid<dim,dimw> >
{
static const bool v = true;
};
}
} // namespace Dune
......
......@@ -1514,6 +1514,12 @@ namespace Dune {
static const bool v = true;
};
template<int dim, int dimw>
struct isParallel< YaspGrid<dim,dimw> >
{
static const bool v = true;
};
}
} // end namespace
......
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