Differences From Artifact [fc10072c99]:

To Artifact [348ad3662b]:


1
2
3
4
5
6
7
8



9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Numerical parameter file (BouncingRod_numpar.txt)
# Generated by MTT at Fri Jul  4 14:09:11 BST 1997

# %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
# %% Version control history
# %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
# %% $Id$
# %% $Log$



# %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

float theta,height;

# Parameters
epsilon = 	0.1; 
l = 	1.0; # Default value
m = 	1.0; # Default value
j = 	l*l*m/3;


theta = 3.1416/4;
height = 10.0;

# Initial states
x(1) = 	0.0; # Initial state for BouncingRod_groundL (MTT_SWITCH)
x(2) = 	0.0; # Initial state for BouncingRod_groundR (MTT_SWITCH)
x(3) = 	height+l*cos(theta); # Initial state for BouncingRod_intfL (3)
x(4) = 	height-l*cos(theta); # Initial state for BouncingRod_intfR (3)
x(5) = 	0.0; # Initial state for BouncingRod_rod (J)
x(6) = 	0.0; # Initial state for BouncingRod_rod (m_x)
x(7) = 	0.0; # Initial state for BouncingRod_rod (m_y)
x(8) = 	theta; # Initial state for BouncingRod_rod_th (3)










>
>
>


<
<

|




|
|
<

<
<
<
<
<
<
<
<
<


1
2
3
4
5
6
7
8
9
10
11
12
13


14
15
16
17
18
19
20
21

22









23
24
# Numerical parameter file (BouncingRod_numpar.txt)
# Generated by MTT at Fri Jul  4 14:09:11 BST 1997

# %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
# %% Version control history
# %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
# %% $Id$
# %% $Log$
# %% Revision 1.1  1997/07/06 16:17:27  peterg
# %% Initial revision
# %%
# %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%



# Parameters
epsilon = 	0.01; 
l = 	1.0; # Default value
m = 	1.0; # Default value
j = 	l*l*m/3;

## Declare pi
pi = 3.142;














MTT: Model Transformation Tools
GitHub | SourceHut | Sourceforge | Fossil RSS ]