Overview
Comment:Added constitutive relationship to argument list.
Put in explicit argument list to cbg2ese.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: 4fb1bcb629d2386eb8b1e3ccf2ee153e70e68bc9b711e48470522fa954f3bbf2
User & Date: gawthrop@users.sourceforge.net on 1996-08-30 11:29:49
Other Links: branch diff | manifest | tags
Context
1996-08-30
12:55:40
More heirachical stuff added. check-in: 2096815ce6 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
11:29:49
Added constitutive relationship to argument list.
Put in explicit argument list to cbg2ese.
check-in: 4fb1bcb629 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
11:23:13
Argument substitution implemented. check-in: aa1d5449a4 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/bin/trans/cbg2ese_m2r from [d53b30499c] to [0925ef3585].

12
13
14
15
16
17
18



19
20
21
22
23
24
25

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



# Revision 1.5  1996/08/24  14:38:11  peter
# Error handling included.
#
## Revision 1.4  1996/08/19 09:02:12  peter
## Errors go to user - not log.
##
## Revision 1.3  1996/08/18 20:05:55  peter







>
>
>







12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28

###############################################################
## Version control history
###############################################################
## $Id$
##
## $Log$
# Revision 1.6  1996/08/26  13:25:07  peterg
# Corrected error handling.
#
# Revision 1.5  1996/08/24  14:38:11  peter
# Error handling included.
#
## Revision 1.4  1996/08/19 09:02:12  peter
## Errors go to user - not log.
##
## Revision 1.3  1996/08/18 20:05:55  peter
46
47
48
49
50
51
52
53
54
55
56





57
58



59

60
61
62
63
64
65




66
67
68
69
70
touch $infofile

#Inform user
echo Creating $eqnfile
echo Creating $1_def.r

# Use matrix manipulation to accomplish the transformation
$MATRIX > cbg2ese_m2r.log 2>mtt_error << EOF

infofile = '$infofile'
system_name = '$1'





deffile = '$1_def.r';




structure = cbg2ese(system_name,'','',infofile)

makedef(structure,deffile);
  
EOF

cat $infofile





# Now invoke the standard error handling.
mtt_error_r cbg2ese_m2r.log










|

|
|
>
>
>
>
>


>
>
>
|
>






>
>
>
>

|



49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
touch $infofile

#Inform user
echo Creating $eqnfile
echo Creating $1_def.r

# Use matrix manipulation to accomplish the transformation
$MATRIX > cbg2ese_m2r.log 2>mtt_error.txt << EOF

infofile = '$infofile';;
system_name = '$1';
system_type = '';
system_cr = '';
system_args = '';
full_name = '';

deffile = '$1_def.r';

%Structure matrix [states,nonstates,inputs,outputs,zero_outputs]
structure = zeros(1,5);

structure = cbg2ese(system_name, system_type, system_cr, ...
                     system_args, full_name , 1, structure, infofile);
makedef(structure,deffile);
  
EOF

cat $infofile

cat $1_*ese.r - > $1_ese.r 2>> mtt_error.txt <<EOF
END;
EOF

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




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