10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# Copyright (c) P.J.Gawthrop, 1991, 1994, 1998
###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.8 1998/08/27 07:04:44 peterg
## Cleared out mttx array ans use mkid instead.
##
## Revision 1.7 1998/08/27 06:48:20 peterg
## Changed mttxx to mttx - in implicit integration smx is called once
## with x in the linearisation the same as x in the current state
##
|
>
>
>
|
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# Copyright (c) P.J.Gawthrop, 1991, 1994, 1998
###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.9 1998/08/27 07:06:25 peterg
## Just genrate xj once.
##
## Revision 1.8 1998/08/27 07:04:44 peterg
## Cleared out mttx array ans use mkid instead.
##
## Revision 1.7 1998/08/27 06:48:20 peterg
## Changed mttxx to mttx - in implicit integration smx is called once
## with x in the linearisation the same as x in the current state
##
|
64
65
66
67
68
69
70
71
72
73
74
75
76
77
|
# Use reduce to accomplish the transformation
reduce << EOF >ode2smx_lang.log
lang := $lang;
in "$1_def.r";
in "$1_ode.r";
clear mttx; % Dont need this now - use mkid instead
OFF Echo;
% Load the general translator package
LOAD GENTRAN;
|
>
|
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
|
# Use reduce to accomplish the transformation
reduce << EOF >ode2smx_lang.log
lang := $lang;
in "$1_def.r";
in "$1_ode.r";
in "$1_cr.r";
clear mttx; % Dont need this now - use mkid instead
OFF Echo;
% Load the general translator package
LOAD GENTRAN;
|