Skip to content

Commit

Permalink
Change defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
stfnp committed Nov 4, 2017
1 parent 6655c69 commit a84526b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions resources/bows/default.bow
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"settings": {
"n_draw_steps": 150,
"n_elements_limb": 40,
"n_elements_string": 50,
"n_elements_string": 45,
"sampling_rate": 10000.0,
"time_span_factor": 1.5,
"time_step_factor": 0.5
Expand All @@ -65,4 +65,4 @@
0.01
]
}
}
}
2 changes: 1 addition & 1 deletion source/model/BowModel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ void BowModel::init_limb(const Callback& callback)

void BowModel::init_string(const Callback& callback)
{
const double k = system.get_K().maxCoeff(); // Contact stiffness: Maximum stiffness already present in the system
const double k = 0.1*system.get_K().maxCoeff(); // Contact stiffness in terms of maximum stiffness already present // Todo: Magic number
const double epsilon = 0.01*output.setup.limb.h[0]; // Transition zone of the contact elements // Magic number

// Calculate curve tangential to the limb na d calculate string node positions by equipartition
Expand Down

0 comments on commit a84526b

Please sign in to comment.