• Research
• Open Access

# Approximation on the hexagonal grid of the Dirichlet problem for Laplace’s equation

Boundary Value Problems20142014:73

https://doi.org/10.1186/1687-2770-2014-73

• Received: 28 November 2013
• Accepted: 9 March 2014
• Published:

## Abstract

The fourth order matching operator on the hexagonal grid is constructed. Its application to the interpolation problem of the numerical solution obtained by hexagonal grid approximation of Laplace’s equation on a rectangular domain is investigated. Furthermore, the constructed matching operator is applied to justify a hexagonal version of the combined Block-Grid method for the Dirichlet problem with corner singularity. Numerical examples are illustrated to support the analysis made.

MSC:35A35, 35A40, 35C15, 65N06, 65N15, 65N22, 65N99.

## Keywords

• Laplace’s equation
• Dirichlet boundary value problem
• hexagonal grids
• matching operator
• interpolation for harmonic functions
• singularity
• Block-Grid method

## 1 Introduction

When solving PDEs, many approximate methods, such as overlapping versions of domain decomposition, composite grids and different types of combined methods, use the matching operator to connect the subsystems within them. Hence, the approximation of the solutions relies heavily on the order of accuracy of the matching operator, as well as on the order of accuracy of the subsystems. In  and , the second order matching operator is used to construct and justify the second order composite grid method for solving Laplace’s boundary value problems. In , the fourth order matching operator is constructed and used for the fourth order composite grids and in  and  it is used for the fourth order Block-Grid method. In , the sixth order matching operator is constructed for the Block-Grid method and it is used for the sixth order composite grids in .

In all of the above mentioned papers, the fourth and sixth order matching operators were constructed on the basis of the 9-point finite difference solution of Laplace’s equation on square grids. In this paper, the matching operator is constructed for the solution of the Dirichlet problem on a hexagonal grid. In order to approximate the given differential equations at each regular node ${P}_{0}$ on a hexagonal grid, the six equidistant nodes surrounding ${P}_{0}$ are used, and the truncation error obtained is $O\left({h}^{4}\right)$. Thus, we obtain the same order of accuracy when using the 7-point scheme on the hexagonal grid, as we do when using the 9-point scheme on the rectangular grid (see ). This has many computational advantages such as (i) the matrix of the system will contain seven diagonals rather than nine and will lead to less use of memory space, (ii) the calculations will require less computational effort and (iii) the algorithm will be easier to implement. Hexagonal grids are favored in many applied problems in dynamical meteorology and dynamical oceanography as well (see ), due to the benefits a hexagonal grid provides, compared to a rectangular grid.

Even though using a hexagonal grid has the above mentioned advantages, it has not been used before in methods such as composite grids, domain decomposition, and combined methods, as the fourth order matching operator for connecting the subsystems together was not constructed. In this paper, in Section 2, the approximate solution in a hexagonal grid on a rectangular domain is analyzed. In Section 3 a fourth order matching operator is constructed and its application to find the fourth order accurate approximate solution on the closed domain is considered. Section 4 contains the justification of using a hexagonal grid for the solution of Laplace’s equation on a staircase polygon, with the use of the Block-Grid method. This method requires the application of the matching operator constructed in Section 3 and gives an overall fourth order accuracy. Numerical examples are illustrated in Section 5 to support the analysis made.

## 2 Approximation in the hexagonal grid of the Dirichlet problem on a rectangle

