Loading src/TNL/Meshes/Mesh.h +2 −0 Original line number Diff line number Diff line Loading @@ -113,6 +113,7 @@ class Mesh static constexpr bool entitiesAvailable(); template< int Dimension > __cuda_callable__ GlobalIndexType getEntitiesCount() const; template< int Dimension > Loading @@ -126,6 +127,7 @@ class Mesh // duplicated for compatibility with grids template< typename EntityType > __cuda_callable__ GlobalIndexType getEntitiesCount() const; template< typename EntityType > Loading src/TNL/Meshes/MeshDetails/Mesh_impl.h +2 −0 Original line number Diff line number Diff line Loading @@ -132,6 +132,7 @@ entitiesAvailable() template< typename MeshConfig, typename Device > template< int Dimension > __cuda_callable__ typename Mesh< MeshConfig, Device >::GlobalIndexType Mesh< MeshConfig, Device >:: getEntitiesCount() const Loading Loading @@ -166,6 +167,7 @@ getEntity( const GlobalIndexType& entityIndex ) const // duplicated for compatibility with grids template< typename MeshConfig, typename Device > template< typename Entity > __cuda_callable__ typename Mesh< MeshConfig, Device >::GlobalIndexType Mesh< MeshConfig, Device >:: getEntitiesCount() const Loading src/TNL/Meshes/MeshDetails/layers/MeshBoundaryTagsLayer.h +5 −0 Original line number Diff line number Diff line Loading @@ -86,6 +86,7 @@ public: boundaryTags[ entityIndex ] = isBoundary; } __cuda_callable__ bool isBoundaryEntity( DimensionTag, const GlobalIndexType& entityIndex ) const { return boundaryTags[ entityIndex ]; Loading Loading @@ -161,21 +162,25 @@ public: return true; } __cuda_callable__ GlobalIndexType getBoundaryEntitiesCount( DimensionTag ) const { return boundaryIndices.getSize(); } __cuda_callable__ GlobalIndexType getBoundaryEntityIndex( DimensionTag, const GlobalIndexType& i ) const { return boundaryIndices[ i ]; } __cuda_callable__ GlobalIndexType getInteriorEntitiesCount( DimensionTag ) const { return interiorIndices.getSize(); } __cuda_callable__ GlobalIndexType getInteriorEntityIndex( DimensionTag, const GlobalIndexType& i ) const { return interiorIndices[ i ]; Loading src/TNL/Meshes/MeshDetails/layers/MeshStorageLayer.h +4 −0 Original line number Diff line number Diff line Loading @@ -91,6 +91,7 @@ protected: } template< int Dimension > __cuda_callable__ typename EntityTraits< Dimension >::GlobalIndexType getBoundaryEntitiesCount() const { static_assert( EntityTraits< Dimension >::boundaryTagsEnabled, "You try to access boundary tags which are not configured for storage." ); Loading @@ -106,6 +107,7 @@ protected: } template< int Dimension > __cuda_callable__ typename EntityTraits< Dimension >::GlobalIndexType getInteriorEntitiesCount() const { static_assert( EntityTraits< Dimension >::boundaryTagsEnabled, "You try to access boundary tags which are not configured for storage." ); Loading Loading @@ -227,6 +229,7 @@ public: return true; } __cuda_callable__ GlobalIndexType getEntitiesCount( DimensionTag ) const { return this->entities.getSize(); Loading Loading @@ -424,6 +427,7 @@ public: return true; } __cuda_callable__ GlobalIndexType getEntitiesCount( DimensionTag ) const { return this->vertices.getSize(); Loading Loading
src/TNL/Meshes/Mesh.h +2 −0 Original line number Diff line number Diff line Loading @@ -113,6 +113,7 @@ class Mesh static constexpr bool entitiesAvailable(); template< int Dimension > __cuda_callable__ GlobalIndexType getEntitiesCount() const; template< int Dimension > Loading @@ -126,6 +127,7 @@ class Mesh // duplicated for compatibility with grids template< typename EntityType > __cuda_callable__ GlobalIndexType getEntitiesCount() const; template< typename EntityType > Loading
src/TNL/Meshes/MeshDetails/Mesh_impl.h +2 −0 Original line number Diff line number Diff line Loading @@ -132,6 +132,7 @@ entitiesAvailable() template< typename MeshConfig, typename Device > template< int Dimension > __cuda_callable__ typename Mesh< MeshConfig, Device >::GlobalIndexType Mesh< MeshConfig, Device >:: getEntitiesCount() const Loading Loading @@ -166,6 +167,7 @@ getEntity( const GlobalIndexType& entityIndex ) const // duplicated for compatibility with grids template< typename MeshConfig, typename Device > template< typename Entity > __cuda_callable__ typename Mesh< MeshConfig, Device >::GlobalIndexType Mesh< MeshConfig, Device >:: getEntitiesCount() const Loading
src/TNL/Meshes/MeshDetails/layers/MeshBoundaryTagsLayer.h +5 −0 Original line number Diff line number Diff line Loading @@ -86,6 +86,7 @@ public: boundaryTags[ entityIndex ] = isBoundary; } __cuda_callable__ bool isBoundaryEntity( DimensionTag, const GlobalIndexType& entityIndex ) const { return boundaryTags[ entityIndex ]; Loading Loading @@ -161,21 +162,25 @@ public: return true; } __cuda_callable__ GlobalIndexType getBoundaryEntitiesCount( DimensionTag ) const { return boundaryIndices.getSize(); } __cuda_callable__ GlobalIndexType getBoundaryEntityIndex( DimensionTag, const GlobalIndexType& i ) const { return boundaryIndices[ i ]; } __cuda_callable__ GlobalIndexType getInteriorEntitiesCount( DimensionTag ) const { return interiorIndices.getSize(); } __cuda_callable__ GlobalIndexType getInteriorEntityIndex( DimensionTag, const GlobalIndexType& i ) const { return interiorIndices[ i ]; Loading
src/TNL/Meshes/MeshDetails/layers/MeshStorageLayer.h +4 −0 Original line number Diff line number Diff line Loading @@ -91,6 +91,7 @@ protected: } template< int Dimension > __cuda_callable__ typename EntityTraits< Dimension >::GlobalIndexType getBoundaryEntitiesCount() const { static_assert( EntityTraits< Dimension >::boundaryTagsEnabled, "You try to access boundary tags which are not configured for storage." ); Loading @@ -106,6 +107,7 @@ protected: } template< int Dimension > __cuda_callable__ typename EntityTraits< Dimension >::GlobalIndexType getInteriorEntitiesCount() const { static_assert( EntityTraits< Dimension >::boundaryTagsEnabled, "You try to access boundary tags which are not configured for storage." ); Loading Loading @@ -227,6 +229,7 @@ public: return true; } __cuda_callable__ GlobalIndexType getEntitiesCount( DimensionTag ) const { return this->entities.getSize(); Loading Loading @@ -424,6 +427,7 @@ public: return true; } __cuda_callable__ GlobalIndexType getEntitiesCount( DimensionTag ) const { return this->vertices.getSize(); Loading