summaryrefslogtreecommitdiff
path: root/lib/include
diff options
context:
space:
mode:
Diffstat (limited to 'lib/include')
-rw-r--r--lib/include/graph.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/include/graph.hpp b/lib/include/graph.hpp
index 80cdd66..9a630ff 100644
--- a/lib/include/graph.hpp
+++ b/lib/include/graph.hpp
@@ -18,12 +18,14 @@ class graph {
typedef std::array<unsigned int, 2> edge;
+ coordinate L;
+
std::vector<vertex> vertices;
std::vector<edge> edges;
std::vector<vertex> dual_vertices;
std::vector<edge> dual_edges;
- graph(unsigned int L);
+ graph(unsigned int Nx, unsigned int Ny);
};