10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# Copyright (c) P.J.Gawthrop, 1989, 1990, 1991, 1993,1994.
###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.1 1996/08/12 19:09:13 peter
## Initial revision
##
###############################################################
#Inform user
echo Creating $1_dm.m
|
>
>
>
>
|
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# Copyright (c) P.J.Gawthrop, 1989, 1990, 1991, 1993,1994.
###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.2 1996/08/12 20:22:20 peter
## Paramaters passed via an internal call to _numpar.
## _args script can overide these parameters - sneaky.
##
## Revision 1.1 1996/08/12 19:09:13 peter
## Initial revision
##
###############################################################
#Inform user
echo Creating $1_dm.m
|
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
|
END;
write "% Read in the arguments";
write "$1_args";
END;
ON NERO; % Suppress zero elements.
%Fortran switches - one line expressions
OFF echo;
ON fort$
cardno!* := 1$
fortwidth!* := 100$
OFF period$
MTTN := MTTNx + 2*MTTNz + MTTNyz;
write "MTTA = zeros(", MTTN, ",", MTTN, ");";
MTTA := MTTA;
write "MTTB = zeros(", MTTN, ",", MTTNu, ");";
MTTB := MTTB;
write "MTTC = zeros(", MTTNy, ",", MTTN, ");";
MTTC := MTTC;
write "MTTD = zeros(", MTTNy, ",", MTTNu, ");";
MTTD := MTTD;
write "MTTE = zeros(", MTTN, ",", MTTN, ");";
MTTE := MTTE;
SHUT "$1_dm.m";
|
<
|
>
>
>
|
|
|
>
<
<
<
<
<
<
|
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
|
END;
write "% Read in the arguments";
write "$1_args";
END;
%Fortran switches - one line expressions
OFF echo;
ON fort$
cardno!* := 1$
fortwidth!* := 100$
OFF period$
MTTN := MTTNx + 2*MTTNz + MTTNyz;
write "MTTA = zeros(", MTTN, ",", MTTN, ");";
write "MTTB = zeros(", MTTN, ",", MTTNu, ");";
write "MTTC = zeros(", MTTNy, ",", MTTN, ");";
write "MTTD = zeros(", MTTNy, ",", MTTNu, ");";
write "MTTE = zeros(", MTTN, ",", MTTN, ");";
ON NERO; % Suppress zero elements.
MTTA := MTTA;
MTTB := MTTB;
MTTC := MTTC;
MTTD := MTTD;
MTTE := MTTE;
SHUT "$1_dm.m";
|