Loading Unstructured_mesh/UnstructuredMesh/MeshElements/MeshElement.h +7 −2 Original line number Diff line number Diff line Loading @@ -118,9 +118,14 @@ public: template<typename IndexType> class SubelementContainer<IndexType, 0> : public std::vector<IndexType> { class SubelementContainer<IndexType, 0> : public std::vector<Subelement<IndexType>> { public: IndexType getNumberOfSubelements() { return this->size(); } void addSubelement(IndexType index) { this->push_back(index); this->push_back(Subelement<IndexType>{index}); } void removeSubelement(unsigned char atIndex){ Loading Loading
Unstructured_mesh/UnstructuredMesh/MeshElements/MeshElement.h +7 −2 Original line number Diff line number Diff line Loading @@ -118,9 +118,14 @@ public: template<typename IndexType> class SubelementContainer<IndexType, 0> : public std::vector<IndexType> { class SubelementContainer<IndexType, 0> : public std::vector<Subelement<IndexType>> { public: IndexType getNumberOfSubelements() { return this->size(); } void addSubelement(IndexType index) { this->push_back(index); this->push_back(Subelement<IndexType>{index}); } void removeSubelement(unsigned char atIndex){ Loading