Overview
Comment:Initial revision
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: ff1a1e28ec258069ee181a8f11f23c6dea8798f4006c86c185c8384ff5a5127a
User & Date: gawthrop@users.sourceforge.net on 1998-02-06 15:53:49
Other Links: branch diff | manifest | tags
Context
1998-02-09
08:39:27
Set inputs to zero as well. check-in: 166267ebaf user: gawthrop@users.sourceforge.net tags: origin/master, trunk
1998-02-06
15:53:49
Initial revision check-in: ff1a1e28ec user: gawthrop@users.sourceforge.net tags: origin/master, trunk
15:02:26
New default sspar -- sets all states to zero. check-in: b919009154 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes

Added mttroot/mtt/bin/trans/makesspar version [e39748f5b7].





















































































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#!/bin/sh

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

# Bourne shell script: makesspar
# Makes default sspar file: all states zero.

# P.J.Gawthrop February 1998
# Copyright (c) P.J.Gawthrop, 1998.

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


#Inform user
echo Creating $1_sspar.r

echo "% Steady-state parameters for system $1 ($1_sspar.r)"> $1_sspar.r
echo "% Generated by MTT on" `date`. >> $1_sspar.r                  	   
cat $MTTPATH/trans/m/rcs_header.txt  >> $1_sspar.r
echo "% Set all states to zero" >> $1_sspar.r                  	   

$MATRIX  <<EOF #>> /dev/null

fnum=fopen("$1_sspar.r","a");

[nx,ny,nu,nz,nyz] = $1_def;

for i = 1:nx
  fprintf(fnum,"MTTX%i := 0;\n", i);
end;
   
EOF

 
echo "END;;" >> $1_sspar.r   


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