#ifndef __MESH_H__ #define __MESH_H__ #include #include #include #include namespace FEM { class Mesh { public: ~Mesh(){mVertices.clear();mTetrahedrons.clear();}; virtual const std::vector& GetVertices(){return mVertices;}; virtual const std::vector& GetTetrahedrons(){return mTetrahedrons;}; Mesh(const Mesh& other) = delete; Mesh& operator=(const Mesh& other) = delete; virtual std::shared_ptr Clone() = 0; protected: Mesh(){}; std::vector mVertices; std::vector mTetrahedrons; }; }; #endif