Index: mttroot/mtt/bin/trans/make_ode2odes ================================================================== --- mttroot/mtt/bin/trans/make_ode2odes +++ mttroot/mtt/bin/trans/make_ode2odes @@ -7,10 +7,13 @@ ############################################################### ## 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 @@ -168,13 +171,11 @@ [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 - if (t>=simpar.first) - mtt_write(t,x,y,$Nx,$Ny); # Write it out - endif + 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