summaryrefslogtreecommitdiff
path: root/lib/include
diff options
context:
space:
mode:
authorJaron Kent-Dobias <jaron@kent-dobias.com>2018-12-05 19:16:28 -0500
committerJaron Kent-Dobias <jaron@kent-dobias.com>2018-12-05 19:16:28 -0500
commit4f4cf365eae07e04298459bf8f9e27ad0cfcc834 (patch)
treef9823c732c03d1ed0166c765a39c2a77d6f1afa9 /lib/include
parent66aad9c05bce441e3f74049b6c055312287e6a4a (diff)
downloadfuse_networks-4f4cf365eae07e04298459bf8f9e27ad0cfcc834.tar.gz
fuse_networks-4f4cf365eae07e04298459bf8f9e27ad0cfcc834.tar.bz2
fuse_networks-4f4cf365eae07e04298459bf8f9e27ad0cfcc834.zip
now takes Lx and Ly for anisotropic fracture
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);
};