Overview
| Comment: | Removed [MTTu] = zero_input($Nu); # Zero the input to avoide the p2c bug ???? |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | origin/master | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
4e5bc0ae1ef1a9b1bae457930b3d0d38 |
| User & Date: | gawthrop@users.sourceforge.net on 1999-08-29 06:55:26.000 |
| Other Links: | branch diff | manifest | tags |
Context
|
1999-09-01
| ||
| 23:53:39 | Initial revision check-in: f10c8bbb66 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
|
1999-08-29
| ||
| 06:55:26 |
Removed [MTTu] = zero_input($Nu); # Zero the input to avoide the p2c bug ???? check-in: 4e5bc0ae1e user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
| 06:54:42 |
Added code (mtt_parameters, get args etc) to allow arguments to the a.out file check-in: f09bc192e4 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
Changes
Modified mttroot/mtt/bin/trans/make_ode2odes
from [6fe656eb37]
to [cc4056d057].
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.23 1999/08/02 13:39:19 peterg
## Replaced zero_vector by zero_input
##
## Revision 1.22 1999/04/20 06:16:07 peterg
## Removed initialisation of AA and AAx
## Remove _switch calls -- uses _switchopen exclusively
##
| > > > | 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.24 1999/08/27 06:02:16 peterg
## removed zero_input to avoid p2c bug
##
## Revision 1.23 1999/08/02 13:39:19 peterg
## Replaced zero_vector by zero_input
##
## Revision 1.22 1999/04/20 06:16:07 peterg
## Removed initialisation of AA and AAx
## Remove _switch calls -- uses _switchopen exclusively
##
|
| ︙ | ︙ | |||
96 97 98 99 100 101 102 | EOF # Do the globals sympar2global_txt2m $1 >> $1_ode2odes.m # The rest of the program cat << EOF >> $1_ode2odes.m | < > | | | | < < | 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 | EOF # Do the globals sympar2global_txt2m $1 >> $1_ode2odes.m # The rest of the program cat << EOF >> $1_ode2odes.m $1_simpar; # Read in simulation parameters $1_numpar; # Read in parameters 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 [MTTy] = $1_odeo(MTTx,MTTu,MTTt); # Evaluate initial output [MTTu] = $1_input(MTTt,MTTx,MTTy); # Evaluate initial input mtt_write(MTTt,MTTx,MTTy,$Nx,$Ny); # And write them #[mttAA] = zero_matrix($Nx); # Zero the A matrix #[mttAAx] = zero_vector($Nx); # Zero the AAx vector |
| ︙ | ︙ |