Skip to content

Commit b9ebda2

Browse files
committed
The best out come to date with the 2-layer 3D ball with all types of springs working. Be careful when tweaking params in global.h.
1 parent 693b592 commit b9ebda2

File tree

8 files changed

+410
-446
lines changed

8 files changed

+410
-446
lines changed

Alive/unified/SoftBodySimulation/common/Object.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Object::Object()
1010
numParticles = 2; //default particle number on the object
1111
numSprings = 1; //default spring number on the object
1212
integrator = NULL; //default integrator
13-
integratorType = EULER; //default integrator tpye is Euler
13+
integratorType = MIDPOINT; //default integrator tpye is Euler
1414
dim = DIM1D; //default object is 1D
1515
closest_i=0; // the point which is closest to mouse position
1616
}

0 commit comments

Comments
 (0)