Bandwidth Minimization Algorithm For Finite Element Mesh
Bandwidth Minimization Algorithm For Finite Element Mesh
1, November 1981
Takeo TANIGUCHI*
Synopsis
1. Introduction
A x =b (1 )
, and as its solver Band Matrix Method is most commonly used. But,
since the efficiency of the solver (i.e. the execution time and memory)
wholly depends on how we can decrease the half bandwidth of A in eq.(l),
a number of renumbering algorithms have been proposed in the last
decade[1,2,3,4]. But, we may say that all of them are proposed for
general purpose but not only for the finite element models.
On the other hand, the conditions required for the renumbering
algorithm are 1). less execution time and 2). better result. Then, it
is hopeful that the introduction of the characteristics of the finite
* Department of Civil Engineering
147
148 Takeo TANIGUCHI
element mesh systems may improve above two conditions, even if the new
algorithm can be applied only for the finite element mesh.
For the general purpose renumbering algorithms only the connect-
ivity relationship between vertices in a graph obtained from A matrix
is used, and, then, for the finite element mesh what kind of addition-
al informations are allowed to use? Since FEM is applied only for
the problem with boundaries and the vertices on the boundaries are
placed by the analyst, himself, they are easily distinguished from the
residuals. That is, the matter that the vertices in the graph may be
divided into two groups is the first information. Second information
is that the finite element mesh system is rather systematic and simple
comparing to the graph obtained from general linear equations, because
the mesh patterns used in FEM have the restrictions of numerical and
discretization errors.
Among these two additional informations the first one is already
introduced in the renumbering method by Taniguchi and Shiraishi[Sl,
and they proposed a quite different starategy for minimizing the band-
width. Then, in this paper the second information is introduced in
their algorithm and its improvement is tried. The result of this
improvement is that the execution time decreases to about one half of
original one and that the obtained half bandwidth is as good as the
original one gives.
2. Taniguchi-Shiraishi Algorithm
n
HBW max (j - i) (2)
i=l
HBW = max ! j - i (3 )
v. E adj. v.
J 1
, where v. and v. are vertices labeled "i" and "j", respectively, and
1 J
the relation of v. E adj. v. indicates that v. is a member of vertices
J 1 J
adjacent to vi'
In order to minimize HBW, row and column permutations are neccessary
for eq.(2), and vertex-renumbering for eq.(3). That is, the minimi-
zation requires numerous repetitions of above procedures.
Bandwidth Minimization Algorithm for Finite Element Mesh 149
(4)
( 6)
The number £ is called the length of the level structure, and the
width w(L) of the level structure is defined by
Then,
HBW ex W ( 8)
That is, since the width of the level structure determines the half
bandwidth, how to minimize the width is almost equivalent to the
minimization of HBW.
Cuthill-McKee algorithm which is the most popular method is as
following: At first, select vertices which satisfy a condition required
by the user, and construct as many level structures from each selected
vertex as the number of selected vertices, and choose one level
structure which gives the smallest width among them.
On the other hand, well-known Gibbs-Poole-Stockmeyer algorithm is
as following: At first, find out two vertices which locate at both ends
of the longitudinal axis of the graph, and construct two level structures
from them, and reconstruct only one level structure by using them as
its width is minimized.
Let's consider above two methods on a finite element model of a
two-dimensional continuum like a plate. Since the condition of the
starting vertex in Cuthill-McKee algorithm intends to find out appro-
priate vertices on the boundary, we may say that C-M Algorithm,too,
constru8ts level structures from end of graph as G-P-S algorithm'does.
But, successive construction of L i from L - or L + oftenly enlarges
i l i l
the width of the obtained level structure. Therefore, G-P-S algorithm
has the step to reconstruct level structure. Anyhow, both of them
aim to find out the width of the graph by successive construction of
level structure from the end of the longitudinal axis of the graph.
150 Takeo TANIGUCHI
, where g' (r') is the first set of vertices which includes more than
two boundary vertices, namely u and u • Then, the shortest path
2 3
connecting u 2 ' u and u in this ordering may locates at the widest
l 3
portion of the graph, that is, it may coincide the width of the level
structure which governs the minimum half bandwidth.
Above idea for searching the
width of a level structure is direct- L(1 )
gil) g(o) Let L(2)
ly introduced in the renumbering
method by Taniguchi and Shiraishi 'I"~ ""~""'
as following. As the input data
we prepare not only the connect-
~~ Step 1 Step 8
ivity between vertices but also t
5+1 s+r+l
additional data, that is, the number
of boundary vertices g(O) which are
numerically ordered clockwisely
from an arbitrarily selected vertex SH
Step 2 Step 9-Step 10
, labeled "1", and the imaginary
+8 •
connectivity for vertices in other
boundaries.
in Fig.1.
ALGORITHM
Step 1.
This algorithm is
Step 12 -13
~~---n::..-_-*--_----.:*---~:r----?lE-
L.
1
~l--~----JI-----3"-----:.---.---~ L i +1
Fig.3 Quadrilateral Finite Element Mesh
Bandwidth Minimization Algorithm for Finite Element Mesh 153
The input data are 1). the number of vertices N, 2). the number
of outer boundary vertices NLE, 3) the interior boundary vertices,
and 4) . the connectivity relations between all vertices. Furthermore,
we give imaginary vertex for each interior boundary and also give
the imaginary connectivity between the imaginary vertex and all vertices
on the boundary.
156 Takeo TANIGUCHI
Algorithm
D < D. + ~ D (11)
" m~n m max
, where D. and 0
are the minimum and the maximum degrees in the
m~n max
graph, respectively, and "n" and "m" are the two parameters which
the user can determine. For our numerical experiments we take
1) .n=O, and 2). n=l and m=2, and they are called Method 1 and Method 2
, respectively. Among them, Method 1 is the fastest case for Cuthill
-McKee algorithm, because the starting vertex must satisfy the minimum
degree. Furthermore, the author modified Cuthill-McKee algorithm by
adding the procedure of finding the starting vertex which is proposed
Bandwidth Minimization Algorithm for Finite Element Mesh 157
Fig.6 Example 1
(42 vertices)
12
158 Takeo TANIGUCHI
5. Concluding Remarks
Acknowledgement
References