-
Notifications
You must be signed in to change notification settings - Fork 41
/
fem2d_poisson_sparse_baffle.html
153 lines (129 loc) · 4.35 KB
/
fem2d_poisson_sparse_baffle.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
<html>
<head>
<title>
FEM2D_POISSON_SPARSE_BAFFLE - A Poisson Problem in a Region with Baffles
</title>
</head>
<body bgcolor="#EEEEEE" link="#CC0000" alink="#FF3300" vlink="#000055">
<h1 align = "center">
FEM2D_POISSON_SPARSE_BAFFLE <br> A Poisson Problem in a Region with Baffles
</h1>
<hr>
<p>
<b>FEM2D_POISSON_SPARSE_BAFFLE</b>
is a C++ library which
defines the geometry and other data for the "baffle" problem,
a rectangular region with 13 hexagonal baffles.
The problem is suitable for solution by <b>fem2d_poisson_sparse</b>.
</p>
<p>
The region is a rectangle with lower left corner (0.0,1.0) and upper right corner
(12.0,7.0). The mesh was created using MESH2D, with a maximum element size of 0.5.
The mesh comprises 512 nodes and 874 elements.
</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>FEM2D_POISSON_SPARSE_BAFFLE</b> is available in
<a href = "../../cpp_src/fem2d_poisson_sparse_baffle/fem2d_poisson_sparse_baffle.html">a C++ version</a> and
<a href = "../../f_src/fem2d_poisson_sparse_baffle/fem2d_poisson_sparse_baffle.html">a FORTRAN90 version</a> and
<a href = "../../m_src/fem2d_poisson_sparse_baffle/fem2d_poisson_sparse_baffle.html">a MATLAB version</a>.
</p>
<h3 align = "center">
Related Data and Programs:
</h3>
<p>
<a href = "../../cpp_src/fem2d_poisson_sparse/fem2d_poisson_sparse.html">
FEM2D_POISSON_SPARSE</a>,
a C++ program which
solves the steady (time independent) Poisson equation on an arbitrary
2D triangulated region using MATLAB's sparse solver.
</p>
<p>
<a href = "../../cpp_src/fem2d_poisson_sparse_ell/fem2d_poisson_sparse_ell.html">
FEM2D_POISSON_SPARSE_ELL</a>,
a C++ library which
defines the geometry of an L-shaped region, as well as boundary
conditions for a given Poisson problem, and is called by
fem2d_poisson_sparse as part of a solution procedure.
</p>
<p>
<a href = "../../cpp_src/fem2d_poisson_sparse_lake/fem2d_poisson_sparse_lake.html">
FEM2D_POISSON_SPARSE_LAKE</a>,
a C++ library which
defines the geometry of a lake-shaped region, as well as boundary
conditions for a given Poisson problem, and is called by
fem2d_poisson_sparse as part of a solution procedure.
</p>
<h3 align = "center">
Source Code:
</h3>
<p>
<ul>
<li>
<a href = "baffle.cpp">baffle.cpp</a>,
the user-supplied routines to evaluate the right hand side,
linear coefficient, and boundary conditions;
</li>
<li>
<a href = "baffle_nodes.txt">baffle_nodes.txt</a>,
a text file containing a list, for each node, of its X and Y
coordinates;
</li>
<li>
<a href = "baffle_nodes.png">baffle_nodes.png</a>,
a PNG image of
the nodes;
</li>
<li>
<a href = "baffle_elements.txt">baffle_elements.txt</a>,
a text file containing a list, for each element, of the three
nodes that compose it;
</li>
<li>
<a href = "baffle_elements.png">baffle_elements.png</a>,
a PNG image of
the element mesh;
</li>
</ul>
</p>
<h3 align = "center">
Examples and Tests:
</h3>
<p>
<ul>
<li>
<a href = "baffle.sh">baffle.sh</a>,
commands to compile the user routines, link them with
the partial program, and run the program;
</li>
<li>
<a href = "baffle_output.txt">baffle_output.txt</a>,
the output file;
</li>
<li>
<a href = "baffle_values.txt">baffle_values.txt</a>,
a text file containing the solution U at each node (X,Y);
</li>
</ul>
</p>
<p>
You can go up one level to <a href = "../cpp_src.html">
the C++ source code page</a>.
</p>
<hr>
<i>
Last revised on 25 January 2013.
</i>
<!-- John Burkardt -->
</body>
</html>