forked from johannesgerer/jburkardt-f
-
Notifications
You must be signed in to change notification settings - Fork 1
/
f77_to_f90.html
133 lines (114 loc) · 2.8 KB
/
f77_to_f90.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
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
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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
<html>
<head>
<title>
F77_TO_F90: Convert FORTRAN77 to FORTRAN90
</title>
</head>
<body bgcolor="#EEEEEE" link="#CC0000" alink="#FF3300" vlink="#000055">
<h1 align = "center">
F77_TO_F90 <br> Convert FORTRAN77 to FORTRAN90
</h1>
<hr>
<p>
<b>F77_TO_F90</b>
is a FORTRAN90 program which
can convert FORTRAN77 codes to FORTRAN90 format.
</p>
<h3 align = "center">
Author:
</h3>
<p>
Michael Metcalfe
</p>
<h3 align = "center">
Source Code:
</h3>
<p>
<ul>
<li>
<a href = "f77_to_f90.f90">f77_to_f90.f90</a>, the source code.
</li>
<li>
<a href = "f77_to_f90.sh">f77_to_f90.sh</a>,
commands to compile and load the source code.
</li>
</ul>
</p>
<h3 align = "center">
Examples and Tests:
</h3>
<p>
<ul>
<li>
<a href = "prog.f">prog.f</a>,
a sample FORTRAN77 source code.
</li>
<li>
<a href = "prog.f90">prog.f90</a>,
the converted FORTRAN90 version.
</li>
</ul>
</p>
<h3 align = "center">
List of Routines:
</h3>
<p>
<ul>
<li>
<b>MAIN</b> is the main program.
</li>
<li>
<b>STRUCTURE</b> is a module defining the maximum DO nesting and statement length.
</li>
<li>
<b>DATA</b> is a module.
</li>
<li>
<b>STATISTICS</b> is a module.
</li>
<li>
<b>ALL_PROCEDURES</b> is a module containing all the procedures.
</li>
<li>
<b>ARGUMENT</b> stores the names of a routine and its arguments.
</li>
<li>
<b>BLANK</b> reformats the statement so a single blank separates most tokens.
</li>
<li>
<b>IDENTIFY</b> identifies statements belonging to DO's, IF's or FORMAT's.
</li>
<li>
<b>KEYWORD</b> cleans up a keyword that has been read.
</li>
<li>
<b>NAMEOF</b> picks out the name of a procedure.
</li>
<li>
<b>PROGRAM_UNITS</b> is the principal subroutine.
</li>
<li>
<b>REFORM</b> reformats and outputs accepted statements.
</li>
<li>
<b>SPECIAL</b> applies special treatment for peculiar Fortran syntax.
</li>
<li>
<b>START</b> prepares for PROGRAM_UNITS.
</li>
<li>
<b>TERMINATE</b> prints the final summary.
</li>
</ul>
</p>
<p>
You can go up one level to <a href = "../f_src.html">
the FORTRAN90 source codes</a>.
</p>
<hr>
<i>
Last revised on 27 April 2008.
</i>
<!-- John Burkardt -->
</body>
</html>