50 lines (43 with data), 1.2 kB
// The study: Operations to be performed on the model
AnyBodyStudy Study = {
AnyFolder &Model = .Model;
AnyFolder &Drivers = .ModelEnvironmentConnection;
Gravity = {0.0, 0.0, -9.81};
#ifdef MOVEMENT_PROTRUSION1
tStart = 0.15;
tEnd = 1.7;
nStep = 50;
#else
#ifdef MOVEMENT_CLENCHING_OPEN_HALF_DYNAMIC1
tStart = 0.0;
tEnd = 1.51;
nStep = 50;
#else
#ifdef MOVEMENT_CHEWING1
tStart = 0.9;
tEnd = 2.0;
nStep = 50;
#else
#ifdef MOVEMENT_SIDETOSIDE1
tStart = 0.0;
tEnd = 2.4;
nStep = 50;
#else
tStart = 0.0;
tEnd = 9.99;
nStep = 50;
#endif
#endif
#endif
#endif
InverseDynamics.Criterion.UpperBoundOnOff = Off;
InverseDynamics.Criterion.Power = 3;
#include "ReactionForceMeasures.any"
#if TMJ_CONTACT_MODEL == 1
InverseDynamics.ForceDepKinOnOff=On;
InverseDynamics.ForceDepKin.Perturbation = 5e-5;
InverseDynamics.ForceDepKin.LocalSearchOnOff = On;
Kinematics.KinematicTol = 1e-6;
InverseDynamics.ForceDepKin.UseAdaptiveForceTolOnOff = Off;
#endif
};