Overview
Comment:Old version -- about to try new parameterised version
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: 7835bb5bc02af2846e79fd6f748551c52b6d5f73418f7cdc620b199e56e62f5e
User & Date: gawthrop@users.sourceforge.net on 2000-05-11 08:30:00
Other Links: branch diff | manifest | tags
Context
2000-05-11
10:55:57
Initial revision check-in: 285e2bc3e1 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
08:30:00
Old version -- about to try new parameterised version check-in: 7835bb5bc0 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
08:03:28
Fixed -noglobals bug. check-in: 770a60cb33 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/bin/trans/make_ode2odes from [5aa802edee] to [e383e3f508].

1
2
3
4
5
6
7
8
9
10
11



12
13
14
15
16
17
18
#! /bin/sh

     ###################################### 
     ##### Model Transformation Tools #####
    ######################################

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



## Revision 1.30  2000/04/18 11:24:19  peterg
## Removed _numpar.
##
## Revision 1.29  2000/04/07 19:10:57  peterg
## *** empty log message ***
##
## Revision 1.28  1999/12/08 05:56:52  peterg











>
>
>







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#! /bin/sh

     ###################################### 
     ##### Model Transformation Tools #####
    ######################################

###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.31  2000/05/10 18:33:25  peterg
## Use smxa and smxax in place of smx
##
## Revision 1.30  2000/04/18 11:24:19  peterg
## Removed _numpar.
##
## Revision 1.29  2000/04/07 19:10:57  peterg
## *** empty log message ***
##
## Revision 1.28  1999/12/08 05:56:52  peterg
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
MTTilast = round(mttlast/mttdt); # Total number of steps

#Initialise
MTTt = 0.0;

[MTTu]  = zero_input($Nu);	# Zero the input
[MTTx] = $1_state;	        # Read in initial state
[MTTpar] = $1_numpar;	        # Read in initial state

#[mttAA]  = zero_matrix($Nx);	# Zero the A matrix
#[mttAAx] = zero_vector($Nx);	# Zero the AAx vector

#if $Nx>0
#  [MTTx] = $1_switch(MTTx);       # Switches
#endif;







|







139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
MTTilast = round(mttlast/mttdt); # Total number of steps

#Initialise
MTTt = 0.0;

[MTTu]  = zero_input($Nu);	# Zero the input
[MTTx] = $1_state;	        # Read in initial state
[MTTpar] = $1_numpar;	        # Read in parameters

#[mttAA]  = zero_matrix($Nx);	# Zero the A matrix
#[mttAAx] = zero_vector($Nx);	# Zero the AAx vector

#if $Nx>0
#  [MTTx] = $1_switch(MTTx);       # Switches
#endif;


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