10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# Copyright (c) P.J.Gawthrop 1991, 1994, 1995, 1996
###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
###############################################################
#Inform user
echo Creating $1_ode.m
echo Creating $1_odeo.m
|
>
>
>
|
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# Copyright (c) P.J.Gawthrop 1991, 1994, 1995, 1996
###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.1 1996/08/18 12:03:49 peter
## Initial revision
##
###############################################################
#Inform user
echo Creating $1_ode.m
echo Creating $1_odeo.m
|
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
%Define the common part of the functions.
PROCEDURE common;
BEGIN
IF MTTNvar>0 THEN
BEGIN
write "% Read in the parameters";
write "[ ...;;";
FOR i := 1:MTTNvar DO
BEGIN
IF i<MTTNvar THEN write MTTVar(i,1), ",..."
ELSE write MTTVar(i,1), "] = $1_numpar"
END;
END;
write "% Read in the input";
write "u = $1_input(t)";
write "% Read in the arguments";
|
|
|
|
|
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
|
%Define the common part of the functions.
PROCEDURE common;
BEGIN
IF MTTNvar>0 THEN
BEGIN
write "% Read in the parameters";
write "global ...;;";
FOR i := 1:MTTNvar DO
BEGIN
IF i<MTTNvar THEN write MTTVar(i,1), " ..."
ELSE write MTTVar(i,1), ";"
END;
END;
write "% Read in the input";
write "u = $1_input(t)";
write "% Read in the arguments";
|
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
|
cardno!* := 1$
fortwidth!* := 100$
OFF period$
MTTy := MTTy;
SHUT "$1_odeo.m";
|
<
|
119
120
121
122
123
124
125
126
127
128
129
130
131
132
|
cardno!* := 1$
fortwidth!* := 100$
OFF period$
MTTy := MTTy;
SHUT "$1_odeo.m";
|