Next: The Robbins boundary problem
Up: A fast method for
Previous: Introduction
In this section we will briefly review a fast method to solve the
Helmholtz equation on a rectangle with Neumann boundary conditions. This problem can
easily be solved using a fast transformation. And as it will be shown
in the next section, this is an important property in solving the
Robbins boundary problem, in which we can twice use the techniques we
are about to describe. In this point of view as mentioned in the
abstract, the Robbins boundary problem can be split into two cheaper
problems of which one can be solved using the Neumann boundary
problem. First we will describe the solution to this problem, which is very similar to a method in the book of Pickering [24].
We take the Helmholtz equation,
 |
(1) |
on a rectangle
with Neumann boundary conditions on two parallel sides, e.g. on the sides
and
.
 |
(2) |
The boundary conditions on the two other sides
and
are arbitrary, e.g. of Robbins type (with
),
 |
(3) |
We divide
(resp.
) into
(resp.
) equal parts and when using the classical five points difference scheme for
and
, we get
 |
(4) |
with
 |
(5) |
and where
is the approximated value of
in the grid
point
and in the same way we define
as the value of
in the grid point
.
Approximating the boundary conditions with central differences we can
substitute
and
by
 |
(6) |
with
. This gives us a system of equations
with unknowns
for
and
where
![$\displaystyle \mathbf{u}=\left[ \begin{array}{c} \mathbf{u}_0\\ \mathbf{u}_1\\...
...begin{array}{c} u_{0,j}\\ u_{1,j}\\ \vdots \\ u_{n_1,j} \end{array} \right].$](img37.png) |
(7) |
and
is the following block matrix
![$\displaystyle M_{NN}= \left[ \begin{array}{ccccc} A & 2 T & & &\\ T & A & T & ...
...ots & \ddots & \ddots &\\ & & T & A & T \\ & & & 2 T & A \end{array} \right],$](img39.png) |
(8) |
where
and
are of the form:
and
![$\displaystyle A=\left[ \begin{array}{cccc} 1 + 2 h_1 p_0 \theta_1 & - 2 \theta_...
...& - \theta_1 \\ & & - 2 \theta_1 & 1 - 2 h_1 p_1 \theta_1 \end{array} \right],$](img43.png) |
(9) |
with
and
as in (5).
It is a well-known fact that a matrix like
of size
with
and
scalars, can be diagonalized in the
following sense
with
and
, where
and
To prove this, write the matrix
as
with
as in
(18), and then use the formula (27).
A more compact form for the matrix
is
with
 |
(10) |
(When we explicitely want to denote the size of the matrix
we
denote it as
.) The matrix
is the matrix of one of the
versions of the discrete cosine transform (
), [13,1,6,28,36]. This matrix is nor symmetric,
nor persymmetric but satisfies
.
Before we can continu we need some new notations. The symbol
denotes the Kronecker product of matrices [10]. For a
-matrix
and a
-matrix
the Kroneckerproduct
is a
-matrix
defined as
It is obvious that the matrix
has a block structure with
block rows and
block columns. We denote the
th block submatrix
of
with
. The
th element of
is denoted as
and equals
.
In a similar way as in the scalar case it can be shown that the matrix
can be factorised in the following way,
 |
(11) |
with
a block diagonal matrix with blocks
 |
(12) |
We now present the algorithm for solving the Helmholtz equation with
the Neumann boundary conditions. We use an operator called
which
means that we make a long vector from a matrix by placing all the
columns of the matrix one below the other.
algorithm 1
Solving

where

is the
block tridiagonal matrix of size

, given by
(
8), with

and

of size

as in (
9). Let

with

(and the same for

,

,

).
-
- for
:
solve the systems of equations
for
-
The transformations in the first and the final step are
cosine transformations on the rows of the matrix
(resp.
). Such a transformation of length
can be
done using the Fast Fourier Transform (FFT) in
flops [33,22]), so we get a complexity of
, because
and
are tridiagonal (under the assumption that
is a power of 2, or has at least small prime factors).
Next: The Robbins boundary problem
Up: A fast method for
Previous: Introduction
Raf Vandebril
2004-04-19