From f5fcc3aec3e73b4f09bf0c5410aa6a30feb4d72e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Klinkovsk=C3=BD?= <klinkjak@fjfi.cvut.cz> Date: Mon, 30 Oct 2017 23:24:05 +0100 Subject: [PATCH] Cleaned up MeshStorageLayer --- src/TNL/Meshes/MeshDetails/Mesh_impl.h | 1 - .../MeshDetails/layers/MeshStorageLayer.h | 32 ------------------- 2 files changed, 33 deletions(-) diff --git a/src/TNL/Meshes/MeshDetails/Mesh_impl.h b/src/TNL/Meshes/MeshDetails/Mesh_impl.h index ee5876691b..5e0e9cfbfd 100644 --- a/src/TNL/Meshes/MeshDetails/Mesh_impl.h +++ b/src/TNL/Meshes/MeshDetails/Mesh_impl.h @@ -316,4 +316,3 @@ std::ostream& operator<<( std::ostream& str, const Mesh< MeshConfig, Device >& m } // namespace Meshes } // namespace TNL - diff --git a/src/TNL/Meshes/MeshDetails/layers/MeshStorageLayer.h b/src/TNL/Meshes/MeshDetails/layers/MeshStorageLayer.h index fbf4d0fc46..bead5dcfd8 100644 --- a/src/TNL/Meshes/MeshDetails/layers/MeshStorageLayer.h +++ b/src/TNL/Meshes/MeshDetails/layers/MeshStorageLayer.h @@ -400,38 +400,6 @@ public: } - GlobalIndexType getVerticesCount() const - { - return this->vertices.getSize(); - } - - void setVertex( const GlobalIndexType vertexIndex, - const VertexType& vertex ) const - { - this->vertices.setElement( vertexIndex, vertex ); - } - - VertexType& getVertex( const GlobalIndexType vertexIndex ) - { - return this->vertices[ vertexIndex ]; - } - - const VertexType& getVertex( const GlobalIndexType vertexIndex ) const - { - return this->vertices[ vertexIndex ]; - } - - void setVertex( const GlobalIndexType vertexIndex, - const PointType& point ) - { - this->vertices[ vertexIndex ].setPoint( point ); - } - - /**** - * This is only for the completeness and compatibility - * with higher dimensions entities storage layers. - */ - void setNumberOfEntities( DimensionTag, const GlobalIndexType& entitiesCount ) { this->vertices.setSize( entitiesCount ); -- GitLab