Skip to content
Snippets Groups Projects
Commit 58f07626 authored by Jakub Klinkovský's avatar Jakub Klinkovský
Browse files

Fixed mesh traits so that it can be compiled with clang

parent f3f51441
No related branches found
No related tags found
No related merge requests found
......@@ -57,9 +57,6 @@ class MeshEntityTraits
public:
static_assert( 0 <= Dimension && Dimension <= MeshConfig::meshDimension, "invalid dimension" );
static constexpr bool storageEnabled = MeshConfig::entityStorage( Dimension );
static constexpr bool orientationNeeded = MeshEntityOrientationNeeded< MeshConfig, DimensionTag< Dimension > >::value;
using GlobalIndexType = typename MeshConfig::GlobalIndexType;
using LocalIndexType = typename MeshConfig::LocalIndexType;
using EntityTopology = typename MeshEntityTopology< MeshConfig, DimensionTag< Dimension > >::Topology;
......@@ -72,6 +69,8 @@ public:
using SeedIndexedSetType = Containers::IndexedSet< typename SeedType::KeyType, GlobalIndexType >;
using ReferenceOrientationArrayType = Containers::Array< ReferenceOrientationType, Devices::Host, GlobalIndexType >;
static constexpr bool storageEnabled = MeshConfig::entityStorage( Dimension );
static constexpr bool orientationNeeded = MeshEntityOrientationNeeded< MeshConfig, DimensionTag< Dimension > >::value;
static constexpr bool boundaryTagsEnabled = MeshConfig::boundaryTagsStorage( EntityTopology() );
};
......
......@@ -26,6 +26,9 @@ namespace Meshes {
template< typename MeshConfig, typename EntityTopology >
class MeshEntityOrientation;
template< typename MeshConfig, typename EntityTopology >
class MeshEntitySeed;
template< typename MeshConfig, int Dimension > class MeshEntityTraits;
template< typename MeshConfig,
typename EntityTopology,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment