summaryrefslogtreecommitdiff
path: root/lib/include
diff options
context:
space:
mode:
authorJaron Kent-Dobias <jaron@kent-dobias.com>2019-01-24 19:01:18 -0500
committerJaron Kent-Dobias <jaron@kent-dobias.com>2019-01-24 19:01:18 -0500
commite3b663588a30ec4f05afe50c260982bd44a1bb2b (patch)
tree0563b21d7a25a7bb99e906abf1ad1f63afb0e335 /lib/include
parentc83636a1b56b331cf4ea16450dcf637e6e9fae8a (diff)
downloadfuse_networks-e3b663588a30ec4f05afe50c260982bd44a1bb2b.tar.gz
fuse_networks-e3b663588a30ec4f05afe50c260982bd44a1bb2b.tar.bz2
fuse_networks-e3b663588a30ec4f05afe50c260982bd44a1bb2b.zip
style changes
Diffstat (limited to 'lib/include')
-rw-r--r--lib/include/graph.hpp4
-rw-r--r--lib/include/hooks.hpp2
-rw-r--r--lib/include/network.hpp2
3 files changed, 4 insertions, 4 deletions
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<unsigned int, 2> v;
+ std::array<unsigned, 2> v;
coordinate r;
std::array<bool, 2> crossings;
} edge;
@@ -37,7 +37,7 @@ class graph {
std::vector<vertex> dual_vertices;
std::vector<edge> 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);
};