-
Notifications
You must be signed in to change notification settings - Fork 57
/
Copy pathfd1d_display.html
196 lines (164 loc) · 4.77 KB
/
fd1d_display.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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
<html>
<head>
<title>
FD1D_DISPLAY - Display 1D Finite Difference Data
</title>
</head>
<body bgcolor="#EEEEEE" link="#CC0000" alink="#FF3300" vlink="#000055">
<h1 align = "center">
FD1D_DISPLAY <br> Display 1D Finite Difference Data
</h1>
<hr>
<p>
<b>FD1D_DISPLAY</b>
is a MATLAB program which
reads a prefix defining a pair of files containing the nodes
and values for finite difference data, and displays
a plot.
</p>
<p>
The program is designed for cases in which the independent variable
data ranges over a single dimension, either of space, or of time.
</p>
<p>
Thus, it can be used to display results from a steady-state
model of heat, a 1D time-independent boundary value problem,
or the time variation of a predator-prey system in which there
is no spatial variation.
</p>
<h3 align = "center">
Usage:
</h3>
<p>
<blockquote>
<b>fd1d_display</b> ( <i>'prefix'</i> )
</blockquote>
where <i>'prefix'</i> is the common filename prefix of:
<ul>
<li>
<i>'prefix'</i><b>_nodes.txt</b>, containing the node coordinates;
</li>
<li>
<i>'prefix'</i><b>_values.txt</b>, containing one or more values
at each node;
</li>
</ul>
</p>
<h3 align = "center">
Licensing:
</h3>
<p>
The computer code and data files described and made available on this web page
are distributed under
<a href = "../../txt/gnu_lgpl.txt">the GNU LGPL license.</a>
</p>
<h3 align = "center">
Languages:
</h3>
<p>
<b>FD1D_DISPLAY</b> is available in
<a href = "../../m_src/fd1d_display/fd1d_display.html">a MATLAB version</a>.
</p>
<h3 align = "center">
Related Data and Programs:
</h3>
<p>
<a href = "../../m_src/fd_predator_prey/fd_predator_prey.html">
FD_PREDATOR_PREY</a>,
a MATLAB program which
applies a finite difference approach to a predator-prey system
with time dependence and no spatial variation.
</p>
<p>
<a href = "../../data/fd1d/fd1d.html">
FD1D</a>,
a data directory of examples of 1D FD files,
a set of two text files that can be used to describe
many 1D finite difference models;
</p>
<p>
<a href = "../../m_src/fd1d_bvp/fd1d_bvp.html">
FD1D_BVP</a>,
a MATLAB program which
applies the finite difference method
to a two point boundary value problem in one spatial dimension.
</p>
<p>
<a href = "../../m_src/fd1d_heat_steady/fd1d_heat_steady.html">
FD1D_HEAT_STEADY</a>,
a MATLAB program which
uses the finite difference method to solve the steady (time independent)
heat equation in 1D.
</p>
<p>
<a href = "../../m_src/fd1d_wave/fd1d_wave.html">
FD1D_WAVE</a>,
a MATLAB program which
applies the finite difference method to solve the time-dependent
wave equation in one spatial dimension.
</p>
<p>
<a href = "../../m_src/fem1d_display/fem1d_display.html">
FEM1D_DISPLAY</a>,
a MATLAB program which
reads a trio of files defining a 1D finite element model, and plots the data.
</p>
<h3 align = "center">
Source Code:
</h3>
<p>
<ul>
<li>
<a href = "fd1d_display.m">fd1d_display.m</a>,
the source code.
</li>
</ul>
</p>
<h3 align = "center">
Examples and Tests:
</h3>
<p>
<b>ARCTAN</b> contains sample data from the arctangent function
at 29 non-uniformly spaced nodes.
<ul>
<li>
<a href = "arctan_nodes.txt">arctan_nodes.txt</a>
</li>
<li>
<a href = "arctan_values.txt">arctan_values.txt</a>
</li>
<li>
<a href = "arctan.png">arctan.png</a>,
a PNG snapshot of the plot.
</li>
</ul>
</p>
<p>
<b>PAIR</b> shows how a plot is made when there are two columns of
data in the "values" file. The first column is a copy of the
original ARCTAN data, and the second column is some perturbed values.
<ul>
<li>
<a href = "pair_nodes.txt">pair_nodes.txt</a>
</li>
<li>
<a href = "pair_values.txt">pair_values.txt</a>
</li>
<li>
<a href = "pair.png">pair.png</a>,
a PNG snapshot of the plot.
</li>
</ul>
</p>
<p>
You can go up one level to <a href = "../m_src.html">
the MATLAB source codes</a>.
</p>
<hr>
<i>
Last revised on 28 January 2010.
</i>
<!-- John Burkardt -->
</body>
<!-- Initial HTML skeleton created by HTMLINDEX. -->
</html>