Python-визуализация сетки

This commit is contained in:
2025-05-15 18:00:18 +03:00
parent 9325bbc747
commit 2933868ef9
6 changed files with 52 additions and 0 deletions

View File

@@ -20,6 +20,7 @@ public:
Mesh(Object&, double);
~Mesh();
//void ShowLinks();
void VisualizeMesh(std::string);
std::vector<std::vector<Node*>>& Nodes() { return mesh; }
std::vector<Node*>& LineX() { return hlines; }

View File

@@ -11,6 +11,7 @@ class System{
public:
System(Object& obj, double step = 10., double a1 = 1.): _obj(obj), mesh(obj, step), _a(a1), _step(step) {}
void DefineBounds(int, int, int, int);
void export_mesh(std::string);
std::vector<std::vector<Node*>>& Nodes();
std::vector<Node*>& LineX();
std::vector<Node*>& LineY();