vector<Spring> sorted_springs = springs_;
sort (sorted_springs.begin (), sorted_springs.end (), greater<Spring> ());
+
for (vsize i = 0; i < sorted_springs.size (); i++)
{
Spring sp = sorted_springs[i];
/****************************************************************/
-/*
- TODO: should a add penalty for widely varying spring forces (caused
- by constraints, eg.
-
-
- . =====
- . | |
- .o|o|x ##x
- .
-
- The ## forces the notes apart; we shouldn't allow the O's to touch
- this closely.
-*/
-
struct Rod_description
{
vsize r_;