Let $\mathrm{\Pi }=\left\{\left(x,y\right):0 be a rectangle, ${\gamma }_{j}$, $j=1,2,3,4$, be its sides, including the ends, enumerated counterclockwise starting from left (${\gamma }_{0}\equiv {\gamma }_{4}$, ${\gamma }_{1}\equiv {\gamma }_{5}$), $\gamma ={\bigcup }_{j=1}^{4}{\gamma }_{j}$ be the boundary of Π, and let ${A}_{j}={\gamma }_{j-1}\cap {\gamma }_{j}$ be the j th vertex. We consider the boundary value problem
(2.1)
(2.2)
where $\mathrm{\Delta }={\partial }^{2}/\partial {x}^{2}+{\partial }^{2}/\partial {y}^{2}$, ${\phi }_{j}$ is a given function of arclength s taken along γ, and
${\phi }_{j}\in {C}^{6,\lambda }\left({\gamma }_{j}\right),\phantom{\rule{1em}{0ex}}0<\lambda <1,j=1,2,3,4.$
(2.3)
At the vertices $s={s}_{j}$ (${s}_{j}$ is the beginning of ${\gamma }_{j}$), the conjugation conditions
${\phi }_{j}^{\left(2q\right)}\left({s}_{j}\right)={\left(-1\right)}^{q}{\phi }_{j-1}^{\left(2q\right)}\left({s}_{j}\right),\phantom{\rule{1em}{0ex}}q=0,1,2,3,$
(2.4)

are satisfied.

Let $h>0$, with $a/h\ge 2$, $b/\sqrt{3}h\ge 2$ integers. We assign ${\mathrm{\Pi }}^{h}$ a hexagonal grid on Π, with step size h, defined as the set of nodes
${\mathrm{\Pi }}^{h}=\left\{\left(x,y\right)\in \mathrm{\Pi }:x=\frac{k-j}{2}h,y=\frac{\sqrt{3}\left(k+j\right)}{2}h,k=1,2,\dots ;j=0±1±2,\dots \right\}.$
(2.5)

Let ${\gamma }_{j}^{h}$ be the set of nodes on the interior of ${\gamma }_{j}$, and let ${\stackrel{˙}{\gamma }}_{j}^{h}={\gamma }_{j}\cap {\gamma }_{j+1}$, ${\gamma }^{h}=\bigcup \left({\gamma }_{j}^{h}\cup {\stackrel{˙}{\gamma }}_{j}^{h}\right)$, ${\overline{\mathrm{\Pi }}}^{h}={\mathrm{\Pi }}^{h}\cup {\gamma }^{h}$. Also let ${\mathrm{\Pi }}^{\ast h}$ denote the set of nodes whose distance from the boundary γ of $\overline{\mathrm{\Pi }}$ is $\frac{h}{2}$ and ${\mathrm{\Pi }}^{0h}={\mathrm{\Pi }}^{h}\mathrm{\setminus }{\mathrm{\Pi }}^{\ast h}$.

We consider the system of finite difference equations
(2.6)
(2.7)
(2.8)
where
$\begin{array}{rl}Su\left(x,y\right)=& \frac{1}{6}\left(u\left(x+h,y\right)+u\left(x+\frac{h}{2},y+\frac{\sqrt{3}}{2}h\right)+u\left(x-\frac{h}{2},y+\frac{\sqrt{3}}{2}h\right)\\ +u\left(x-h,y\right)+u\left(x-\frac{h}{2},y-\frac{\sqrt{3}}{2}h\right)+u\left(x+\frac{h}{2},y-\frac{\sqrt{3}}{2}h\right)\right),\end{array}$
(2.9)
$\begin{array}{rl}{S}_{j}^{\ast }u\left(x,y\right)=& \frac{1}{7}\left(u\left(x+\frac{h}{2},y-\frac{\sqrt{3}h}{2}\right)+u\left(x+h,y\right)\\ +u\left(x+\frac{h}{2},y+\frac{\sqrt{3}h}{2}\right)\right),\end{array}$
(2.10)
${E}_{jh}^{\ast }\left({\phi }_{j}\right)=\frac{1}{21}\left(2{\phi }_{j}\left(y+\frac{\sqrt{3}h}{2}\right)+8{\phi }_{j}\left(y\right)+2{\phi }_{j}\left(y-\frac{\sqrt{3}h}{2}\right)\right).$
(2.11)

From formulae (2.9) and (2.10) it follows that the coefficients of the expressions $Su\left(x,y\right)$ and ${S}_{j}^{\ast }u\left(x,y\right)$ are non-negative, and their sums do not exceed one. Hence, on the basis of the maximum principle, it follows that the solution of system (2.6)-(2.8) exists and it is unique (see ).

Everywhere below we will denote constants which are independent of h and of the cofactors on their right by $c,{c}_{0},{c}_{1},\dots$ , generally using the same notation for different constants for simplicity.

Lemma 2.1 Let
and
where ${f}_{h}$, ${\overline{f}}_{h}$, ${\overline{f}}_{h}^{\ast }$ and ${\overline{\eta }}_{h}$ are arbitrary grid functions. If the conditions
${\overline{f}}_{h}^{\ast }\ge 0,\phantom{\rule{2em}{0ex}}|{f}_{h}|\le \overline{{f}_{h}},\phantom{\rule{1em}{0ex}}\mathit{\text{and}}\phantom{\rule{1em}{0ex}}{\overline{\eta }}_{h}\ge 0$
are satisfied, then
$|{v}_{1}|\le {v}_{2}.$

Proof The proof of this lemma is similar to the proof of the comparison theorem (see Ch. 4 in ). □

Theorem 2.2 Let u be the solution of problem (2.1), (2.2) and ${u}_{h}$ be the solution of system (2.6)-(2.8), then
$\underset{{\overline{\mathrm{\Pi }}}^{h}}{max}|{u}_{h}-u|\le c{h}^{4}.$
(2.12)
Proof Let
${ϵ}_{h}={u}_{h}-u,$
where u is the trace of the solution of problem (2.1), (2.2) on ${\overline{\mathrm{\Pi }}}^{h}$, and ${u}_{h}$ is the solution of system (2.6)-(2.8). Then, the error function ${ϵ}_{h}$ satisfies the following system:
(2.13)
(2.14)
(2.15)
where
${\mathrm{\Psi }}_{h}=Su-u,$
(2.16)
${\mathrm{\Psi }}_{h}^{\ast }={S}_{j}^{\ast }u-u+{E}_{jh}^{\ast }\left({\phi }_{j}\right)$
(2.17)

are the truncation errors of equations (2.6) and (2.7), respectively.

On the basis of conditions (2.3) and (2.4), from Theorem 3.1 in  it follows that $u\in {C}^{6,\lambda }\left(\overline{\mathrm{\Pi }}\right)$, $0<\lambda <1$. Then, by Taylor’s formula, we obtain (see )
$\underset{\left(x,y\right)\in \overline{\mathrm{\Pi }}}{max}|{\mathrm{\Psi }}_{h}\left(x,y\right)|\le {c}_{1}{h}^{6}{M}_{6},$
(2.18)
where
${M}_{j}=\underset{\left(x,y\right)\in \overline{\mathrm{\Pi }}}{sup}\left\{|\frac{{\partial }^{j}u\left(x,y\right)}{\partial {x}^{i}\phantom{\rule{0.2em}{0ex}}\partial {y}^{j-i}}|,i=0,1,\dots ,j\right\}.$
We represent the solution of (2.13)-(2.15) as
${ϵ}_{h}={ϵ}_{h}^{1}+{ϵ}_{h}^{2},$
(2.19)
where
and
By taking the function as ${v}_{2}={h}^{4}{c}_{1}{M}_{6}\left({a}^{2}+{b}^{2}-{x}^{2}-{y}^{2}\right)$ in Lemma 2.1, we obtain
$\underset{\left(x,y\right)\in {\mathrm{\Pi }}^{h}}{max}|{ϵ}_{h}^{1}|\le \underset{\left(x,y\right)\in \overline{\mathrm{\Pi }}}{max}|{v}_{2}|\le {c}_{2}{h}^{4}{M}_{6}.$
(2.20)
Using Taylor’s formula about each of the points $\left(\frac{h}{2},y\right)\in {\mathrm{\Pi }}^{\ast h}$ and from (2.17), we have
$\underset{\left(x,y\right)\in {\mathrm{\Pi }}^{\ast h}}{max}|{\mathrm{\Psi }}^{\ast }|\le {c}_{3}{M}_{4}{h}^{4}.$
On the basis of the maximum principle, we obtain
$\underset{\left(x,y\right)\in {\mathrm{\Pi }}^{h}}{max}|{ϵ}_{h}^{2}|\le \frac{7}{4}\underset{\left(x,y\right)\in {\mathrm{\Pi }}^{\ast h}}{max}|{\mathrm{\Psi }}_{h}^{\ast }|\le {c}_{4}{M}_{4}{h}^{4}.$
(2.21)
From (2.19), (2.20), and (2.21) it follows that
$\underset{\left(x,y\right)\in {\overline{\mathrm{\Pi }}}^{h}}{max}|{ϵ}_{h}|\le c{h}^{4}.$
(2.22)

□

Remark 2.3 Estimation (2.12) remains true when ${E}_{jh}^{\ast }\left({\phi }_{j}\right)$ in system (2.6)-(2.8) is replaced by
${E}_{j,h}^{\ast }=\frac{1}{7}{\phi }_{j}\left(y-\frac{\sqrt{3}h}{2}\right)+\frac{1}{7}{\phi }_{j}\left(y+\frac{\sqrt{3}h}{2}\right)+\frac{2}{7}{\phi }_{j}\left(y\right)-\frac{{h}^{2}}{2!14}{\phi }_{j}^{\left(2\right)}\left(y\right)+\frac{{h}^{4}}{4!56}{\phi }_{j}^{\left(4\right)}\left(y\right).$

## 3 Construction of the fourth order matching operator

Let $z=x+iy$ be a complex variable, and let $\mathrm{\Omega }=\left\{z:|z|<1\right\}$ be a unit circle. For a harmonic function u on Ω with $u\in {C}^{4,0}\left(\overline{\mathrm{\Omega }}\right)$, by Taylor’s formula, any point $\left(x,y\right)\in \mathrm{\Omega }$ can be represented as
$u\left(x,y\right)=\sum _{k=0}^{3}{a}_{k}Re{z}^{k}+\sum _{k=1}^{3}{b}_{k}Im{z}^{k}+O\left({r}^{4}\right),$
(3.1)
where $r=\sqrt{{x}^{2}+{y}^{2}}$,
$\begin{array}{c}{a}_{0}=u\left(0,0\right),\phantom{\rule{2em}{0ex}}{a}_{1}=\frac{\partial u\left(0,0\right)}{\partial x},\phantom{\rule{2em}{0ex}}{a}_{2}=\frac{1}{2}\frac{{\partial }^{2}u\left(0,0\right)}{\partial {x}^{2}},\phantom{\rule{2em}{0ex}}{a}_{3}=\frac{1}{3!}\frac{{\partial }^{3}u\left(0,0\right)}{\partial {x}^{3}},\hfill \\ {b}_{1}=\frac{\partial u\left(0,0\right)}{\partial y},\phantom{\rule{2em}{0ex}}{b}_{2}=\frac{1}{2}\frac{{\partial }^{2}u\left(0,0\right)}{\partial x\phantom{\rule{0.2em}{0ex}}\partial y},\phantom{\rule{2em}{0ex}}{b}_{3}=\frac{1}{3!}\frac{{\partial }^{3}u\left(0,0\right)}{\partial {x}^{2}\phantom{\rule{0.2em}{0ex}}\partial y}.\hfill \end{array}$
By analogy with the idea used in , we construct the operator ${S}^{4}$ from the condition that the expression
${S}^{4}u=\sum {\xi }_{k}{u}_{k},$
where ${u}_{k}=u\left({P}_{k}\right)$, ${P}_{k}$ is a node of the hexagonal grid ${\mathrm{\Pi }}^{h}$, gives the exact value of any harmonic polynomial
${F}_{3}\left(x,y\right)=\sum _{k=0}^{3}{a}_{k}Re{z}^{k}+\sum _{k=1}^{3}{b}_{k}Im{z}^{k},$
at each point $P\in \mathrm{\Pi }$, and
${\xi }_{k}\ge 0,\phantom{\rule{2em}{0ex}}\sum {\xi }_{k}\le 1.$

Let ${\mathrm{\Pi }}_{0}$ denote the set of points $P\in \mathrm{\Pi }$ such that all the nodes ${P}_{k}$ to determine the expression ${S}^{4}u$ belong to ${\overline{\mathrm{\Pi }}}^{h}$, and ${\mathrm{\Pi }}_{01}$ contain the points P, where some of the nodes ${P}_{k}$ emerge through the side ${\gamma }_{j}$, $j=1,2,3,4$. We construct the fourth order matching operator ${S}^{4}$ by considering the cases when the point P belongs to one of the sets ${\mathrm{\Pi }}_{0}$ or ${\mathrm{\Pi }}_{01}$.

Case 1. The point $P\in {\mathrm{\Pi }}_{0}$ lies on the line connecting two neighboring grid nodes (a grid line).

We place the origin of the rectangular system of coordinates on the node ${P}_{0}$ and direct the positive axis of x along the grid line, so that $P=P\left(\delta h,0\right)$, $0<\delta \le 1/2$, and take the nodes.
$\begin{array}{c}{P}_{0}\left(0,0\right),\phantom{\rule{2em}{0ex}}{P}_{1}\left(h,0\right),\phantom{\rule{2em}{0ex}}{P}_{2}\left(\frac{h}{2},\frac{\sqrt{3}h}{2}\right),\phantom{\rule{2em}{0ex}}{P}_{3}\left(-\frac{h}{2},\frac{\sqrt{3}h}{2}\right),\hfill \\ {P}_{4}\left(\frac{h}{2},-\frac{\sqrt{3}h}{2}\right),\phantom{\rule{2em}{0ex}}{P}_{5}\left(-\frac{h}{2},-\frac{\sqrt{3}h}{2}\right).\hfill \end{array}$
First, we find the coefficients ${\lambda }_{j}^{\prime }$, $j=0,1,2,3$, such that the representation
${u}_{0}={\lambda }_{0}^{\prime }u+{\lambda }_{1}^{\prime }{u}_{1}+{\lambda }_{2}^{\prime }{u}_{2}+{\lambda }_{3}^{\prime }{u}_{3}$
(3.2)
is true for the harmonic polynomials $Re{z}^{n}$, $n=0,1,2,3$, where $u=u\left(P\right)$, ${u}_{k}=u\left({P}_{k}\right)$, $k=0,1,2,3$, $z=x+iy$. This gives the system
$\begin{array}{r}{\lambda }_{0}^{\prime }+{\lambda }_{1}^{\prime }+{\lambda }_{2}^{\prime }+{\lambda }_{3}^{\prime }=1,\\ \delta {\lambda }_{0}^{\prime }+{\lambda }_{1}^{\prime }+\frac{1}{2}{\lambda }_{2}^{\prime }-\frac{1}{2}{\lambda }_{3}^{\prime }=0,\\ {\delta }^{2}{\lambda }_{0}^{\prime }+{\lambda }_{1}^{\prime }-\frac{1}{2}{\lambda }_{2}^{\prime }-\frac{1}{2}{\lambda }_{3}^{\prime }=0,\\ {\delta }^{3}{\lambda }_{0}^{\prime }+{\lambda }_{1}^{\prime }-{\lambda }_{2}^{\prime }+{\lambda }_{3}^{\prime }=0.\end{array}$
(3.3)
By solving system (3.3) and rearranging (3.2) for u, we obtain the equation
$u=\frac{{u}_{0}}{{\lambda }_{0}^{\prime }}-\frac{{\lambda }_{1}^{\prime }}{{\lambda }_{0}^{\prime }}{u}_{1}-\frac{{\lambda }_{2}^{\prime }}{{\lambda }_{0}^{\prime }}{u}_{2}-\frac{{\lambda }_{3}^{\prime }}{{\lambda }_{0}^{\prime }}{u}_{3}.$
(3.4)
We now take into consideration the nodes ${P}_{4}\left(\frac{h}{2},-\frac{\sqrt{3}h}{2}\right)$ and ${P}_{5}\left(-\frac{h}{2},-\frac{\sqrt{3}h}{2}\right)$ which are symmetric to the points ${P}_{2}$ and ${P}_{3}$, respectively, with respect to the x-axis. Since $Im{z}^{k}=0$, $k=1,2,3$ for $y=0$, and odd with respect to y, and $Re{z}^{k}$, $k=0,1,2,3$, is even with respect to y, from (3.4) we have
$u=\frac{{u}_{0}}{{\lambda }_{0}^{\prime }}-\frac{{\lambda }_{1}^{\prime }}{{\lambda }_{0}^{\prime }}{u}_{1}-\frac{{\lambda }_{2}^{\prime }}{2{\lambda }_{0}^{\prime }}{u}_{2}-\frac{{\lambda }_{3}^{\prime }}{2{\lambda }_{0}^{\prime }}{u}_{3}-\frac{{\lambda }_{2}^{\prime }}{2{\lambda }_{0}^{\prime }}{u}_{4}-\frac{{\lambda }_{3}^{\prime }}{2{\lambda }_{0}^{\prime }}{u}_{5}.$
Hence, we obtain the matching operator ${S}^{4}$, for which the expression
${S}^{4}u=\sum _{k=0}^{5}{\lambda }_{k}{u}_{k}$
(3.5)
gives the exact value of the harmonic polynomial ${F}_{3}\left(x,y\right)$ at the point P, where
$\begin{array}{c}{\lambda }_{0}=-\left(-1+\delta \right)\left(1-\delta +{\delta }^{2}\right),\phantom{\rule{2em}{0ex}}{\lambda }_{1}=\frac{2\delta +{\delta }^{3}}{3},\hfill \\ {\lambda }_{2}={\lambda }_{4}=\frac{-\left(-1+\delta \right)\delta }{2},\phantom{\rule{2em}{0ex}}{\lambda }_{3}={\lambda }_{5}=\frac{\left(-1+\delta \right)\left(-\delta +2{\delta }^{2}\right)}{6}.\hfill \end{array}$
It is easy to check that
(3.6)
and
$\sum _{k=0}^{5}{\lambda }_{k}=1.$
(3.7)

Remark 3.1 When $1/2<\delta <1$, the node ${P}_{1}$, which is closest to P, is taken as the origin.

Case 2. The point $P\in {\mathrm{\Pi }}_{0}$ lies inside a grid cell of the hexagonal grid.

Again, we place the origin of the rectangular system of coordinates at the node ${P}_{0}$ and direct the positive axis of x along the grid line, so that P has the coordinates $P\left(\delta h,\frac{\sqrt{3}h\kappa }{2}\right)$, where $0<\delta ,\kappa \le 1/2$. We form an artificial grid by taking the following points:
$\begin{array}{c}{P}_{0}^{\prime }\left(\frac{\kappa h}{2},\frac{\sqrt{3}h\kappa }{2}\right),\phantom{\rule{2em}{0ex}}{P}_{1}^{\prime }\left(h+\frac{\kappa h}{2},\frac{\sqrt{3}h\kappa }{2}\right),\phantom{\rule{2em}{0ex}}{P}_{2}^{\prime }\left(\frac{h}{2}+\frac{\kappa h}{2},\frac{\sqrt{3}h}{2}+\frac{\sqrt{3}h\kappa }{2}\right),\hfill \\ {P}_{3}^{\prime }\left(-\frac{h}{2}+\frac{\kappa h}{2},\frac{\sqrt{3}h}{2}+\frac{\sqrt{3}h\kappa }{2}\right),\phantom{\rule{2em}{0ex}}{P}_{4}^{\prime }\left(\frac{h}{2}+\frac{\kappa h}{2},-\frac{\sqrt{3}h}{2}+\frac{\sqrt{3}h\kappa }{2}\right),\hfill \\ {P}_{5}^{\prime }\left(-\frac{h}{2}+\frac{\kappa h}{2},-\frac{\sqrt{3}h}{2}+\frac{\sqrt{3}h\kappa }{2}\right).\hfill \end{array}$
Each of the nodes ${P}_{k}^{\prime }$, $k=0,1,\dots ,5$, of the artificial grid falls on a grid line, and for the approximation of P the expression
${S}^{4}u=\sum _{k=0}^{5}{\lambda }_{k}u\left({P}_{k}^{\prime }\right)$
is used. As ${P}_{k}^{\prime }$, $k=0,1,\dots ,5$, all lie on grid lines, each of these points needs to be approximated using the matching operator as follows:
${S}^{4}u=\sum _{k=0}^{5}{\lambda }_{k}{S}^{4}u\left({P}_{k}^{\prime }\right).$

From the distribution of the nodes it becomes obvious that only 17 nodes are needed for this approximation (see Figure 2).

Hence, we form the matching operator as
${S}^{4}u=\sum _{k=0}^{16}{\xi }_{k}u\left({P}_{k}\right),$
(3.8)
where ${\xi }_{k}$, $k=0,\dots ,16$, are defined by the coefficients obtained earlier and
${\xi }_{k}\ge 0,\phantom{\rule{2em}{0ex}}\sum _{k=0}^{16}{\xi }_{k}=1.$
(3.9)
For the approximation, it is also important to examine the structure of the hexagonal grid. There are two types of triangles in each hexagon, Type A and Type B, as shown in Figure 1. Figure 1 Shapes of triangles in a hexagon.
We consider triangles of Type A with $0<\delta ,\kappa \le 1/2$. The nodes used in ${S}^{4}u$ are shown in Figure 2. Figure 2 Type A triangle with 0 < δ , κ ≤ 1 / 2 .

In the case $1/2<\delta <1$, $0<\kappa \le 1/2$, the 17 nodes used have the same distribution as the reflection of the nodes in Figure 2 about the line $x=0$. In the cases $0<\delta \le 1/2$, $1/2<\kappa <1$ and $1/2<\delta ,\kappa <1$, the nodes for ${S}^{4}$ are defined analogously.

In the case when P falls into a triangle of Type B, we rotate the artificial grids formed for Type A with an angle of 180, for all four cases of δ and κ specified earlier.

Case 3. $P\in {\mathrm{\Pi }}_{01}$, where $u={\phi }_{j}$ on the side ${\gamma }_{j}$, $j=1,2,3,4$, and ${\phi }_{j}\in {C}^{4,\lambda }\left({\gamma }_{j}\right)$, $0<\lambda <1$.

We position the origin of the rectangular system of coordinates on ${\gamma }_{j}$ so that the point P lies on the positive y axis, and the x axis is in the direction of the vertex ${A}_{j+1}$ along ${\gamma }_{j}$. It is obvious that ${\sum }_{k=1}^{3}{b}_{k}Im{z}^{k}=0$ if $y=0$, where $z=x+iy$. Hence, when the function ${\phi }_{j}\in {C}^{4,\lambda }\left({\gamma }_{j}\right)$, $0<\lambda <1$, is represented using Taylor’s formula about the point $x=0$ in the neighborhood $|z|\le 4h$ of the origin, we define ${a}_{k}$, $k=0,1,2,3$, of (3.1) as
${a}_{k}=\frac{1}{k!}\frac{{d}^{k}{\phi }_{j}\left(0\right)}{d{x}^{k}}.$
We let
$\stackrel{˜}{u}\left(x,y\right)=u\left(x,y\right)-\sum _{k=0}^{3}{a}_{k}Re{z}^{k}=\sum _{k=1}^{3}{b}_{k}Im{z}^{k}+O\left({h}^{4}\right)$
for $y>0$, and keeping in mind that $Im{z}^{k}$ is odd extendable, we complete the definition with $\stackrel{˜}{u}\left(x,y\right)=-\stackrel{˜}{u}\left(x,-y\right)$ for $y<0$. Clearly, in the given neighborhood, $\stackrel{˜}{u}\left(x,y\right)$ is equal to the harmonic polynomial ${\sum }_{k=1}^{3}{b}_{k}Im{z}^{k}$, with an accuracy of $O\left({h}^{4}\right)$. To form an expression for the matching operator ${S}^{4}\stackrel{˜}{u}$, we use
${S}^{4}\stackrel{˜}{u}=\sum _{0\le j\le 16}{\mu }_{j}\left(u-\sum _{k=0}^{3}{a}_{k}Re{z}^{k}\right)\left({P}_{j}\right)$
(3.10)
or
${S}^{4}\stackrel{˜}{u}=\sum _{0\le j\le 5}{\nu }_{j}\left(u-\sum _{k=0}^{3}{a}_{k}Re{z}^{k}\right)\left({P}_{j}\right),$
(3.11)
where
${\mu }_{j}\ge 0,\phantom{\rule{2em}{0ex}}\sum _{0\le j\le 16}{\mu }_{j}\le 1;\phantom{\rule{2em}{0ex}}{\nu }_{j}\ge 0,\phantom{\rule{2em}{0ex}}\sum _{0\le j\le 5}{\nu }_{j}\le 1.$
(3.12)
Hence using (3.10) or (3.11), with the addition of the term
$\left(\sum _{k=0}^{3}{a}_{k}Re{z}^{k}\right)\left(P\right),$
we have the following representation for the solution u of problem (2.1), (2.2) at any $P\in {\mathrm{\Pi }}_{01}$
$u={S}^{4}\stackrel{˜}{u}+\left(\sum _{k=0}^{3}{a}_{k}Re{z}^{k}\right)\left(P\right)+O\left({h}^{4}\right).$
(3.13)

Remark 3.2 We obtain the representation (3.13), with a less number of grid nodes ${P}_{j}$ in (3.10) or (3.11) for the points on the boundary γ of Π.

Let $\phi ={\left\{{\phi }_{j}\right\}}_{j=1}^{4}$. We express the matching operator ${S}^{4}$ as follows:
(3.14)
Theorem 3.3 Let the boundary functions ${\phi }_{j}$, $j=1,2,3,4$, in problem (2.1), (2.2) satisfy the conditions
${\phi }_{j}\in {C}^{4,\lambda }\left({\gamma }_{j}\right),\phantom{\rule{1em}{0ex}}0<\lambda <1,$
(3.15)
${\phi }_{j}^{\left(2q\right)}\left({s}_{j}\right)={\left(-1\right)}^{q}{\phi }_{j-1}^{\left(2q\right)}\left({s}_{j}\right),\phantom{\rule{1em}{0ex}}q=0,1,2.$
(3.16)
Then
$\underset{\overline{\mathrm{\Pi }}}{max}|{S}^{4}\left(u,\phi \right)-u|\le {c}_{5}{h}^{4},$
(3.17)

where u is the exact solution of problem (2.1), (2.2).

Proof According to Theorem 3.1 in , from conditions (3.15) and (3.16) it follows that $u\in {C}^{4,\lambda }\left(\overline{\mathrm{\Pi }}\right)$. Then on the basis of (3.1), (3.5), (3.8), (3.13), and Remark 3.2, we obtain inequality (3.17). □

We define the function ${\stackrel{ˆ}{u}}_{h}$ as follows:
(3.18)

where ${u}_{h}$ is the solution of the finite difference problem (2.6)-(2.8).

Theorem 3.4 Let conditions (2.3) and (2.4) be satisfied. Then the function ${\stackrel{˜}{u}}_{h}$ is continuous on $\overline{\mathrm{\Pi }}$, and
$\underset{\left(x,y\right)\in \overline{\mathrm{\Pi }}}{max}|{\stackrel{ˆ}{u}}_{h}-u|\le {c}_{6}{h}^{4},$
(3.19)

where u is the solution of problem (2.1), (2.2).

Proof From the construction of the expression ${S}^{4}\left({u}_{h},\phi \right)$ it follows that ${\stackrel{ˆ}{u}}_{h}={u}_{h}$ on ${\mathrm{\Pi }}^{h}$, and ${\stackrel{ˆ}{u}}_{h}={\phi }_{j}$ on ${\gamma }_{j}^{h}$, $j=1,2,3,4$. The continuity of ${\stackrel{ˆ}{u}}_{h}$ on Π follows from the continuity ${S}^{4}\left({u}_{h},\phi \right)$ on each closed triangle Type A and Type B, and from the equality ${\stackrel{ˆ}{u}}_{h}={u}_{h}$ on ${\mathrm{\Pi }}^{h}$. By Remark 3.2 and from the condition ${\stackrel{ˆ}{u}}_{h}={\phi }_{j}$ on ${\gamma }_{j}^{h}$, $j=1,2,3,4$, the continuity of the function ${\stackrel{ˆ}{u}}_{h}$ on the closed rectangle $\overline{\mathrm{\Pi }}$ follows. By virtue of (2.3) and (2.4) it follows that $u\in {C}^{6,\lambda }\left(\overline{\mathrm{\Pi }}\right)$, $0<\lambda <1$ (see Theorem 3.1 in ). Then, on the basis of (3.6), (3.7), (3.9), (3.11) Theorem 2.2, Theorem 3.3 and (3.18), we obtain
$\begin{array}{rl}\underset{\left(x,y\right)\in \overline{\mathrm{\Pi }}}{max}|{\stackrel{ˆ}{u}}_{h}-u|& \le \underset{\left(x,y\right)\in \overline{\mathrm{\Pi }}}{max}|{S}^{4}\left(u,\phi \right)-u|+\underset{\left(x,y\right)\in \overline{\mathrm{\Pi }}}{max}|{S}^{4}\left({u}_{h}-u,0\right)|\\ \le {c}_{5}{h}^{4}+\sum _{k=0}^{16}{\xi }_{k}\underset{\left(x,y\right)\in {\overline{\mathrm{\Pi }}}^{h}}{max}|{u}_{h}-u|\le {c}_{6}{h}^{4}.\end{array}$

□

## 4 An application of the matching operator in the Block-Grid method

Let G be an open simply connected staircase polygon, let ${\gamma }_{j}$, $j=1,2,\dots ,N$, be its sides, including the ends, and let ${\alpha }_{j}\pi$, ${\alpha }_{j}\in \left\{\frac{1}{2},1,\frac{3}{2},2\right\}$, be the interior angle formed by the sides ${\gamma }_{j-1}$ and ${\gamma }_{j}$ (${\gamma }_{0}={\gamma }_{N}$). Furthermore, let s be the arc length measured along the boundary of G in the positive direction and ${s}_{j}$ be the value of s at the vertex ${A}_{j}={\gamma }_{j-1}\cap {\gamma }_{j}$, $\left({r}_{j},{\theta }_{j}\right)$ be a polar system of coordinates with pole in ${A}_{j}$ and the angle ${\theta }_{j}$ taken counterclockwise from the side ${\gamma }_{j}$.

We consider the boundary value problem
(4.1)
where ${\phi }_{j}$ are given functions, and
${\phi }_{j}\in {C}^{6,\lambda }\left({\gamma }_{j}\right),\phantom{\rule{1em}{0ex}}0<\lambda <1,1\le j\le N.$
(4.2)
Moreover, at the vertices ${A}_{j}$ for ${\alpha }_{j}=\frac{1}{2}$ the conjugation conditions
${\phi }_{j}^{\left(2q\right)}\left({s}_{j}\right)={\left(-1\right)}^{q}{\phi }_{j-1}^{\left(2q\right)}\left({s}_{j}\right),\phantom{\rule{1em}{0ex}}q=0,1,2,3,$
(4.3)

are satisfied. At the vertices ${A}_{j}$ for ${\alpha }_{j}\ne \frac{1}{2}$ no compatibility conditions for boundary functions are required; in particular the values of ${\phi }_{j-1}$ and ${\phi }_{j}$ at these vertices might be different. Additionally, it is required that when ${\alpha }_{j}\ne 1/2$, the boundary functions on ${\gamma }_{j-1}$ and ${\gamma }_{j}$ are given as algebraic polynomials of arclength s measured along γ.

Let $E=\left\{j:{\alpha }_{j}\ne 1/2,j=1,2,\dots ,N\right\}$. We call the vertices ${A}_{j}$, $j\in E$, the singular vertices of the polygon G. We construct two fixed block sectors in the neighborhood of ${A}_{j}$, $j\in E$, denoted by ${T}_{j}^{i}={T}_{j}\left({r}_{ji}\right)\subset G$, $i=1,2$, where $0<{r}_{j2}<{r}_{j1}, ${T}_{j}\left(r\right)=\left\{\left({r}_{j},{\theta }_{j}\right):0<{r}_{j}. On the closed sector ${\overline{T}}_{j}^{1}$, $j\in E$, we consider the function ${Q}_{j}\left({r}_{j},{\theta }_{j}\right)$, which has the following properties:
1. (i)

${Q}_{j}\left({r}_{j},{\theta }_{j}\right)$ is harmonic and bounded on the open sector ${T}_{j}^{1}$;

2. (ii)

continuous everywhere on ${\overline{T}}_{j}^{1}$ apart from the point ${A}_{j}$, $j\in E$ when ${\phi }_{j-1}\ne {\phi }_{j}$;

3. (iii)

continuously differentiable on ${\overline{T}}_{j}^{1}\mathrm{\setminus }{A}_{j}$;

4. (iv)

satisfies the given boundary conditions on ${\gamma }_{j-1}\cap {\overline{T}}_{j}^{1}$ and ${\gamma }_{j}\cap {\overline{T}}_{j}^{1}$, $j\in E$.

The function ${Q}_{j}\left({r}_{j},{\theta }_{j}\right)$ with properties (i)-(iv) is given in .

Let
${R}_{j}\left({r}_{j},{\theta }_{j},\eta \right)=\frac{1}{{\alpha }_{j}}\sum _{k=0}^{1}{\left(-1\right)}^{k}R\left({\left(\frac{r}{{r}_{j2}}\right)}^{1/{\alpha }_{j}},\frac{\theta }{{\alpha }_{j}},{\left(-1\right)}^{k}\frac{\eta }{{\alpha }_{j}}\right),\phantom{\rule{1em}{0ex}}j\in E,$
(4.4)
where
$R\left(r,\theta ,\eta \right)=\frac{1-{r}^{2}}{2\pi \left(1-2rcos\left(\theta -\eta \right)+{r}^{2}\right)}$
(4.5)

is the kernel of the Poisson integral for a unit circle.

The approximation of the integral representation given in the following lemma is used to construct an approximate solution of problem (4.1) around the singular vertices ${A}_{j}$, $j\in E$.

Lemma 4.1 The solution u of problem (2.1), (2.2) can be represented on ${\overline{T}}_{j}^{2}\mathrm{\setminus }{V}_{j}$, $j\in E$, in the form
$u\left({r}_{j},{\theta }_{j}\right)={Q}_{j}\left({r}_{j},{\theta }_{j}\right)+{\int }_{0}^{{\alpha }_{j}\pi }\left(u\left({r}_{j2},\eta \right)-{Q}_{j}\left({r}_{j2},\eta \right)\right){R}_{j}\left({r}_{j},{\theta }_{j},\eta \right)\phantom{\rule{0.2em}{0ex}}d\eta ,$
(4.6)

where ${V}_{j}$ is the curvilinear part of the boundary of the sector ${T}_{j}^{2}$.

Proof The proof follows from Theorems 3.1 and 5.1 in . □

We define the approximate solution in the whole polygon G by applying a version of the Block-Grid method introduced in  (see also ).

Let us consider, in addition to the sectors ${T}_{j}^{1}$, ${T}_{j}^{2}$, the sectors ${T}_{j}^{3}$ and ${T}_{j}^{4}$, which are also in the neighborhood of each vertex ${A}_{j}$, $j\in E$, of the polygon G, with $0<{r}_{j4}<{r}_{j3}<{r}_{j2}$, ${r}_{j3}=\left({r}_{j2}+{r}_{j4}\right)/2$ and ${T}_{k}^{3}\cap {T}_{l}^{3}=\mathrm{\varnothing }$, $k\ne l$, where $k,l\in E$. Furthermore, let ${G}_{T}=G\mathrm{\setminus }\left({\bigcup }_{j\in E}{T}_{j}^{4}\right)$. We give the description of the Block-Grid method on a hexagonal grid:
1. (i)

All singular corners ${A}_{j}$, $j\in E$, are separated by the double sectors ${T}_{j}^{i}={T}_{j}\left({r}_{ji}\right)$, $i=2,3$, with ${r}_{j3}<{r}_{j2}$, ${T}_{k}^{2}\cap {T}_{l}^{3}=\mathrm{\varnothing }$, $k\ne l$ and $k,l\in E$. The polygon is covered by overlapping rectangles ${\mathrm{\Pi }}_{k}$, $k=1,2,\dots ,M$, and sectors ${T}_{j}^{3}$, $j\in E$, such that the distance from ${\mathrm{\Pi }}_{k}$ to a singular point ${A}_{j}$ is greater than ${r}_{j4}$ for all $k=1,2,\dots ,M$ and $j\in E$.

2. (ii)

On each rectangle ${\mathrm{\Pi }}_{k}$, the seven point difference scheme for the approximation of Laplace’s equation on a hexagonal grid is used, with step size ${h}_{k}\le h$, h is a parameter, and as an approximate solution on ${\overline{T}}_{j}^{3}$, $j\in E$, the harmonic function (4.6) is used.

3. (iii)

We use the matching operator ${S}^{4}$ constructed in Section 3 to connect the subsystems.

For obtaining the numerical solution of the algebraic system of equations (2.1), (2.2), we outline the procedure: Let ${\mathrm{\Pi }}_{k}\subset {G}_{T}$, $k=1,2,\dots ,M$, be certain fixed open rectangles with sides ${a}_{1k}$ and ${a}_{2k}$ parallel to the sides of G, and $G\subset \left({\bigcup }_{k=1}^{M}{\mathrm{\Pi }}_{k}\right)\cup \left({\bigcup }_{j\in E}{T}_{j}^{3}\right)\subset G$. We use ${\eta }_{k}$ to denote the boundary of the rectangle ${\mathrm{\Pi }}_{k}$, ${V}_{j}$ is the curvilinear part of the boundary of the sector ${T}_{j}^{2}$ and ${t}_{j}=\left({\bigcup }_{k=1}^{M}{\eta }_{k}\right)\cap {\overline{T}}_{j}^{3}$.

The overlapping condition is imposed on the arrangement of the rectangles ${\mathrm{\Pi }}_{k}$, $k=1,2,\dots ,M$: any point P lying on ${\eta }_{k}\cap {G}_{T}$, $1\le k\le M$, or located on ${V}_{j}\cap G$, $j\in E$, falls inside at least one of the rectangles ${\mathrm{\Pi }}_{k\left(P\right),}1\le k\left(P\right)\le M$, where the distance from P to ${G}_{T}\cap {\eta }_{k\left(P\right)}$ is not less than some constant ${\varkappa }_{0}$ independent of P. The quantity ${\varkappa }_{0}$ is called the gluing depth of the rectangles ${\mathrm{\Pi }}_{k}$, $k=1,2,\dots ,M$.

We introduce the parameter $h\in \left(0,{\varkappa }_{0}/4\right]$ and consider a hexagonal grid on ${\mathrm{\Pi }}_{k}$, $k=1,2,\dots ,M$, with maximal possible step ${h}_{k}\le min\left\{h,min\left\{{a}_{1k},{a}_{2k}\right\}/4\right\}$. Let ${\mathrm{\Pi }}_{k}^{h}$ be the set of nodes on ${\mathrm{\Pi }}_{k}$, let ${\eta }_{k}^{h}$ be the set of nodes on ${\eta }_{k}$, and let ${\overline{\mathrm{\Pi }}}_{k}^{h}={\mathrm{\Pi }}_{k}^{h}\cap {\eta }_{k}^{h}$. We denote the set of nodes on the closure of ${\eta }_{k}\cap {G}_{T}$ by ${\eta }_{k0}^{h}$, and the set of nodes on ${\mathrm{\Pi }}_{k}^{h}$ whose distance from the boundary ${\eta }_{k}\cap {G}_{T}$ of ${\mathrm{\Pi }}_{k}$ is $\frac{h}{2}$ by ${\eta }_{k0}^{\ast h}$. We also have ${\mathrm{\Pi }}_{k}^{\ast h}$ denoting the set of nodes whose distance from the boundary ${\eta }_{k1}$ of ${\mathrm{\Pi }}_{k}$ is $\frac{h}{2}$ and ${\mathrm{\Pi }}_{k}^{0h}={\mathrm{\Pi }}_{k}^{h}\mathrm{\setminus }\left({\mathrm{\Pi }}_{k}^{\ast h}\cup {\eta }_{k0}^{\ast h}\right)$. Let ${t}_{j}^{h}$ be the set of nodes on ${t}_{j}$, and let ${\eta }_{k1}^{h}$ be the set of remaining nodes on ${\eta }_{k}$. We also specify a natural number $n\ge \left[{ln}^{1+\varkappa }{h}^{-1}\right]+1$, where $\varkappa >0$ is a fixed number and the quantities $n\left(j\right)=max\left\{4,\left[{\alpha }_{j}n\right]\right\}$, ${\beta }_{j}={\alpha }_{j}\pi /n\left(j\right)$, and ${\theta }_{j}^{m}=\left(m-1/2\right){\beta }_{j}$, $j\in E$, $1\le m\le n\left(j\right)$. On the arc ${V}_{j}$ we choose the points $\left({r}_{j2},{\theta }_{j}^{m}\right)$, $1\le m\le n\left(j\right)$, and denote the set of these points by ${V}_{j}^{n}$. Finally, let
${\omega }^{h,n}=\left(\bigcup _{k=1}^{M}{\eta }_{k0}^{h}\right)\cup \left(\bigcup _{k=1}^{M}{\eta }_{k0}^{\ast h}\right)\cup \left(\bigcup _{j\in E}{V}_{j}^{n}\right),\phantom{\rule{2em}{0ex}}{\overline{G}}_{\ast }^{h,n}={\omega }^{h,n}\cup \left(\bigcup _{k=1}^{M}{\overline{\mathrm{\Pi }}}_{k}^{h}\right).$
Consider the system of equations
(4.7)
(4.8)
(4.9)
(4.10)
(4.11)

where $1\le k,m\le M$, $j\in E$, $\phi ={\left\{{\phi }_{j}\right\}}_{j=1}^{N}$; $S{u}_{h}$, ${S}_{m}^{\ast }{u}_{h}$ and ${E}_{mh}^{\ast }\left({\phi }_{m}\right)$ are defined as equations (2.9), (2.10), and (2.11) in Section 2, respectively.

The solution of the system of equations (4.7)-(4.11) is a numerical solution of problem (2.1), (2.2) on ${\overline{G}}_{T}$ (‘nonsingular’ part of the polygon G).

Theorem 4.2 There is a natural number ${n}_{0}$ such that for all $n\ge {n}_{0}$ and $h\in \left(0,\frac{{\varkappa }_{0}}{4}\right]$, where ${\varkappa }_{0}$ is the gluing depth, the system of equations (4.7)-(4.11) has a unique solution.

Proof Let ${v}_{h}$ be a solution of the system of equations
(4.12)
(4.13)
where $1\le k,m\le M$, $j\in E$. To prove the given theorem, we show that ${max}_{{\overline{G}}_{\ast }^{h,n}}|{v}_{h}|=0$. On the basis of the structure of operators S and ${S}_{j}^{\ast }$, and the forms (3.5), (3.6), (3.7), (3.8), (3.9), and (3.10)-(3.11) of the matching operator ${S}^{4}$ and by the maximum principle (see Ch. 4, ) it follows that the nonzero maximum value of the function ${v}_{h}$ can be at the points on ${\bigcup }_{j\in E}{t}_{j}^{h}$. From estimation (2.29) in  the existence of the positive constants ${n}_{0}$ and $\sigma >0$ such that for $n\ge {n}_{0}$
$\underset{\left({r}_{j},{\theta }_{j}\right)\in {\overline{{T}_{j}}}^{3}}{max}{\beta }_{j}\sum _{q=1}^{n\left(j\right)}{R}_{j}\left({r}_{j},{\theta }_{j},{\theta }_{j}^{q}\right)\le \sigma <1$
(4.14)

follows. However, taking (4.14) into account in (4.13) we have that the nonzero maximum value can not be at the points on ${\bigcup }_{j\in E}{t}_{j}^{h}$ either. Since the set ${\overline{G}}_{\ast }^{h,n}$ is connected, from equation (4.12) it follows that ${max}_{{\overline{G}}_{\ast }^{h,n}}|{v}_{h}|=0$. □

Let ${u}_{h}$ be the solution of the system of equations (4.7)-(4.11). The function
${U}_{h}\left({r}_{j},{\theta }_{j}\right)={Q}_{j}\left({r}_{j},{\theta }_{j}\right)+{\beta }_{j}\sum _{q=1}^{n\left(j\right)}{R}_{j}\left({r}_{j},{\theta }_{j},{\theta }_{j}^{q}\right)\left({u}_{h}\left({r}_{j2},{\theta }_{j}^{q}\right)-{Q}_{j}\left({r}_{j2},{\theta }_{j}^{q}\right)\right)$
(4.15)

is the approximation of the integral representation (4.6) with the use of the composite mid-point rule. We use the function ${U}_{h}\left({r}_{j},{\theta }_{j}\right)$ as an approximate solution of problem (2.1), (2.2) on the closed block ${\overline{T}}_{j}^{3}$, $j\in E$ (‘singular’ parts of the polygon G).

Let
${ϵ}_{h}={u}_{h}-u,$
(4.16)
where ${u}_{h}$ is the solution of system (4.7)-(4.11) and u is the trace of the solution of (2.1), (2.2) on ${\overline{G}}_{\ast }^{h,n}$. On the basis of (2.1), (2.2), (4.7)-(4.11), and (4.16), ${ϵ}_{h}$ satisfies the following difference equations:
(4.17)
(4.18)
${ϵ}_{h}\left({r}_{j},{\theta }_{j}\right)={\beta }_{j}\sum _{k=1}^{n\left(j\right)}{R}_{j}\left({r}_{j},{\theta }_{j},{\theta }_{j}^{k}\right){ϵ}_{h}\left({r}_{j2},{\theta }_{j}^{k}\right)+{r}_{jh}^{3},\phantom{\rule{1em}{0ex}}\left({r}_{j},{\theta }_{j}\right)\in {t}_{kj}^{h},$
(4.19)
(4.20)
where $1\le k,m\le M$, $j\in E$ and
(4.21)
(4.22)
Since all the rectangles ${\mathrm{\Pi }}_{k}$, $k=1,2,\dots ,M$ are located away from the singular vertices ${A}_{j}$, $j\in E$ of the polygon G, at a distance greater than ${r}_{j4}>0$ independent of h, by virtue of the conditions (2.3) and (2.4), up to sixth order derivatives of the solution of problem (2.1), (2.2) are bounded on ${\bigcup }_{k=1}^{M}{\mathrm{\Pi }}_{k}$. Then, by Taylor’s formula, from (4.21) we obtain
$\underset{{\bigcup }_{k=1}^{M}{\mathrm{\Pi }}_{k}^{0h}}{max}|{r}_{h}^{1}|\le {c}_{1}{h}^{6},\phantom{\rule{2em}{0ex}}\underset{{\bigcup }_{k=1}^{M}{\mathrm{\Pi }}_{k}^{\ast h}}{max}|{r}_{h}^{2}|\le {c}_{2}{h}^{4}.$
(4.23)
Furthermore, as ${\omega }^{h,n}\subset {\bigcup }_{k=1}^{M}{\mathrm{\Pi }}_{k}$ from (4.22) and Theorem 3.3, we have
$\underset{{\omega }^{h,n}}{max}|{r}_{h}^{4}|\le {c}_{3}{h}^{4}.$
(4.24)
By analogy to the proof of Lemma 6.2 in , it is shown that there exists a natural number ${n}_{0}$, such that for all $n\ge max\left\{{n}_{0},\left[{ln}^{1+\varkappa }{h}^{-1}\right]+1\right\}$, $\varkappa >0$ being a fixed number,
$\underset{j\in E}{max}|{r}_{jh}^{3}|\le {c}_{4}{h}^{4}.$
(4.25)
Theorem 4.3 There exists a natural number ${n}_{0}$ such that for all $n\ge max\left\{{n}_{0},\left[{ln}^{1+\varkappa }{h}^{-1}\right]\right\}$, $\varkappa >0$ being a fixed number,
$\underset{{\overline{G}}_{\ast }^{h,n}}{max}|{u}_{h}-u|\le c{h}^{4}.$
(4.26)

Proof The proof follows from estimations (4.23)-(4.25) and the principle of maximum by analogy to the proof of Theorem 6.1 in . □

Theorem 4.4 Let ${u}_{h}$ be the solution of the system of equations (4.7)-(4.11), and let an approximate solution of problem (2.1), (2.2) be found on blocks ${\overline{T}}_{j}^{3}$, $j\in E$, by (4.15). There is a natural number ${n}_{0}$ such that for all $n\ge max\left\{{n}_{0},\left[{ln}^{1+\varkappa }{h}^{-1}\right]\right\}$, $\varkappa >0$ being a fixed number, the following estimations hold:
(4.27)
(4.28)

where $0\le q\le p$, $p=0,1,\dots$ .

Proof Estimation (4.27) is obtained from the integral representation (4.6) and formula (4.15) by using estimations (4.25) and (4.26). Estimation (4.28) for $p=0,1,\dots$ is obtained by using inequality (4.27) and Lemma 6.12 in . □

## 5 Numerical results and discussion

To support the theoretical results, numerical examples have been solved in two different domains.

Example 5.1 Approximation in a rectangular domain.

Consider the rectangular domain
$\mathrm{\Pi }=\left\{\left(x,y\right)\in D:0

with the boundary γ. The hexagonal grid (2.5), denoted ${\mathrm{\Pi }}^{h}$, is assigned to the grid Π, where ${\gamma }^{h}$ denotes the set of nodes on the boundary γ.

We consider the problem
where
$v\left(x,y\right)={e}^{y}sinx$
(5.1)

is the exact solution in the rectangular domain.

This example is solved using the incomplete LU-decomposition method (see , Ch. 5), and all the calculations are carried out in double precision. As a convergence test, we request the maximum residual error to be 10−12, and as a starting point ${v}_{h}=0$ is used.

Table 1 gives the values obtained in the maximum norm of the difference between the exact and the approximate solutions, for the values of $h={2}^{-k}$, $k=3,4,5,6,7$, i.e., ${\parallel {ϵ}_{h}\parallel }_{{\overline{\mathrm{\Pi }}}^{h}}={max}_{{\overline{\mathrm{\Pi }}}^{h}}|v-{v}_{h}|$. The ratios ${R}_{{\overline{\mathrm{\Pi }}}^{h}}^{m}=\frac{{\parallel v-{v}_{{2}^{-m}}\parallel }_{{\overline{\mathrm{\Pi }}}^{h}}}{{\parallel v-{v}_{{2}^{-\left(m+1\right)}}\parallel }_{{\overline{\mathrm{\Pi }}}^{h}}}$ have also been included, where $O\left({h}^{4}\right)$ order of accuracy corresponds to 24 of the value ${R}_{{\overline{\mathrm{\Pi }}}^{h}}^{m}$.

Example 5.2 Less smooth function.

We consider the same problem as in Example 5.1 with the exact solution
$v\left(x,y\right)=\frac{1}{2}ln\left({x}^{2}+{y}^{2}\right)Re{z}^{7}-{tan}^{-1}\left(\frac{y}{x}\right)Im{z}^{7},$
(5.2)
which is less smooth than (5.1). The results obtained are consistent with the theoretical results and are summarized in Table 2.

Example 5.3 The matching operator.

Examples of the matching operator have also been considered in the domain Π. The coordinate ${P}_{1}\left(0.55,0.4387\right)$ is chosen, where ${P}_{1}\in {\mathrm{\Pi }}_{0}$. The harmonic function
$u\left(x,y\right)={e}^{x}cosy$
(5.3)
is assumed to be the exact solution. The result in Table 3 is obtained using $h={2}^{-4}$ and demonstrates high accuracy of the above constructed matching operator.
The second coordinate considered demonstrates the accuracy of the approximation of near-boundary points. The point chosen is ${P}_{2}\left(0.195938,0.02\right)$, where ${P}_{2}\in {\mathrm{\Pi }}_{01}$, and equation (3.13) is used for approximation. Again, the harmonic function (5.3) is used as the exact solution. Lastly, a point near one of the corners of the domain ${P}_{3}\left(0.005,0.005\right)$ has been considered, where the nodes of evaluation emerge outside of the domain from both adjacent sides of the corner. The function
$u\left(x,y\right)={e}^{y}cosx$
is used as the exact solution. The results obtained are summarized in Table 4.

Example 5.4 Approximation in an L-shaped domain.

The final example is solved in an L-shaped domain with an angle singularity at the origin, where ${\alpha }_{1}\pi =3\pi /2$. The domain is defined by
$\mathrm{\Omega }=\left\{\left(x,y\right):-1\le x\le 1,-\frac{\sqrt{3}}{2}\le y\le \frac{\sqrt{3}}{2}\right\}\setminus {\mathrm{\Omega }}_{1},$
where ${\mathrm{\Omega }}_{1}=\left\{\left(x,y\right):0\le x\le 1,-\frac{\sqrt{3}}{2}\le y\le 0\right\}$, and is covered by four overlapping rectangles and a sector. The singular part is defined to be the region
${\mathrm{\Omega }}^{S}=\left\{\left(x,y\right):-\frac{1}{2}\le x\le \frac{1}{2},-\frac{\sqrt{3}}{4}\le y\le \frac{\sqrt{3}}{4}\right\}\setminus {\mathrm{\Omega }}_{1}^{s},$

where ${\mathrm{\Omega }}_{1}^{s}=\left\{\left(x,y\right):0\le x\le \frac{1}{2},-\frac{\sqrt{3}}{4}\le y\le 0\right\}$, and the nonsingular part is ${\mathrm{\Omega }}^{NS}=\mathrm{\Omega }/{\mathrm{\Omega }}^{S}$. The system of Block-Grid equations is solved by Schwarz’s alternating method. The quadrature nodes on the circular arc, whose radius is taken as 0.75, and the overlapping boundaries of the rectangles are renewed after each Schwarz’s iteration. The nodes on the circular arc, the inner boundaries of the overlapping rectangles and the nodes in the set ${\bigcup }_{k=1}^{4}{\eta }_{k0}^{\ast h}$ are renewed using the matching operator constructed above. Since the boundary functions are harmonic polynomials on the sides ${\gamma }_{1}$ and ${\gamma }_{0}\equiv {\gamma }_{6}$, the nodes whose neighbors emerge outside of the domain from these sides are approximated using the function $u-{Q}_{1}$. Finally, the solution on the singular part is approximated using the integral representation [3, 9].

The problem considered is
where
$v\left(x,y\right)=\theta +{r}^{2/3}sin\left(\frac{2}{3}\theta \right)+Re{z}^{5}+Im{z}^{5},$
is the exact solution. Accordingly, the function ${Q}_{1}\left(x,y\right)$ used in the integral representation is constructed as
${Q}_{1}\left(x,y\right)=\theta +{r}^{5}\left(cos\left(5\theta \right)+sin\left(5\theta \right)\right).$
The results in Tables 5 and 6 show the solution for different pairs $\left(h,N\right)$, where N is the number of quadrature nodes, h is the mesh size of the hexagonal grid.

## 6 Conclusions

The fourth order classical 7-point scheme on a hexagonal grid is applied on a rectangular domain. This leads to some of the nodes emerging from the two parallel sides while approximating points whose distance from the boundary is $\frac{h}{2}$. This problem was overcome by devising an approximating equation for near-boundary nodes, which included the use of three inner nodes around the point of evaluation and three points lying on the boundary. The fourth order matching operator has been constructed on the hexagonal grid functions. It is applied to construct a fourth order accurate interpolating function, on the closed rectangle, for the numerical solution of Laplace’s equation on the hexagonal grids. Further, the matching operator and the hexagonal grid approximation in a rectangle are used to obtain and justify the Block-Grid method in solving the Dirichlet problem for Laplace’s equation on staircase polygons.

Numerical examples have been provided as an illustration of the theoretical results mentioned above.

The matching operator constructed can be applied to many other forms of domain decomposition or combined methods. It will also be an interesting study to extend the approximation of the methods to using mixed or Neumann boundary conditions.

## Authors’ Affiliations

(1)
Department of Mathematics, Eastern Mediterranean University, Gazimagusa, K.K.T.C. via Mersin, 10, Turkey

## References 