Overview
Comment: | Removed the First time stuff |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | origin/master | trunk |
Files: | files | file ages | folders |
SHA3-256: |
61f331eafb74c810b59e24ae59622035 |
User & Date: | gawthrop@users.sourceforge.net on 2000-05-18 18:59:40 |
Other Links: | branch diff | manifest | tags |
Context
2000-05-18
| ||
20:12:02 | Version 4.2 check-in: 7074261926 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
18:59:40 | Removed the First time stuff check-in: 61f331eafb user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
18:45:32 | Removed totally stupid bug that's lived here for years!! check-in: 808b684fb7 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
Changes
Modified mttroot/mtt/bin/trans/make_ode2odes from [9330add422] to [bd30ca7f6b].
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.33 2000/05/11 19:33:18 peterg ## Uniform version for _sim.m ## ## Revision 1.32 2000/05/11 08:30:00 peterg ## ## Revision 1.31 2000/05/10 18:33:25 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.34 2000/05/16 18:56:14 peterg ## *** empty log message *** ## ## Revision 1.33 2000/05/11 19:33:18 peterg ## Uniform version for _sim.m ## ## Revision 1.32 2000/05/11 08:30:00 peterg ## ## Revision 1.31 2000/05/10 18:33:25 peterg |
︙ | ︙ | |||
166 167 168 169 170 171 172 | ilast = round(simpar.last/simpar.dt)+1; # Total number of steps [u] = zero_input(1); # Zero the input for it = 1:ilast #Integration loop [y] = $1_cseo(x,u,t,par);# Output [u] = $1_input(t,x,y); # Input | < | < | 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 | ilast = round(simpar.last/simpar.dt)+1; # Total number of steps [u] = zero_input(1); # Zero the input for it = 1:ilast #Integration loop [y] = $1_cseo(x,u,t,par);# Output [u] = $1_input(t,x,y); # Input mtt_write(t,x,y,$Nx,$Ny); # Write it out [dx] = $1_cse(x,u,t,par); # State derivative [AA] = $1_smxa(x,u,simpar.dt,par); # (I-Adt) and (I-Adt)x [AAx] = $1_smxax(x,u,simpar.dt,par); # (I-Adt) and (I-Adt)x [open_switches] = $1_switchopen(x); # Open switches [x] = mtt_implicit(x,dx,AA,AAx,simpar.dt,$Nx,open_switches); # Implicit update t = t + simpar.dt; endfor; # Integration loop |
︙ | ︙ |