Skip to content
Snippets Groups Projects
Commit 16896684 authored by Dmitri Naumov's avatar Dmitri Naumov
Browse files

[MeL] Make getNode and getElement arg std::size_t.

For the nodes largest platform integer is needed.
parent 00993e9b
No related branches found
No related tags found
No related merge requests found
...@@ -80,10 +80,10 @@ public: ...@@ -80,10 +80,10 @@ public:
unsigned getDimension() const { return _mesh_dimension; } unsigned getDimension() const { return _mesh_dimension; }
/// Get the node with the given index. /// Get the node with the given index.
const Node* getNode(unsigned idx) const { return _nodes[idx]; } const Node* getNode(std::size_t idx) const { return _nodes[idx]; }
/// Get the element with the given index. /// Get the element with the given index.
const Element* getElement(unsigned idx) const { return _elements[idx]; } const Element* getElement(std::size_t idx) const { return _elements[idx]; }
/// Get the minimum edge length over all elements of the mesh. /// Get the minimum edge length over all elements of the mesh.
double getMinEdgeLength() const { return _edge_length.first; } double getMinEdgeLength() const { return _edge_length.first; }
......
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