Overview
Comment:Cahged switch function
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: e44ea9f4c92aa37908855d0733ba78cc699e121d7528133620b3b2eb429c7faf
User & Date: gawthrop@users.sourceforge.net on 1998-10-01 19:20:33
Other Links: branch diff | manifest | tags
Context
1998-10-01
19:21:04
Initial revision check-in: fcdfeb9750 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
19:20:33
Cahged switch function check-in: e44ea9f4c9 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
18:20:50
Split up the three if conditions on the switch and state value into
three separate ifs. This is because p2c seems to generate incorrect
code id just the one if is used (???).
check-in: b672998af4 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/lib/examples/Hybrid/Bounce/Bounce_input.txt from [2fa27b5181] to [adb711fa30].

1
2
3
4
5
6
7
8



9
10
11
12
13
14
15
16
# Numerical parameter file (Bounce_input.txt)
# Generated by MTT at Wed Jul  2 10:47:49 BST 1997

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



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

# Set the inputs
mttu(1) = 9.81;

# Set the switches
bounce_ground= -(mttx(1)<0);









>
>
>






|

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Numerical parameter file (Bounce_input.txt)
# Generated by MTT at Wed Jul  2 10:47:49 BST 1997

# %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
# %% Version control history
# %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
# %% $Id$
# %% $Log$
# %% Revision 1.1  1998/07/25 18:35:02  peterg
# %% Initial revision
# %%
# %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

# Set the inputs
mttu(1) = 9.81;

# Set the switches
bounce_ground= mttx(1)<0;


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