diff --git a/.gitignore b/.gitignore
index a77a57d..7b64a44 100644
--- a/.gitignore
+++ b/.gitignore
@@ -10,6 +10,8 @@
*.userosscache
*.sln.docstates
*.txt
+*.png
+*.plt
# User-specific files (MonoDevelop/Xamarin Studio)
*.userprefs
diff --git a/MemMAPR_winda.vcxproj b/MemMAPR_winda.vcxproj
index c1c60de..2f96dc8 100644
--- a/MemMAPR_winda.vcxproj
+++ b/MemMAPR_winda.vcxproj
@@ -158,6 +158,7 @@
+
diff --git a/MemMAPR_winda.vcxproj.filters b/MemMAPR_winda.vcxproj.filters
index 941a215..3a463fc 100644
--- a/MemMAPR_winda.vcxproj.filters
+++ b/MemMAPR_winda.vcxproj.filters
@@ -68,5 +68,6 @@
+
\ No newline at end of file
diff --git a/es10.plt b/es10.plt
deleted file mode 100644
index 7f06c25..0000000
--- a/es10.plt
+++ /dev/null
@@ -1,10 +0,0 @@
-set cbrange [0:100]
-set size ratio 0.8
-unset key
-
-set palette defined (0 0 0 1, 0.25 0 1 1, 0.5 0 1 0, 0.75 1 1 0, 1 1 0 0)
-
-do for [i=0:99]{
-plot 'explicit10.txt' u 1:2:3 index i w points pt 5 palette
-pause 1e-09}
-pause mouse
\ No newline at end of file
diff --git a/es5.plt b/es5.plt
deleted file mode 100644
index 53ef058..0000000
--- a/es5.plt
+++ /dev/null
@@ -1,10 +0,0 @@
-set cbrange [0:100]
-set size ratio 0.8
-unset key
-
-set palette defined (0 0 0 1, 0.25 0 1 1, 0.5 0 1 0, 0.75 1 1 0, 1 1 0 0)
-
-do for [i=0:99]{
-plot 'explicit5.txt' u 1:2:3 index i w points pt 5 palette
-pause 1e-09}
-pause mouse
\ No newline at end of file
diff --git a/include/Form.hpp b/include/Form.hpp
index d40d154..4baf7fc 100644
--- a/include/Form.hpp
+++ b/include/Form.hpp
@@ -7,9 +7,9 @@
class Form {
protected:
- static size_t counter_;
- size_t id_;
- bool excluded_;
+ static size_t counter;
+ size_t id;
+ bool excluded;
int bound_type;
public:
Form();
diff --git a/include/Mesh.hpp b/include/Mesh.hpp
index 0a8bed2..318c856 100644
--- a/include/Mesh.hpp
+++ b/include/Mesh.hpp
@@ -6,11 +6,11 @@
#include "Node.hpp"
class Mesh{
- std::vector> _mesh;
- std::vector _hlines;
- std::vector _vlines;
- Object& _obj;
- double _step;
+ std::vector> mesh;
+ std::vector hlines;
+ std::vector vlines;
+ Object& obj;
+ double step;
void LinkX();
void LinkY();
void Delnode(int, int);
@@ -20,10 +20,11 @@ public:
Mesh(Object&, double);
~Mesh();
//void ShowLinks();
+ void VisualizeMesh(std::string);
- std::vector>& Nodes() { return _mesh; }
- std::vector& LineX() { return _hlines; }
- std::vector& LineY() { return _vlines; }
+ std::vector>& Nodes() { return mesh; }
+ std::vector& LineX() { return hlines; }
+ std::vector& LineY() { return vlines; }
};
#endif
diff --git a/include/Node.hpp b/include/Node.hpp
index a868339..232deea 100644
--- a/include/Node.hpp
+++ b/include/Node.hpp
@@ -4,17 +4,17 @@
#include
class Node{
- double _x;
- double _y;
- double _t;
- int _btype;
+ double x;
+ double y;
+ double t;
+ int btype;
- Node* _left;
- Node* _right;
- Node* _above;
- Node* _below;
+ Node* left;
+ Node* right;
+ Node* above;
+ Node* bellow;
public:
- Node(double x = 0., double y = 0., int type = 0., double t = 0.): _x(x), _y(y), _t(t), _left(nullptr), _right(nullptr), _above(nullptr), _below(nullptr), _btype(type) {}
+ Node(double _x = 0., double _y = 0., int _type = 0., double _t = 0.): x(_x), y(_y), t(_t), left(nullptr), right(nullptr), above(nullptr), bellow(nullptr), btype(_type) {}
double T() const;
double X() const;
diff --git a/include/Object.hpp b/include/Object.hpp
index 9381987..164bb0e 100644
--- a/include/Object.hpp
+++ b/include/Object.hpp
@@ -6,9 +6,9 @@
class Object {
private:
- std::vector