/usr/include/dune/grid/albertagrid/capabilities.hh is in libdune-grid-dev 2.4.1-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 | // -*- tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
// vi: set et ts=4 sw=2 sts=2:
#ifndef DUNE_ALBERTA_CAPABILITIES_HH
#define DUNE_ALBERTA_CAPABILITIES_HH
#include <dune/grid/common/capabilities.hh>
#include <dune/geometry/genericgeometry/topologytypes.hh>
#if HAVE_ALBERTA
namespace Dune
{
// External Forward Declarations
// -----------------------------
template< int dim, int dimworld >
class AlbertaGrid;
// Capabilities
// ------------
namespace Capabilities
{
/** \brief AlbertaGrid has only one geometry type for codim 0 entities
\ingroup AlbertaGrid
*/
template< int dim, int dimworld >
struct hasSingleGeometryType< AlbertaGrid< dim, dimworld > >
{
static const bool v = true;
static const unsigned int topologyId = GenericGeometry :: SimplexTopology< dim > :: type :: id ;
};
/** \brief AlbertaGrid has entities for all codimensions
* \ingroup AlbertaGrid
*/
template< int dim, int dimworld, int codim >
struct hasEntity< AlbertaGrid< dim, dimworld >, codim >
{
static const bool v = true;
};
/** \brief AlbertaGrid is not levelwise conforming
* (since it uses bisection)
* \ingroup AlbertaGrid
*/
template< int dim, int dimworld >
struct isLevelwiseConforming< AlbertaGrid< dim, dimworld > >
{
static const bool v = false;
};
/** \brief AlbertaGrid is leafwise conforming
* \ingroup AlbertaGrid
*/
template< int dim, int dimworld >
struct isLeafwiseConforming< AlbertaGrid< dim, dimworld > >
{
static const bool v = true;
};
/** \brief AlbertaGrid has backup and restore facilities
* \ingroup AlbertaGrid
*/
template< int dim, int dimworld >
struct hasBackupRestoreFacilities< AlbertaGrid< dim, dimworld > >
{
static const bool v = true;
};
// non-standard capabilities
// -------------------------
template< class Grid >
struct hasHierarchicIndexSet;
template< int dim, int dimworld >
struct hasHierarchicIndexSet< AlbertaGrid< dim, dimworld > >
{
static const bool v = true;
};
}
}
#endif // #if HAVE_ALBERTA
#endif // #ifndef DUNE_ALBERTA_CAPABILITIES_HH
|