Overview
Comment:Standard error handling added.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: 01389eac0453fe2dac8e61f3ced13cc13818b3eac6492ac1e72be948be71f46d
User & Date: gawthrop@users.sourceforge.net on 1996-09-12 18:41:48
Other Links: branch diff | manifest | tags
Context
1996-09-12
18:45:31
Back to rcs. check-in: 33c0c5ca89 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
18:41:48
Standard error handling added. check-in: 01389eac04 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
18:34:44
Back under rcs. check-in: 2c4e0338e4 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/bin/trans/ode2odes_m from [343f4ba5f7] to [e595564db1].

11
12
13
14
15
16
17



18
19
20
21
22
23
24
# Copyright (c) P.J.Gawthrop, 1996.

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



## Revision 1.5  1996/08/18 12:01:26  peter
## Unified format of time responses.
##
## Revision 1.4  1996/08/16 13:04:46  peter
## Fixed problem with more than one output (y vector).
##
## Revision 1.3  1996/08/16 06:36:03  peter







>
>
>







11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Copyright (c) P.J.Gawthrop, 1996.

###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.6  1996/08/24 14:11:04  peter
## Global parameter passing.
##
## Revision 1.5  1996/08/18 12:01:26  peter
## Unified format of time responses.
##
## Revision 1.4  1996/08/16 13:04:46  peter
## Fixed problem with more than one output (y vector).
##
## Revision 1.3  1996/08/16 06:36:03  peter
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
    y(i,:) = $1_odeo(x(i,:),tt)';
  end;
  write_matrix([T,y], '$1_odeso');
end;

EOF

err_length=$(wc -c <mtt_error)

# Test for errors and print if any
if [ $err_length != "0" ]
then
  echo MTT has failed with the following errors '...'
  cat mtt_error
  exit 1
else
  exit 0
fi














<
|
<
<
<
<
|
<
<
<
<







87
88
89
90
91
92
93

94




95




96
97
98
99
100
101
102
    y(i,:) = $1_odeo(x(i,:),tt)';
  end;
  write_matrix([T,y], '$1_odeso');
end;

EOF


# Now invoke the standard error handling.




mtt_error mtt_error.txt












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