Overview
Comment:Created from lbl2sympar
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: f99cbfde860910b9a7231928ec438b93ccd9f10cfcd08bf0fad4bd89fd01bff2
User & Date: gawthrop@users.sourceforge.net on 1996-11-02 10:20:53
Other Links: branch diff | manifest | tags
Context
1996-11-02
10:22:22
Now ignores SS lines. check-in: 6b4b9e949a user: gawthrop@users.sourceforge.net tags: origin/master, trunk
10:20:53
Created from lbl2sympar check-in: f99cbfde86 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
10:19:19
Constitutive Relationship generation from lbl file check-in: bb2c5a853d user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/bin/trans/lbl2cr_txt2r from [e0bb8fc6af] to [1ea9d202fe].

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
47




48
49
50

51
52
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






-
+

-
-
+
+







-
-
-
-
-
-
-
-
-
-
-
-
-
-
-




-
+




-
-
+
+


-
-
+
+
+
+


-
+


#! /bin/sh

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

# Bourne shell script: lbl2sympar_txt2r
# Bourne shell script: lbl2cr_txt2r

# Label file to symbolic parameters conversion
# P.J.Gawthrop August 1996
# Label file to constitutive relationship conversion
# P.J.GawthropNovemebr 1996
# Copyright (c) P.J.Gawthrop, 1996.

###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.5  1996/09/12 17:18:44  peter
## Don't add an RCS header ..
##
## Revision 1.4  1996/08/30 19:01:21  peter
## Added headers to sympar file.
##
## Revision 1.3  1996/08/30 10:18:33  peter
## New path for awk script.
##
## Revision 1.2  1996/08/30 10:04:20  peter
## Included `;' in demimiter list.
##
# Revision 1.1  1996/08/24  13:34:09  peter
# Initial revision
#
###############################################################


# Inform user
echo "Creating $1_sympar.r"
echo "Creating $1_cr.r"

rm -f mtt_error

#Write some file headers
echo "%% Symbolic parameter file ($1_sympar.r)" > $1_sympar.r
echo "%% Generated by MTT at `date`" >> $1_sympar.r
echo "%% constitutive relationship  file ($1_cr.r)" > $1_cr.r
echo "%% Generated by MTT at `date`" >> $1_cr.r

# This is the main transformation using gawk
tr ';' ',' <  $1_lbl.txt | \
gawk -f $MTTPATH/trans/awk/lbl2sympar.awk  >> $1_sympar.r 2>mtt_error.txt
gawk -f $MTTPATH/trans/awk/lbl2cr.awk <$1_lbl.txt  2>mtt_error.txt | \
	sh >> $1_cr.r

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

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



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