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

Cleaned up MeshStorageLayer

parent caef48b3
No related branches found
No related tags found
No related merge requests found
...@@ -316,4 +316,3 @@ std::ostream& operator<<( std::ostream& str, const Mesh< MeshConfig, Device >& m ...@@ -316,4 +316,3 @@ std::ostream& operator<<( std::ostream& str, const Mesh< MeshConfig, Device >& m
} // namespace Meshes } // namespace Meshes
} // namespace TNL } // namespace TNL
...@@ -400,38 +400,6 @@ public: ...@@ -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 ) void setNumberOfEntities( DimensionTag, const GlobalIndexType& entitiesCount )
{ {
this->vertices.setSize( entitiesCount ); this->vertices.setSize( entitiesCount );
......
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