From e3b663588a30ec4f05afe50c260982bd44a1bb2b Mon Sep 17 00:00:00 2001 From: Jaron Kent-Dobias Date: Thu, 24 Jan 2019 19:01:18 -0500 Subject: style changes --- lib/include/graph.hpp | 4 ++-- lib/include/hooks.hpp | 2 +- lib/include/network.hpp | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'lib/include') diff --git a/lib/include/graph.hpp b/lib/include/graph.hpp index 38c8edd..1089925 100644 --- a/lib/include/graph.hpp +++ b/lib/include/graph.hpp @@ -24,7 +24,7 @@ class graph { } vertex; typedef struct edge { - std::array v; + std::array v; coordinate r; std::array crossings; } edge; @@ -37,7 +37,7 @@ class graph { std::vector dual_vertices; std::vector dual_edges; - graph(unsigned int Nx, unsigned int Ny); + graph(unsigned Nx, unsigned Ny); graph(double Lx, double Ly, std::mt19937& rng); }; diff --git a/lib/include/hooks.hpp b/lib/include/hooks.hpp index e617ac3..67313cc 100644 --- a/lib/include/hooks.hpp +++ b/lib/include/hooks.hpp @@ -8,7 +8,7 @@ class network; class hooks { public: virtual void pre_fracture(const network&) {}; - virtual void bond_broken(const network&, const current_info&, unsigned int) {}; + virtual void bond_broken(const network&, const current_info&, unsigned) {}; virtual void post_fracture(network&) {}; // post fracture hook can be destructive }; diff --git a/lib/include/network.hpp b/lib/include/network.hpp index 70173e6..f12c9c7 100644 --- a/lib/include/network.hpp +++ b/lib/include/network.hpp @@ -43,7 +43,7 @@ class network { ~network(); void set_thresholds(double, std::mt19937&); - void break_edge(unsigned int, bool unbreak = false); + void break_edge(unsigned, bool unbreak = false); current_info get_current_info(); void fracture(hooks&, double cutoff = 1e-13); }; -- cgit v1.2.3-70-g09d2