ADDED mttroot/mtt/lib/examples/Mechanical/Mechanical-2D/Pendulum/Pendulum_numpar.txt Index: mttroot/mtt/lib/examples/Mechanical/Mechanical-2D/Pendulum/Pendulum_numpar.txt ================================================================== --- /dev/null +++ mttroot/mtt/lib/examples/Mechanical/Mechanical-2D/Pendulum/Pendulum_numpar.txt @@ -0,0 +1,15 @@ +# -*-octave-*- Put Emacs into octave-mode +# Numerical parameter file (Pendulum_numpar.txt) +# Generated by MTT at Mon Jul 27 12:38:25 BST 1998 + +# %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +# %% Version control history +# %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +# %% $Id$ +# %% $Log$ +# %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +# Parameters +l = 1.0; # Pendulum +m = 1.0; # Pendulum +j = m*l*l/12.0; # Pendulum ADDED mttroot/mtt/lib/examples/Mechanical/Mechanical-2D/Pendulum/Pendulum_state.txt Index: mttroot/mtt/lib/examples/Mechanical/Mechanical-2D/Pendulum/Pendulum_state.txt ================================================================== --- /dev/null +++ mttroot/mtt/lib/examples/Mechanical/Mechanical-2D/Pendulum/Pendulum_state.txt @@ -0,0 +1,14 @@ +# -*-octave-*- Put Emacs into octave-mode +# Initial state file (Pendulum_state.txt) +# Generated by MTT at Mon Jul 27 12:34:12 BST 1998 +############################################################### +## Version control history +############################################################### +## $Id$ +## $Log$ +############################################################### + +# Set the states +mttx(1) = 0.0; # J (Pendulum_rod) +mttx(2) = pi/4; # 3 (Pendulum_rod_th) +mttx(3) = 0.0; # 2 (Pendulum_gravity)