Index: mttroot/mtt/bin/trans/mtt_m2p ================================================================== --- mttroot/mtt/bin/trans/mtt_m2p +++ mttroot/mtt/bin/trans/mtt_m2p @@ -13,10 +13,13 @@ ############################################################### ## Version control history ############################################################### ## $Id$ ## $Log$ +## Revision 1.50 2000/05/19 17:46:41 peterg +## New version of state with par argument +## ## Revision 1.49 2000/05/18 09:45:45 peterg ## Fixed missing ; ## ## Revision 1.48 2000/05/18 09:39:38 peterg ## Removed fifth argument from _input @@ -302,11 +305,11 @@ echo " glmpbynp = StateMatrix;" ## echo " IntegrationMethod = 1..4;" echo "" echo "VAR" echo " simpar : SimulationParameters;" - echo " t : REAL;" + echo " t,ddt : REAL;" echo " x,dx,AAx : StateVector;" echo " u : InputVector;" echo " y : OutputVector;" echo " par : ParameterVector;" echo " mttpar : ParameterVector;" @@ -405,20 +408,21 @@ if (rep=="ode2odes"){ printf("\n{%s $MTTPATH/trans/p/mtt_write.p}\n",inc) printf("{%s $MTTPATH/trans/p/mtt_par_update.p}\n",inc) printf("{%s $MTTPATH/trans/p/sign.p}\n",inc) printf("{%s $MTTPATH/trans/p/mtt_euler.p}\n",inc) - printf("{%s $MTTPATH/trans/p/mtt_solve.p}\n",inc) + #printf("{%s $MTTPATH/trans/p/mtt_solve.p}\n",inc) printf("{%s $MTTPATH/trans/p/mtt_implicit.p}\n",inc) - # printf("{%s $MTTPATH/trans/p/zero_matrix.p}\n",inc) + #printf("{%s $MTTPATH/trans/p/zero_matrix.p}\n",inc) printf("{%s $MTTPATH/trans/p/zero_input.p}\n",inc) printf("{%s $MTTPATH/trans/p/zero_state.p}\n",inc) printf("{%s %s_simpar.p}\n",inc,Sys) printf("{%s %s_numpar.p}\n",inc,Sys) # printf("{%s $MTTPATH/trans/p/mtt_getargs.p}\n",inc) printf("{%s %s_state.p}\n",inc,Sys) printf("{%s %s_input.p}\n",inc,Sys) + if (Method=="euler") { printf("{%s %s_ode.p}\n",inc,Sys) printf("{%s %s_odeo.p}\n",inc,Sys) } if (Method=="implicit") {