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: 09d6bbc48c7daae4eab1157103f9f630fffad7de4dab1b1b43f4a0228c02437b
User & Date: gawthrop@users.sourceforge.net on 1999-03-28 21:29:40
Other Links: branch diff | manifest | tags
Context
1999-03-30
21:39:25
In implicit approach, set derivatives to zero (when switch is off)
before update. This seems to stop numerical leakage though non-return
switches.
check-in: c73a1c2553 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
1999-03-28
21:29:40
Initial revision check-in: 09d6bbc48c user: gawthrop@users.sourceforge.net tags: origin/master, trunk
1999-03-16
00:38:06
Done some more tidying up check-in: 0799d3a5dc user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes

Added mttroot/mtt/bin/trans/odeso_dat2sdat version [c75da8fe88].















































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
43
44
45
46
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
#! /bin/sh

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

# Bourne shell script: odeso_dat2sdat

# Structure file - dat to sdat conversion
# P.J.Gawthrop April 1997
# Copyright (c) P.J.Gawthrop, 1997.

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



# Inform user
echo "Creating $1_odeso.sdat"

rm -f mtt_error

# This is the main transformation using gawk
gawk '

BEGIN{
printf("Time");
}
{ if ($1=="output")
    printf(" %s(%s)", $3, $5);
}
END{
printf("\n");
}
'  SYSTEM=$1  < $1_struc.txt > $1_odeso.sdat 2>mtt_error.txt

cat $1_odeso.dat >> $1_odeso.sdat 2>>mtt_error.txt

# Now invoke the standard error handling.
mtt_error mtt_error.txt



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