next up previous
Next: Low displacement rank matrices Up: A fast method for Previous: The Neumann boundary problem

The Robbins boundary problem

We are now ready to deduce a fast direct method for solving the Helmholtz equation.

$\displaystyle \frac{\partial^2 \phi}{\partial x^2} + \frac{\partial^2 \phi}{\partial y^2} + \lambda \phi = f(x,y),$

with Robbins boundary conditions, on all four sides.

\begin{displaymath}\begin{array}{lll} \Big( \frac{\partial \phi}{\partial x}-p_0...
...al y}-q_1 \phi \right)(x,a_2) & = & \beta_1(x). \\  \end{array}\end{displaymath} (13)

We place an $ n_{1} \times n_2$ grid on the rectangle $ [0,a_1] \times [0,a_2]$ and discretize the Helmholtz equation. The Robbins boundary conditions are approximated using central differences,

\begin{displaymath}\begin{array}{lll} \frac{1}{2 h_1} \left(u_{1,j}-u_{-1,j}\rig...
...\right) - q_1 u_{i,n_2} & \approx & \beta_{1,i},\\  \end{array}\end{displaymath} (14)

where $ h_1=a_1/n_1$ and $ h_2=a_2/n_2$. When using the classical five points difference scheme for the Helmholtz equation for $ i=0,1,\dots ,n_1$ and $ j=0,1,\dots, n_2$, we get

$\displaystyle u_{i,j} - \theta_1 (u_{i+1,j} + u_{i-1,j}) - \theta_2 (u_{i,j+1} + u_{i,j-1}) = -\delta f_{i,j},$ (15)

with $ \delta, \theta_1$ and $ \theta_2$ as in (5).

Using the equations (14) to eliminate the unknown parameters $ u_{-1,j}$, $ u_{n_1+1,j}$, $ u_{i,-1}$ and $ u_{i,n_2+1}$, we get the following linear system with unknowns $ u_{i,j}$ similar to (7)

$\displaystyle M_{RR} \mathbf{u} = \mathbf{b},$ (16)

$\displaystyle M_{RR} = \left[ \begin{array}{ccccc} A & 2 T & & &\\  T & A & T &...
... & & & \\  & & \ddots & & \\  & & & 0 & \\  & & & & -q_1 I \end{array} \right],$ (17)

where $ T$ and $ A$ are the same as in (9). We can write $ M_{RR}$ in the following form:

$\displaystyle M_{RR} = I \otimes A + X_{00}
\otimes T + \Gamma \otimes I,$

with

$\displaystyle X_{00} =\left[ \begin{array}{ccccc} 0 & 2 & & &\\  1 & 0 & 1 & & ...
... & & \\  & & \ddots & & \\  & & & 0 & \\  & & & & \gamma_1 \end{array} \right],$ (18)

where $ \gamma_0 = 2 h_2 \theta_2 q_0$ and $ \gamma_1 = - 2 h_2
\theta_2 q_1$. It is not hard to see that the problem above can be written as

$\displaystyle M_{RR} = M_{NN} + \Gamma \otimes I,$

with

$\displaystyle M_{NN} = I \otimes A + X_{00} \otimes T$ (19)

which is exactly the matrix of the Neumann problem as described in the previous section. We rearrange the equation $ M_{RR} \mathbf{u}
=\mathbf{b}$ as

$\displaystyle \mathbf{u} = M_{NN}^{-1} \mathbf{b} - M_{NN}^{-1} \left[ \begin{a...
...{0} \\  \vdots \\  \mathbf{0} \\  \gamma_1 \mathbf{u}_{n_2}\end{array} \right].$ (20)

It is obvious from the equation above that if we can find the two vectors $ \mathbf{u}_0 = \left(u_{i,0}\right)_{i=0}^{n_1}$ and $ \mathbf{u}_{n_2}=\left(u_{i,n_2}\right)_{i=0}^{n_1}$, we can solve the problem by successively solving two $ M_{NN}$ problems, for which the algorithm can be found in the previous section.


next up previous
Next: Low displacement rank matrices Up: A fast method for Previous: The Neumann boundary problem
Raf Vandebril 2004-04-19