From 4f4cf365eae07e04298459bf8f9e27ad0cfcc834 Mon Sep 17 00:00:00 2001 From: Jaron Kent-Dobias Date: Wed, 5 Dec 2018 19:16:28 -0500 Subject: now takes Lx and Ly for anisotropic fracture --- lib/include/graph.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib/include') 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 edge; + coordinate L; + std::vector vertices; std::vector edges; std::vector dual_vertices; std::vector dual_edges; - graph(unsigned int L); + graph(unsigned int Nx, unsigned int Ny); }; -- cgit v1.2.3-54-g00ecf