-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathSystemParams.cpp
More file actions
53 lines (35 loc) · 1.3 KB
/
Copy pathSystemParams.cpp
File metadata and controls
53 lines (35 loc) · 1.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
#include "SystemParams.h"
#include <limits>
// slices of the initial circle
int SystemParams::circle_init_slices = 4; // 6 hexagon
// radius of the initial circle
float SystemParams::circle_radius = 5.0f;
// max length of each line segment
float SystemParams::D = 1.0f; // 1.0
// split threshold
float SystemParams::d_split = 0.3f; // 1.2
// merge threshold
//float SystemParams::k_min = 0.3f; // 0.25
// delta constant
float SystemParams::delta_const = 1.0f;
// brownian constant
float SystemParams::f_b = 0.02f; // 0.085f
// fairing constant
float SystemParams::f_f = 0.05f; // 0.06f
// attraction-repulsion constant
float SystemParams::f_a = 0.006f;
float SystemParams::ar_clamp = 20.0f;
// standard deviation of the random distribution (brownian motion)
int SystemParams::dist_std_dev = 628; // 628 = 3.14 * 2 * 100
// Lennard-Jones constant
float SystemParams::sigma_l_j = 1.0f; // 1.25
// search radius
float SystemParams::search_radius = 20.0f; // 100
float SystemParams::kdtree_radius = SystemParams::search_radius + SystemParams::D;
//int SystemParams::n_min = 0;
// max iteration
int SystemParams::max_iter = std::numeric_limits<int>::max();
bool SystemParams::show_points = false;
bool SystemParams::show_image = true;
bool SystemParams::show_mag = false;
float SystemParams::delta_bound = 1.0;