This paper was converted on www.awesomepapers.org from LaTeX by an anonymous user.
Want to know more? Visit the Converter page.

Efficient simulation of mixed boundary value problems and conformal mappings

Qiansheng Han Qiansheng Han
Department of Mathematics with Computer Science
Guangdong Technion-Israel Institute of Technology
Shantou, Guangdong 515063
P.R. of China
[email protected]
Antti Rasila* Antti Rasila
Department of Mathematics with Computer Science
Guangdong Technion – Israel Institute of Technology
Shantou, Guangdong 515063, P.R. of China and Department of Mathematics
Technion – Israel Institute of Technology
Haifa 32000, Israel
[email protected]; [email protected]
 and  Tommi Sottinen Tommi Sottinen
University of Vaasa
School of Technology and Innovations
P.O.Box 700
FIN-65101 Vaasa
Finland
[email protected]
Abstract.

In this paper, we present a stochastic method for the simulation of Laplace’s equation with a mixed boundary condition in planar domains that are polygonal or bounded by circular arcs. We call this method the Reflected Walk-on-Spheres algorithm. The method combines a traditional Walk-on-Spheres algorithm with use of reflections at the Neumann boundaries. We apply our algorithm to simulate numerical conformal mappings from certain quadrilaterals to the corresponding canonical domains, and to compute their conformal moduli. Finally, we give examples of the method on three dimensional polyhedral domains, and use it to simulate the heat flow on an L-shaped insulated polyhedron.

Key words and phrases:
Brownian motion; Monte Carlo methods; Walk on spheres; Harmonic measure; Conformal mappings; Conformal modulus; Numerical algorithm; Heat flow
2020 Mathematics Subject Classification:
30-08; 30C20; 31-08; 31A15; 60J65; 65C05, 65E05
*Corresponding author

1. Introduction

Conformal mappings are functions that preserve angles (directions and magnitudes) between two smooth curves at their point of intersection. They play an essential role in classical complex analysis, admitting a convenient characterization that they have a non-vanishing complex derivative. It is further assumed that conformal mappings are one-to-one and onto. Conformal mappings play an important role in engineering mathematics, e.g., aerospace engineering, fluid dynamics, electronics, and geodesy [7, 11, 32, 34]. They have also been recently applied in topics such as computer graphics [6, 20] and brain mapping [35].

In this paper we consider the computation of conformal mappings ff from a bounded and simply-connected domain Ω\Omega onto Rh={z:0<Re(z)<1, 0<Im(z)<h},h>0R_{h}=\{z\in\mathbb{C}:0<\text{Re}(z)<1,\;0<\text{Im}(z)<h\},\;h>0, which is called the canonical rectangle. The existence of such conformal mappings is guaranteed by Riemann’s mapping theorem. However, this result does not provide us with an explicit formula of the mapping, which can only be derived analytically for some special cases of Ω\Omega.

The problem of finding numerical representations of Riemann mappings is classical. Popular methods include the Schwarz–Christoffel method [8], discrete Ricci flow [12], Wegmann’s method [36, p. 405], and circle packing [33]. The conjugate function method used as the basis of our investigation was first introduced in [13]. A version of this algorithm for multiply connected domains was developed in [14]. It should be noted that the hphp-FEM implementation of the conjugate function method in [13] works also with unbounded planar domains [16] and ones with strong singularities [17].

We propose a new stochastic algorithm for numerical approximation of a conformal mapping of a domain onto the canonical rectangle. This approach requires solving a Dirichlet–Neumann mixed boundary value problem on the domain. For this purpose, a variant of the Walk-on-Spheres (WoS) algorithm is used. This is a Monte Carlo method specifically designed for efficient simulation of Dirichlet type boundary value problems. Our algorithm is thus modified for solving the mixed boundary value problem. The algorithm is modified to make use of Schwarz’ reflections at the Neumann boundary. We will explain this idea in detail in Section 5. To our knowledge, this is the first time attempt to develop a stochastic algorithm for numerical conformal mappings. For a survey of other currently available methods see e.g. [22, pp. 8–11]. Recently, there has been substantial work on boundary integral methods for computing numerical conformal mappings [28] as well as closely related problems of conformal modulus of a quadrilateral [29] and condenser capacity [30].

This paper is organized as follows. We will first present the fundamental concepts required for understanding our approach in Section 2, followed by a detailed explanations of the conjugate function method in Section 3. The theory behind the Walk-on-Sphere method is discussed in Section 4, and its variant, a reflected Walk-on-Spheres method, is introduced in Section 5. In Section 6, we give several simulation examples of numerical conformal mappings using this method, and finally discuss generalization of this approach to the three dimensional setting in Section 6.4.

2. Preliminaries

In this section, we discuss conformal modulus of a quadrilateral, which is a concept originating from geometric function theory (see e.g. [3]). First recall the Riemann mapping theorem:

Theorem 2.1 (Riemann Mapping Theorem).

Let 𝔻\mathbb{D} be the unit disk. For a simply connected domain Ω\Omega in the plane, with a boundary Ω\partial\Omega containing more than one point, there exists a conformal mapping f:𝔻Ωf\colon\mathbb{D}\to\Omega, which is unique up to a Möbius transformation in Aut(𝔻)\text{Aut}(\mathbb{D}).

The group of Möbius transformations that map the unit disk onto itself are called Möbius automorphisms of the unit disk, and denoted by Aut(𝔻)\text{Aut}(\mathbb{D}). The general form of a transformation in this group is given by:

f(z)=eiθzα1α¯zf(z)=e^{i\theta}\frac{z-\alpha}{1-\overline{\alpha}z}

where:

  • α\alpha is a complex number with |α|<1|\alpha|<1,

  • θ\theta is a real number representing the angle of rotation,

  • eiθe^{i\theta} is a complex exponential indicating a rotation,

  • α¯\overline{\alpha} is the complex conjugate of α\alpha.

It should be noted that while a conformal mapping is only defined at the interior points of the domain, by the Carathéodory extension theorem (see e.g. [21, Theorem 5.1.1]), a mapping between Jordan domains admits a homeomorphic extension to the boundary. This leads to a natural question known as the Grötzsch problem. In fact, it is known that fixing images of three distinct boundary points is sufficient to make a conformal mapping between two Jordan domains unique.

Let Ω\Omega be a Jordan domain in the complex plane \mathbb{C}, and let z1,z2,z3,z4z_{1},z_{2},z_{3},z_{4} be four distinct positively oriented points on the boundary Ω\partial\Omega. We call such domain together with the selected boundary points a (generalized) quadrilateral, and denote it by Q=(Ω;z1,z2,z3,z4)Q=(\Omega;z_{1},z_{2},z_{3},z_{4}).

The above considerations motivate the following definition [31, p. 54, Definition 2.1.3]:

Definition 2.1 (Conformal modulus of a quadrilateral).

If there exists a conformal mapping which transforms a quadrilateral QQ onto a rectangle Rh=((0,1)×(0,h);1+ih,ih,0,1)R_{h}=\big{(}(0,1)\times(0,h);1+ih,ih,0,1\big{)} so that the boundary points z1,z2,z3,z4z_{1},z_{2},z_{3},z_{4} are mapped onto the vertices 1+ih,ih,0,11+ih,ih,0,1, respectively, we call this number h>0h>0 the (conformal) modulus of the quadrilateral QQ, and denote it by

(1) (Q)=h.\mathcal{M}(Q)=h.

In view of the above we note that the modulus hh is a unique characteristic that determines the conformal equivalence class of the quadrilateral.

We denote by Q~=(Ω;z2,z3,z4,z1)\widetilde{Q}=(\Omega;z_{2},z_{3},z_{4},z_{1}) the so-called conjugate quadrilateral of QQ. From the elementary properties of conformal moduli, one may observe the following basic identity (see e.g. [3, p. 15]):

Lemma 2.2 (Reciprocal identity).

Let Q=(Ω;z1,z2,z3,z4)Q=(\Omega;z_{1},z_{2},z_{3},z_{4}) and Q~=(Ω;z2,z3,z4,z1)\widetilde{Q}=(\Omega;z_{2},z_{3},z_{4},z_{1}). Then

(2) (Q)(Q~)=1.\mathcal{M}(Q)\mathcal{M}(\widetilde{Q})=1.

This principle plays an important role in the study of geometric properties of quadrilaterals in the complex plane, as detailed in [24, p. 15] and [31, pp. 53–54].

2.1. Conformal moduli and Dirichlet–Neumann mixed boundary value problems

Recall that the modulus of a quadrilateral QQ is closely related to a the Dirichlet–Neumann mixed boundary value problem(Dirichlet–Neumann problem, in short) of Laplace equation, see e.g. [18, p. 431].

Definition 2.2 (Dirichlet–Neumann problem in general).

Consider a domain Ω\Omega where its boundary Ω\partial\Omega is a regular Jordan curve. The exterior unit normal nn is defined at almost every boundary point. Suppose that Ω=ΓDΓN\partial\Omega=\Gamma_{D}\cup\Gamma_{N}, and ΓD,ΓN\Gamma_{D},\Gamma_{N} are composed of disjoint sets of regular Jordan arcs, intersecting at a finite number of points. Define βD\beta_{D} and βN\beta_{N} as continuous real-valued functions on ΓD\Gamma_{D} and ΓN\Gamma_{N}, respectively. Let /n\partial/\partial n denote differentiation to the direction of the exterior normal. The goal is to find a function uu such that:

  1. (1)

    uu is continuous in Ω¯\overline{\Omega} and differentiable in Ω\Omega.

  2. (2)

    For every point zΓDz\in\Gamma_{D}, u(z)=βD(z)u(z)=\beta_{D}(z).

  3. (3)

    For each zΓNz\in\Gamma_{N}, the normal derivative nu(z)=βN(z)\frac{\partial}{\partial n}u(z)=\beta_{N}(z).

For quadrilateral Q=(Ω;z1,z2,z3,z4)Q=(\Omega;z_{1},z_{2},z_{3},z_{4}), we consider the boundary segments γj\gamma_{j}, for j=1,2,3,4j=1,2,3,4, as the parts of Ω\partial\Omega connecting z1z_{1} to z2z_{2}, z2z_{2} to z3z_{3}, z3z_{3} to z4z_{4}, and z4z_{4} back to z1z_{1}, respectively. Let ΓD=γ2γ4\Gamma_{D}=\gamma_{2}\cup\gamma_{4}, ΓN=γ1γ3\Gamma_{N}=\gamma_{1}\cup\gamma_{3} and uu be the (unique) harmonic solution to the Dirichlet–Neumann mixed boundary value problem:

(3) {Δu(z)=0if zΩ,u(z)=0if zγ2,u(z)=1if zγ4,nu(z)=0if zγ1γ3.\begin{cases}\Delta u(z)=0&\text{if }z\in\Omega,\\ u(z)=0&\text{if }z\in\gamma_{2},\\ u(z)=1&\text{if }z\in\gamma_{4},\\ \frac{\partial}{\partial n}u(z)=0&\text{if }z\in\gamma_{1}\cup\gamma_{3}.\end{cases}

Then by Ahlfors [2, Theorem 4.5] and Papamichael and Stylianopoulos [31, Theorem 2.3.3])

(4) (Q)=Ω|u|2𝑑x𝑑y.\mathcal{M}(Q)=\iint_{\Omega}|\nabla u|^{2}\,dx\,dy.

The problem for the conjugate quadrilateral Q~\widetilde{Q} is called the conjugate Dirichlet–Neumann problem.

3. Conjugate Function Method

Suppose that QQ is a quadrilateral, and uu is the harmonic solution to the Dirichlet–Neumann problem (3). Let vv be the harmonic conjugate of uu, normalized by the condition v(Rez3,Imz3)=0v(\operatorname{Re}z_{3},\operatorname{Im}z_{3})=0. Then the analytic function f=u+ivf=u+iv maps Ω\Omega conformally onto the rectangle RhR_{h}, so that vertices are mapped onto 1+ih1+ih, ihih, 0, and 11. See [13].

Refer to caption
Figure 1. Boundary value problem (3). The Dirichlet boundary conditions are marked as thick lines. The Neumann boundary conditions are thin lines.

Now we may observe that the canonical conformal mapping of a quadrilateral Q=(Ω;z1,z2,z3,z4)Q=(\Omega;z_{1},z_{2},z_{3},z_{4}) onto the rectangle RhR_{h} with vertices at 1+ih1+ih, ihih, 0, and 11, can be obtained from solving the corresponding Dirichlet–Neumann problem uu and its conjugate problem. The following lemma (see [13, Lemma 2.3]) shows how to construct the conjugate harmonic function vv.

Lemma 3.1.

Let QQ be a quadrilateral with modulus hh, and suppose uu solves the Dirichlet–Neumann problem (3). If vv is a harmonic function conjugate to uu, satisfying v(Rez3,Imz3)=0v(\operatorname{Re}z_{3},\operatorname{Im}z_{3})=0, and u~\tilde{u} represents the harmonic solution for the conjugate quadrilateral Q~\widetilde{Q}, then v=hu~v=h\tilde{u}.

In particular, if uu and u~\tilde{u} are known, we may derive the value of the modulus hh through the Cauchy–Riemann equations. Once hh is known, we get the conformal mapping. The conjugate function method for constructing a conformal mapping is as follows:

Steps for Finding Conformal Mapping

  1. (1)

    Find the solution uu to the Dirichlet–Neumann problem (3).

  2. (2)

    Find the solution u~\tilde{u} to the Dirichlet–Neumann problem associated with Q~\widetilde{Q}.

  3. (3)

    Pick a suitable point inside the domain (usually near the center of the domain) and evaluate suitable pairs of partial derivatives {ux,u~y}\{u_{x},\tilde{u}_{y}\} and {u~x,uy}\{\tilde{u}_{x},u_{y}\}, where z=x+iyz=x+iy. If f=u+ihu~f=u+ih\tilde{u} is a conformal mapping, it satisfies the Cauchy–Riemann equations. Therefore we can compute hh as

    h=uxu~y or h=uyu~xh=\frac{u_{x}}{\tilde{u}_{y}}\text{ or }h=-\frac{u_{y}}{\tilde{u}_{x}}

    The vertices {z1,z2,z3,z4}\{z_{1},z_{2},z_{3},z_{4}\} are mapped onto the corners {1+ih,ih,0,1}\{1+ih,ih,0,1\}.

The partial derivatives of uu and u~\tilde{u} can be estimated using the five-point formula [1, p. 883] :

uxu(x+2Δx,y)+8u(x+Δx,y)8u(xΔx,y)+u(x2Δx,y)12Δx.u_{x}\approx\frac{-u(x+2\Delta x,y)+8u(x+\Delta x,y)-8u(x-\Delta x,y)+u(x-2\Delta x,y)}{12\Delta x}.

The error term for this approximation depends on the fourth derivative of u(x,y)u(x,y) and is given by:

Error=(Δx)4304ux4(ξ,y),\text{Error}=-\frac{(\Delta x)^{4}}{30}\frac{\partial^{4}u}{\partial x^{4}}(\xi,y),

where ξ\xi is a point in the interval [x2Δx,x+2Δx][x-2\Delta x,x+2\Delta x].

It is clear that solving the Dirichlet–Neumann problem (3) is the key step. Section 4 will introduce a stochastic approach to solve it numerically through simulation, which we call the Reflected Walk-on-Spheres (RWoS) method.

4. Theory behind the WoS method

The Walk-on-Spheres (WoS) method is a Monte Carlo algorithm used for solving the Dirichlet problem for the Laplace equation.

In this section, we first introduce the Brownian motion and state its invariance with respect to conformal mappings. Then we show the relation between Dirichlet–Neumann boundary value problems and Brownian motions, which is the foundation for our Reflected Walk-on-Spheres method.

4.1. Brownian motion

Definition 4.1.

A one-dimensional Brownian motion is a stochastic process {B(t),t0}\{B(t),t\geq 0\} characterized by:

  1. (1)

    The starting condition B(0)=xB(0)=x for a given real number xx.

  2. (2)

    Independence of increments: For any non-overlapping intervals [s1,t1][s_{1},t_{1}] and [s2,t2][s_{2},t_{2}], the increments B(t1)B(s1)B(t_{1})-B(s_{1}) and B(t2)B(s2)B(t_{2})-B(s_{2}) are independent.

  3. (3)

    For each time interval [t,t+h][t,t+h], the increment B(t+h)B(t)B(t+h)-B(t) is normally distributed with a mean of 0 and a variance of hh.

  4. (4)

    Continuity in probability: The path tB(t)t\mapsto B(t) is continuous with probability 1.

The case where B(0)=0B(0)=0 defines the standard Brownian motion.

A multi-dimensional Brownian motion in dd dimensions, denoted as {𝐁(t)=(B1(t),,Bd(t)),t0}\{\mathbf{B}(t)=(B_{1}(t),\ldots,B_{d}(t)),t\geq 0\}, consists of dd independent one-dimensional Brownian motions. In particular, the complex Brownian motion is B=B1+iB2B=B_{1}+iB_{2}, where B1B_{1} and B2B_{2} are two independent real Brownian motions.

Recall the following definition of the harmonic measure. For details we refer to [10, Chapter I].

Definition 4.2 (Harmonic measure).

For the upper half-plane \mathbb{H} and a point zz\in\mathbb{H}, the harmonic measure ω(z,E,)\omega(z,E,\mathbb{H}) of a set EE on the real line at the point zz is defined as:

(5) ω(z,E,)=j=1nθjπ\omega(z,E,\mathbb{H})=\sum_{j=1}^{n}\frac{\theta_{j}}{\pi}

where EE is a finite union of open intervals on the real line, and each θj\theta_{j} is given by:

θj=arg(zbjzaj)\theta_{j}=\text{arg}\left(\frac{z-b_{j}}{z-a_{j}}\right)

Here, (aj,bj)(a_{j},b_{j}) are the intervals so that EE is their union, and arg is the argument of a complex number.

The harmonic measure has the following properties:

  • (i)

    It is always between 0 and 1 for zz\in\mathbb{H}.

  • (ii)

    It approaches 1 as zz approaches EE.

  • (iii)

    It approaches 0 as zz approaches the complement of EE in the extended real line.

This measure is uniquely determined and is actually the unique harmonic function that satisfies the above properties. Its uniqueness is a consequence of Lindelöf’s maximum principle.

For the unit disk 𝔻\mathbb{D} , let EE be a finite union of open arcs on 𝔻\partial\mathbb{D}. The harmonic measure of EE at zz in 𝔻\mathbb{D} is defined to be

(6) ω(z,E,𝔻)=ω(f(z),f(E),)\omega(z,E,\mathbb{D})=\omega(f(z),f(E),\mathbb{H})

where ff is any conformal mapping from 𝔻\mathbb{D} onto \mathbb{H} such that f(Ω)f(\partial\Omega) is the real line. This harmonic function also satisfies the three conditions similar to (i), (ii), and (iii). In addition by Lindelöf’s maximum principle this definition is independent of how ff is chosen. Moreover, by changing the variable ϕ(z)=i(1+z)/(1z)\phi(z)=i(1+z)/(1-z) we get

(7) ω(z,E,𝔻)=E1|z|2|eiθz|2dθ2π\omega(z,E,\mathbb{D})=\int_{E}\frac{1-|z|^{2}}{|e^{i\theta}-z|^{2}}\frac{d\theta}{2\pi}

Let Ω\Omega be a simply connected domain and Ω\partial\Omega is a Jordan curve. Let ϕ\phi be a conformal mapping from the unit disk 𝔻\mathbb{D} onto Ω\Omega, zz is a point in Ω\Omega and w=ϕ1(z)w=\phi^{-1}(z). For any Borel set EΩE\subset\partial\Omega the harmonic measure of EE with respect to zz in Ω\Omega is defined as:

(8) ω(z,E,Ω)=ω(ϕ1(z),ϕ1(E),𝔻)=ϕ1(E)1|w|2|eiθw|2dθ2π\omega(z,E,\Omega)=\omega(\phi^{-1}(z),\phi^{-1}(E),\mathbb{D})=\int_{\phi^{-1}(E)}\frac{1-|w|^{2}}{|e^{i\theta}-w|^{2}}\frac{d\theta}{2\pi}
Remark 4.1.

The harmonic measure in (8) does not depend on the choice of ϕ\phi. If there is another function ψ\psi that maps 𝔻\mathbb{D} onto Ω\Omega, then by Riemann mapping theorem, ϕ1\phi^{-1} and ψ1\psi^{-1} differ only by a Möbius automorphism TT of 𝔻\mathbb{D}, i.e. ψ1=Tϕ1\psi^{-1}=T\circ\phi^{-1}. Therefore by (6),

(9) ω(ψ1(z),ψ1(E),𝔻)=ω(T(ϕ1(z)),T(ϕ1(E)),𝔻)=ω((fT)(ϕ1(z)),(fT)(ϕ1(E)),)=ω(ϕ1(z),ϕ1(E),𝔻),\begin{split}\omega(\psi^{-1}(z),\psi^{-1}(E),\mathbb{D})&=\omega\big{(}T\circ(\phi^{-1}(z)),T\circ(\phi^{-1}(E)),\mathbb{D}\big{)}\\ &=\omega\big{(}(f\circ T)\circ(\phi^{-1}(z)),(f\circ T)\circ(\phi^{-1}(E)),\mathbb{H}\big{)}\\ &=\omega\big{(}\phi^{-1}(z),\phi^{-1}(E),\mathbb{D}\big{)},\end{split}

because fTf\circ T is a conformal mapping.

Furthermore, if we choose the conformal mapping ϕ\phi from Ω\Omega to 𝔻\mathbb{D} such that ϕ(z0)=0\phi(z_{0})=0 for z0Ωz_{0}\in\Omega, the harmonic measure of EΩE\subset\partial\Omega at z0z_{0} in Ω\Omega becomes

(10) ω(0,ϕ1(E),𝔻)=ϕ1(E)1|0|2|eiθ0|2dθ2π=|ϕ1(E)|\omega(0,\phi^{-1}(E),\mathbb{D})=\int_{\phi^{-1}(E)}\frac{1-|0|^{2}}{|e^{i\theta}-0|^{2}}\frac{d\theta}{2\pi}=|\phi^{-1}(E)|

where |||\cdot| denotes the Euclidean length of an arc on the unit circle.

In this case the interpretation of harmonic measure becomes closely tied to probability theory. Specifically, it represents the probability that a Brownian motion starting from the origin, exits the disk through the set ϕ1(E)\phi^{-1}(E). Due to the symmetry of the disk, this probability is uniform and is equal to |ϕ1(E)|/(2π)|\phi^{-1}(E)|/(2\pi). This illustrates the probabilistic interpretation of the harmonic measure.

4.2. Conformal invariance of the Brownian motion and the harmonic measure

Brownian motion in the plane, or the complex Brownian motion, exhibits a conformal invariance, see e.g. [23, Theorem 2.2]. Indeed, let ff be a conformal mapping from domain Ω\Omega onto Ω\Omega^{\prime}. If BB is a complex Brownian motion on Ω\Omega then f(B)f(B) admits the representation

f(Bt)=B~0t|f(Bu)|2𝑑u,f(B_{t})=\widetilde{B}_{\int_{0}^{t}|f^{\prime}(B_{u})|^{2}du},

where B~\widetilde{B} is another complex Brownian motion. Thus the image trajectory of a Brownian motion under conformal mapping is still a trajectory of Brownian motion.

Thus if we choose the conformal mapping ϕ\phi from Ω\Omega to 𝔻\mathbb{D} such that ϕ(z0)=0\phi(z_{0})=0, when a Brownian particle starting at that point z0z_{0} in Ω\Omega exits the domain through EE, we would observe in 𝔻\mathbb{D} that the Brownian particle starting at 0 and exits the domain through ϕ1(E)\phi^{-1}(E). So we can conclude the probability of zz hitting EE is precisely the harmonic measure ω(z,E,Ω)=|ϕ1(E)|\omega(z,E,\Omega)=|\phi^{-1}(E)|. More generally speaking, the probability of the Brownian motion hitting a particular part of the boundary in the conformally transformed domain is the same as in the original domain [23].

The next definition introduces a powerful function for dealing with reflection at Neumann boundaries in RWoS algorithm.

Definition 4.3 (Anti-conformal Mapping).

An anti-conformal mapping is a continuous function w=f(z)w=f(z) from a neighborhood of z0z_{0} in the complex zz-plane to a neighborhood of w0w_{0} in the complex ww-plane. It preserves angles but reverses orientation.

The reversal of orientation in anti-conformal mappings changes the trajectories of the Brownian paths by mirroring them. Consequently, a Brownian trajectory remains a Brownian trajectory under anti-conformal maps.

Proposition 4.1.

The trajectory of a Brownian motion under an anti-conformal map is again a trajectory of a Brownian motion in the image domain. The same holds for the harmonic measure. Indeed, ω(X,Ω,z)=ω(f(X),f(Ω),f(z))\omega(X,\Omega,z)=\omega(f(X),f(\Omega),f(z)) for any subset XΩX\subset\partial\Omega and anti-conformal mapping ff.

4.3. Connection between Dirichlet–Neumann boundary value problems and Brownian motion

The connection between Dirichlet boundary value problems and Brownian motion is due to Kakutani in 1944 [19]. Kakutani showed that the solution to the Dirichlet problem can be represented in terms of Brownian motion. Specifically, if a Brownian motion starts from a point inside Ω\Omega, the value of the harmonic function uu at that point is the expected value of the dirichlet boundary function β\beta evaluated at the point where the Brownian motion first exits the domain Ω\Omega. Indeed, if BB is a Brownian motion starting at point z=x+iyz=x+iy inside Ω\Omega, and τ\tau is the first exit time from Ω\Omega, then the solution u(z)u(z) to the Dirichlet problem is given by:

u(z)=𝔼z[β(B(τ))]u(z)=\mathbb{E}_{z}[\beta(B(\tau))]

Here, 𝔼z[f(B(τ))]\mathbb{E}_{z}[f(B(\tau))] is the expected value of ff at the exit point of the Brownian motion from Ω\Omega starting from z=x+iyΩz=x+iy\in\Omega.

In the plane, the Kakutani connection has been extended for the Dirichlet–Neumann problem, see e.g. Sylvain Maire and Etienne Tanré [25]. When the normal derivative at the Neumann Boundary is zero, the stochastic representation is simplified enough to simulate through WoS method. In this case, Brownian motion is reflected about the normal line at the point where it hits the Neumann boundary (a process known as specular reflection). Following this reflection, the (reflected) Brownian motion is halted at the first time it hits the Dirichlet boundary. For the proof, we refer to [25].

Proposition 4.2 (Stochastic Representation).

Let Ω\Omega be a bounded domain in \mathbb{C} with a regular boundary Γ=ΓDΓN\Gamma=\Gamma_{D}\cup\Gamma_{N} where ΓD\Gamma_{D} and ΓN\Gamma_{N} are both unions of regular Jordan arcs such that ΓDΓN\Gamma_{D}\cap\Gamma_{N} is finite. If βN=0\beta_{N}=0 and βD\beta_{D} is a continuous function on ΓD\Gamma_{D}. Then, For a point z=x+iyz=x+iy in Ω\Omega, the harmonic solution uu to the Dirichlet–Neumann problem is given by u(z)=𝔼z[βD(Bτ)]u(z)=\mathbb{E}_{z}\left[\beta_{D}\left(B_{\tau}\right)\right], where BB is a 22-dimensional Brownian motion, the expected value is taken conditionally on {B0=z=x+iy}\left\{B_{0}=z=x+iy\right\}, and τ\tau is the first exit time from ΓD\Gamma_{D}, which is also the first-hitting time of ΓD\Gamma_{D}. When the particle touches the Neumann boundary ΓN\Gamma_{N}, it is reflected symmetrically back into the domain.

The Dirichlet–Neumann problem in (3) is the case when ΓD=γ2γ4\Gamma_{D}=\gamma_{2}\cup\gamma_{4}, ΓN=γ1γ3\Gamma_{N}=\gamma_{1}\cup\gamma_{3}, βD=1\beta_{D}=1 on γ4\gamma_{4} and βD=0\beta_{D}=0 on γ2\gamma_{2}.

To approximate a solution to the Dirichlet–Neumann problem using Brownian motion, one can simulate multiple independent Brownian paths starting from a point inside the domain. By the Law of Large Numbers, the average value of a function evaluated at the exit points of these paths will converge to the expected value, providing an approximation of the solution. Mathematically, this is expressed as:

𝔼z[βD(Bτ)]1ki=1kβD(Bτii)\mathbb{E}_{z}\left[\beta_{D}\left(B_{\tau}\right)\right]\sim\frac{1}{k}\sum_{i=1}^{k}\beta_{D}\left(B_{\tau_{i}}^{i}\right)

where kk is the number of simulated paths, and BτiiB_{\tau_{i}}^{i} is the exit point of the ii-th path.

5. Reflected Walk-On-Spheres Algorithm

An obvious method for simulating Brownian motion involve discretizing its path into small time intervals and computing the movement in each interval. This can be computationally intensive, especially for fine time scale discretizations. The WoS method, on the other hand, uses a different approach by jumping directly from one point to another within a sphere, significantly reducing the number of steps needed to simulate the Brownian path. The Walk-on-Spheres (WoS) method [27] exploits the rotational invariance of Brownian motion: the exit point of a Brownian trajectory from a sphere is uniformly distributed over the sphere’s surface. The WoS method starts at an initial point in the domain and repeatedly draws the largest possible sphere within the domain, selecting the next point uniformly from the sphere’s surface until the boundary is hit. This process is repeated to build a sequence of points that simulate the Brownian motion on the spheres. Versions of WoS method for eigenvalue type equations have been investigated in [37, 38].

5.1. Sampling the Exit Point

The WoS algorithm samples the first exit point of a Brownian motion from a domain. Starting with z(0)=zz^{(0)}=z, it iteratively draws the largest possible sphere 𝒮0\mathcal{S}_{0} within the domain and determines the exit point z(1)z^{(1)} until the Brownian motion approaches the boundary. One may think the process converges to the boundary very fast. Yet, practically, the algorithm would require an infinite number of steps to stop [26] since the imaginary boundary has no thickness and the closer the Brownian particle is to the boundary, the smaller the radius of the sphere is. To address this in computational implementations, the process is halted as soon as it approaches close enough to the boundary, typically within an ε\varepsilon-shell, and the point of exit is projected onto the boundary. This approach is often referred to as the introduction of an ϵ\epsilon-shell or ϵ\epsilon-layer.

Refer to caption
Figure 2. An illustration of the Walk-on-spheres algorithm with an ε\varepsilon-shell.

5.2. Reflection at Neumann Boundaries

In the Dirichlet–Neumann problem the Brownian trajectory is absorbed in the Dirichlet boundary and reflected on the zero-valued Neumann boundary. The challenge in applying the WoS algorithm in solving the 2d Dirichlet–Neumann problem is to accurately reflect the Brownian motion at Neumann boundaries. One idea is that, when the particle is near the Neumann boundary, stop walking on spheres and use the primitive idea of simulating fine time mesh to compute the reflection angle about the normal lines. But this is not only very costly in computation, but also it brings in an error dependent on step size in the simulation. Therefore, the idea of fine time mesh to simulate reflection is not very desirable. Fortunately, for Neumann boundaries that are straight segments, we can think of them as mirrors and walk on spheres through the mirrors as if there is no barrier between our real world and the reflected imaginary world. As soon as the Brownian particle stepped into the reflected domain, we bring it back by reflecting it about the straight Neumann boundary, just as if it had bounced off the mirror (maybe more than once). In this way, we have walked on a sphere not bounded by the Neumann boundary. Although we don’t know the exact reflection process the particle went through, we have simulated the destination point at a macroscopic level. And then we set this destination point as the center for the next sphere walk.

Constructing the anti-conformal map for reflection over curved boundary

In addition of straight lines, we also consider curved Neumann boudaries. The reflection with respect to curved boundaries are handled by using anti-conformal mappings.

In the following NΓNΩN\subseteq\Gamma_{N}\subseteq\partial\Omega is a curved Neumann boundary.

  1. (1)

    Find the conformal mapping ff that transform NN into a straight line segment II.

  2. (2)

    Find the reflection function RR about the line segment II.

  3. (3)

    Then the composition function g=f1Rfg=f^{-1}\circ R\circ f is the desired anti-conformal mapping which mirrors Ω\Omega into the reflected domain g(Ω)g(\Omega). Since only the set NN remains fixed in the reflection, it would be expected Ωg(Ω)=N\Omega\cap g(\Omega)=N.

In addition, g=g1g=g^{-1} since

gg\displaystyle g\circ g =\displaystyle= (f1Rf)(f1Rf)\displaystyle(f^{-1}\circ R\circ f)\circ(f^{-1}\circ R\circ f)
=\displaystyle= f1R(ff1)Rf\displaystyle f^{-1}\circ R\circ(f\circ f^{-1})\circ R\circ f
=\displaystyle= f1(RR)f\displaystyle f^{-1}\circ(R\circ R)\circ f
=\displaystyle= f1f=Identity.\displaystyle f^{-1}\circ f=\text{Identity}.

Therefore, g(g(Ω))=Ωg(g(\Omega))=\Omega.

The remaining question is how to find the conformal mapping ff from curved boundary to line segment. This is a difficult question and there is no general answer yet. However, this issue is mitigated for circular-arc boundaries for which we have the well-known Möbius transformations that can map circles into lines.

If we use the composition mentioned above, for circular-arc boundaries with radius RR centered at (x1,y1)(x_{1},y_{1}), the mapping

(11) (x,y)(R2(xx1)(xx1)+2(yy1)2+x1,R2(yy1)(xx1)+2(yy1)2+y1)(x,y)\mapsto\left(\frac{R^{2}\left(x-x_{1}\right)}{\left(x-x_{1}\right){}^{2}+\left(y-y_{1}\right){}^{2}}+x_{1},\frac{R^{2}\left(y-y_{1}\right)}{\left(x-x_{1}\right){}^{2}+\left(y-y_{1}\right){}^{2}}+y_{1}\right)

is the anti-conformal reflection. This mapping is an inversion in S((x1,y1),R)S((x_{1},y_{1}),R) and hence preserves the class of generalized circles[5, Theorem 3.2.1]. Thus the reflections at circular-arc Neumann boundary are manageable.

Remark 5.1.

Note that the particle cannot be reflected somewhere outside the original domain Ω\Omega. Also note that some line segments or circular arcs may adjoin each other to form a consecutive Neumann boundary. In this case it is necessary to break it into smaller tractable pieces. Therefore when calculating each radius of next walking sphere, we should set it to be the minimal distance between the current position z(n)z^{(n)} and ΓDS(igi(ΩNi))\Gamma_{D}\cup S\cup\left(\bigcup_{i}g_{i}\left(\partial\Omega\setminus N_{i}\right)\right), where SS is the splitting points of the consecutively adjoining Neumann boundaries, gig_{i} is the anti-conformal mapping function for reflecting about the iith Neumann boundary NiN_{i} among all the Neumann boundaries ΓNΩ\Gamma_{N}\subseteq\partial\Omega. In this way, it ensures the Brownian trajectories stay in the original domain. In practice, the distance calculation d(z(n),(ΓDS(igi(ΩNi))))d\left(z^{(n)},\left(\Gamma_{D}\cup S\cup\left(\bigcup_{i}g_{i}(\partial\Omega\setminus N_{i})\right)\right)\right) can often be optimized by not considering some boundaries due to the intrinsic geometry of the original domain Ω\Omega.

Algorithm 1 Reflected Walk-on-spheres (RWoS) method for sampling reflected Brownian trajectory exit points in polygonal or circular-arc domains
1:ε>0\varepsilon>0, Ω\Omega is the domain in a plane. Ω=ΓDΓN\partial\Omega=\Gamma_{D}\cup\Gamma_{N} where ΓD\Gamma_{D} is the set of Dirichlet boundaries and ΓN\Gamma_{N} is the set of zero-normal-derivative Neumann boundaries.
2:Split the ΓN\Gamma_{N} into circular arcs or line segments iNi\bigcup_{i}N_{i}, let SS be their splitting points. Let gig_{i} be the anti-conformal mapping function for reflecting about the iith Neumann boundary NiN_{i} among all the Neumann boundaries iNi=ΓN\bigcup_{i}N_{i}=\Gamma_{N}.
3:Initialize: z(0)=zz^{(0)}=z
4:while d(z(n),ΓD)>εd(z^{(n)},\Gamma_{D})>\varepsilon do
5:     Set rn=d(z(n),(ΓDS(igi(ΩNi))))r_{n}=d\left(z^{(n)},\left(\Gamma_{D}\cup S\cup\left(\bigcup_{i}g_{i}(\partial\Omega\setminus N_{i})\right)\right)\right).
6:     Sample γn\gamma_{n} uniformly distributed over the unit sphere.
7:     Set z(n+1):=z(n)+rnγnz^{(n+1)}:=z^{(n)}+r_{n}\gamma_{n}.
8:     if z(n+1)Ωz^{(n+1)}\notin\Omega then
9:         if Neumann boundary is a line segment then
10:              Reflect z(n+1)z^{(n+1)} about the line back to Ω\Omega.
11:         else\triangleright (Neumann boundary is a circular arc)
12:              Reflect z(n+1)z^{(n+1)} by function 11.
13:         end if
14:     end if
15:end while
16:Set zf:=pΓ(z(n))z_{f}:=p_{\Gamma}(z^{(n)}), the orthogonal projection on Γ\Gamma.
17:return zfz_{f}
Refer to caption
Figure 3. An illustration of the Reflected Walk-on-spheres algorithm. The original domain Ω\Omega is the region enclosed by a rectangle and a half circle. The left side of the rectangle N1N_{1} and the half circle are the Neumann boundaries. g1,g2g_{1},g_{2} are the anti-conformal mappings that reflects Ω\Omega.

6. Examples

In this section, we give simulation examples and results to demonstrate our method is an effective one in numerically solving mixed boundary Laplace equations and constructing conformal mappings.

For the canonical mapping f=u+vif=u+vi of quadrilaterals, we plot the equipotential curves of uu and vv. We also give the computed values of their moduli and compare them to the reference values. These examples have been computed using a straightforward implementation of the algorithm on C programming language. To compare these results with the deterministic hphp-finite element method, the readers should refer to [15].

In addition to the 2d examples, we our RWoS method can be extended to solve Laplace equation in polyhedral domains with zero Neumann boundary conditions in the three-dimensional space. This kind of problems arises in engineering, e.g., heat transfer problems.

6.1. Rectangle

We first test our method on the simplest canonical domain, which is the rectangle {z:0<Re(z)<h,0<Im(z)<1}\{z\in\mathbb{C}:0<\operatorname{Re}(z)<h,0<\operatorname{Im}(z)<1\}. By Definition 2.1, the modulus of the normalized rectangle is its height hh.

Refer to caption
Refer to caption
Figure 4. The rectangle with vertices (0,0)(0,0), (1,0)(1,0), (1,h)(1,h), (0,h)(0,h).
Height(Modulus) h Computed value Error
0.600000 0.600292 2.921042.92\cdot 10^{-4}
0.800000 0.799714 2.861042.86\cdot 10^{-4}
1.000000 1.000458 4.581044.58\cdot 10^{-4}
1.200000 1.200488 4.881044.88\cdot 10^{-4}
1.400000 1.400667 6.671046.67\cdot 10^{-4}
Table 1. Moduli of rectangle with vertices (0,0)(0,0), (1,0)(1,0), (1,h)(1,h), (0,h)(0,h).
Refer to caption
Figure 5. The canonical conformal mesh for rectangle.

6.2. L-shaped region

The L-shaped region

L(a,b,c,d)=L1L2,L1={z:0<Re(z)<a,0<Im(z)<b},L2={z:0<Re(z)<d,0<Im(z)<c},0<d<a,0<b<c\begin{gathered}L(a,b,c,d)=L_{1}\cup L_{2},\quad L_{1}=\{z\in\mathbb{C}:0<\operatorname{Re}(z)<a,0<\operatorname{Im}(z)<b\},\\ L_{2}=\{z\in\mathbb{C}:0<\operatorname{Re}(z)<d,0<\operatorname{Im}(z)<c\},0<d<a,0<b<c\end{gathered}

is commonly used in various computational analyses. It has been explored by Gaier [9], who provided computed moduli values for such domains. We compare our results with his.

Refer to caption
Refer to caption
Figure 6. Contour lines of the potential functions in the L-shaped region. The vertices of the region QQ are z1=(0,0)z_{1}=(0,0), z2=(3,0)z_{2}=(3,0), z3=(3,1)z_{3}=(3,1), z4=(2,1)z_{4}=(2,1), z5=(2,2)z_{5}=(2,2), and z6=(0,2)z_{6}=(0,2). Modulus reference for M(Q;z2,z4,z6,z1)=1.508154M(Q;z_{2},z_{4},z_{6},z_{1})=1.508154 and M(Q;z1,z2,z4,z6)=0.663062M(Q;z_{1},z_{2},z_{4},z_{6})=0.663062. Computed modulus using the five-point formula is 1.5081081.508108 and 0.6630820.663082.
Nodes Reference [15] Computed value Error
M(Q;z2,z4,z6,z1)M(Q;z_{2},z_{4},z_{6},z_{1}) 1.508154 1.508108 4.61054.6\cdot 10^{-5}
M(Q;z1,z2,z4,z6)M(Q;z_{1},z_{2},z_{4},z_{6}) 0.663062 0.663150 8.81058.8\cdot 10^{-5}
Table 2. Moduli of the L-shaped region and its conjugate quadrilateral.
Refer to caption
Figure 7. The canonical conformal mesh of the L-shaped region.

6.3. Circular-arc quadrilaterals

Given four distinct points z1,z2,z3,z4z_{1},z_{2},z_{3},z_{4} in the complex plane \mathbb{C}, the cross-ratio is defined by the expression:

(12) [z1,z2,z3,z4]=(z1z3)(z2z4)(z1z4)(z2z3).\left[z_{1},z_{2},z_{3},z_{4}\right]=\frac{(z_{1}-z_{3})(z_{2}-z_{4})}{(z_{1}-z_{4})(z_{2}-z_{3})}.

An important property of the cross-ratio is its invariance under Möbius transformations. That is, if TT is a Möbius transformation, then the cross-ratio of the transformed points T(z1),T(z2),T(z3),T(z4)T(z_{1}),T(z_{2}),T(z_{3}),T(z_{4}) remains unchanged:

(13) [T(z1),T(z2),T(z3),T(z4)]=[z1,z2,z3,z4].\left[T(z_{1}),T(z_{2}),T(z_{3}),T(z_{4})\right]=[z_{1},z_{2},z_{3},z_{4}].

Type A. Consider a quadrilateral with sides formed by circular arcs from intersecting orthogonal circles, where angles are π/2\pi/2. Let 0<a<b<c<2π0<a<b<c<2\pi and select points {1,eia,eib,eic}\{1,e^{ia},e^{ib},e^{ic}\} on the unit circle. The absolute value of the cross-ratio of these four points is

(14) |[1,eia,eib,eic]|=sin(b/2)sin((ca)/2)sin(a/2)sin((cb)/2)=u.\Big{|}\big{[}1,e^{ia},e^{ib},e^{ic}\big{]}\Big{|}=\frac{\sin(b/2)\sin((c-a)/2)}{\sin(a/2)\sin((c-b)/2)}=u.

Define QAQ_{A} as the domain obtained from the unit disk by removing regions bounded by two orthogonal arcs with endpoints {1,eia}\{1,e^{ia}\} and {eib,eic}\{e^{ib},e^{ic}\} respectively, forming the quadrilateral (QA;eia,eib,eic,1)(Q_{A};e^{ia},e^{ib},e^{ic},1). By applying an appropriate Möbius transformation, we are able to conformally map the quadrilateral QAQ_{A} onto the upper semicircle of the annulus {z:1<|z|<t}\{z\in\mathbb{C}:1<|z|<t\} in the complex plane. The conformal modulus of the annulus {z:1<|z|<t}\{z\in\mathbb{C}:1<|z|<t\} is (2π/logt)(2\pi/\log t) [9]. Therefore the modulus of the quadrilateral is precisely half that of the full annulus,

(15) (QA;eia,eib,eic,1)=πlogt,\mathcal{M}(Q_{A};e^{ia},e^{ib},e^{ic},1)=\frac{\pi}{\log t},

with:

t=2u1+2u2u,t>1.t=2u-1+2\sqrt{u^{2}-u},\quad t>1.

The contours of the two potential functions are shown in Figure 8. The computed values of the moduli are in Table 3.

Refer to caption
Refer to caption
Figure 8. The quadrilateral (QA;π/3,11π/12,4π/3,1)(Q_{A};\pi/3,11\pi/12,4\pi/3,1).
Refer to caption
Figure 9. The canonical conformal mesh of (QA;π/3,11π/12,4π/3,1)(Q_{A};\pi/3,11\pi/12,4\pi/3,1).
Nodes Reference [15] Computed value Error
(2, 10, 12) 0.707150 0.708127 9.771049.77\cdot 10^{-4}
(2, 10, 14) 0.807451 0.807155 2.961042.96\cdot 10^{-4}
(4, 12, 18) 1.038325 1.038780 4.551044.55\cdot 10^{-4}
(6, 16, 24) 1.170060 1.170932 8.721048.72\cdot 10^{-4}
(8, 22, 32) 1.313262 1.313680 4.181044.18\cdot 10^{-4}
Table 3. Moduli of quadrilaterals (QA;eimπ/24(Q_{A};e^{im\pi/24}, einπ/24e^{in\pi/24}, eirπ/24,1)e^{ir\pi/24},1) for several integer triples (m,n,r)(m,n,r)

Type B. Consider the sides of the quadrilateral as circular arcs within the unit disk, where each internal angle is π\pi. Consequently, the unit disk, along with the boundary points {eia,eib,eic,1}\{e^{ia},e^{ib},e^{ic},1\}, defines a quadrilateral, which we denote as QBQ_{B}. Again, by employing a proper Möbius transformation to map the unit disk onto the upper half-plane, we can conveniently express the modulus using the capacity of the Teichmüller ring domain [4, Section 7]. This is formulated as:

(16) (QB;eia,eib,eic,1)=12τ(u1),\mathcal{M}(Q_{B};e^{ia},e^{ib},e^{ic},1)=\frac{1}{2}\tau(u-1),

where uu is defined as in equation (14), and

τ(t)=πμ1/2(1/1+t),t>0,\tau(t)=\frac{\pi}{\mu_{1/2}(1/\sqrt{1+t})},\quad t>0,

Here, μ1/2(r)\mu_{1/2}(r) is defined in [15, Subsection 4.3]. The summarized results are presented in Table 4, The contours of an example are shown in Figure 10.

Refer to caption
Refer to caption
Figure 10. The quadrilateral (QB;π/12,5π/12,π/2,1)(Q_{B};\pi/12,5\pi/12,\pi/2,1).
Refer to caption
Figure 11. The canonical conformal mesh of (QB;π/12,5π/12,π/2,1)(Q_{B};\pi/12,5\pi/12,\pi/2,1).
Nodes Reference [15] Computed value Error
(2, 10, 12) 0.538971 0.538686 2.851042.85\cdot 10^{-4}
(2, 10, 14) 0.595343 0.595158 1.851041.85\cdot 10^{-4}
(4, 12, 18) 0.712162 0.712533 3.711043.71\cdot 10^{-4}
(6, 16, 24) 0.771869 0.771132 7.371047.37\cdot 10^{-4}
(8, 22, 32) 0.831900 0.831458 4.421044.42\cdot 10^{-4}
Table 4. Moduli of quadrilaterals (QB;eimπ/24(Q_{B};e^{im\pi/24}, einπ/24e^{in\pi/24}, eirπ/24,1)e^{ir\pi/24},1) for several integer triples (m,n,r)(m,n,r)

6.4. Three-dimensional examples

In higher dimensions, our method has particular appeal due to its relative simplicity when compared to alternative solutions. The reflected WoS algorithm extends naturally to 3D Dirichlet–Neumann domains, modeling insulated heat flow in thermodynamics. See Figures 12 and 13.

Refer to caption
Figure 12. Visualization of the solution to Laplace equation in L-shaped polyhedron. The top side and the rightmost side are Dirichlet boundaries with value 1 and 0, respectively. Other sides have zero Neumann boundaries.
Refer to caption
Figure 13. (Redrawn in temperature scale) Temperature distribution in a steady heat transfer flow of an L-shaped insulated polyhedron. The top blue side represents the cold sink and the right yellow side represents the hot source.

7. Discussion

While several methods for solving the potential functions required by the conjugate function method are known, and the main motivation of this paper was to test feasibility of using a Walk-on-Spheres algorithm for this purpose, this approach does have several distinct advantages. Potential advantages of the approach include the following.

Firstly, unlike finite element methods, it does not require a mesh or a parameterization of the underlying domain, just a simple representation of the boundary as a polygon or a circular arc polygon is needed. This is a significant advantage in the higher dimensions and in the cases where the domain has a complex geometry [17]. Our algorithm can take a full advantage of parallel computation, because the value of the function is simulated at each point independently of the others. In the planar case, it is suitable for computations on polygonal domains and circular arc polygons, latter of which is not easy to handle in some approaches. The algorithm is also expected to be suitable for unbounded domains (see [16]), although this needs further investigation.

Code and data availability

Open source C/Python source code for reproducing results in this paper, along with test results, can be downloaded from the page:
https://github.com/arasila/wos_conformal/.

Acknowledgments

The research was partly supported by NSF of China under the number 11971124, NSF of Guangdong Province under the numbers 2021A1515010326 and 2024A1515010467, and Li Ka Shing Foundation under the number 2024LKSFG06.

Authors wish tho thank Siqi Liu, a Guangdong Technion student, for her help in writing the Python code that was used in plotting the figures in this paper.

References

  • [1] M. Abramowitz and I. A. Stegun, Handbook of mathematical functions with formulas, graphs, and mathematical tables, vol. No. 55 of National Bureau of Standards Applied Mathematics Series, U. S. Government Printing Office, Washington, DC, 1964. For sale by the Superintendent of Documents.
  • [2] L. Ahlfors, Conformal Invariants: Topics in Geometric Function Theory, McGraw-Hill Book Co., 1973.
  • [3]  , Lectures on quasiconformal mappings, vol. 38 of University Lecture Series, American Mathematical Society, Providence, RI, second ed., 2006. With supplemental chapters by C. J. Earle, I. Kra, M. Shishikura and J. H. Hubbard.
  • [4] G. Anderson, M. Vamanamurthy, and M. Vuorinen, Conformal invariants, inequalities, and quasiconformal maps, (1997).
  • [5] A. F. Beardon, The Geometry of Discrete Groups, Graduate Texts in Mathematics, Springer New York, NY, 1 ed., 1983.
  • [6] P. Bowers and M. Hurdal, Planar conformal mappings of piecewise flat surfaces, Visualization Math. III, (2003), pp. 3–34.
  • [7] W. Calixto, B. Alvarenga, J. da Mota, L. da Cunha Brito, M. Wu, A. Alves, L. Neto, and C. Lemos Antunes, Electromagnetic problems solving by conformal mapping: A mathematical operator for optimization, Mathematical Problems in Engineering, 2010 (2011), p. e742039.
  • [8] T. Driscoll and L. Trefethen, Schwarz-Christoffel mapping, vol. 8 of Cambridge Monographs on Applied and Computational Mathematics, Cambridge University Press, Cambridge, 2002.
  • [9] D. Gaier, Conformal Modules and their Computation, World Scientific, River Edge, NJ, 1995, pp. 159–171.
  • [10] J. Garnett and D. Marshall, Harmonic Measure, Cambridge University Press, 2005.
  • [11] F. González-Matesanz and J. Malpica, Quasi-conformal mapping with genetic algorithms applied to coordinate transformations, Computers & Geosciences, 32 (2006), pp. 1432–1441.
  • [12] X. Gu and S.-T. Yau, Computational conformal geometry, vol. 3 of Advanced Lectures in Mathematics (ALM), International Press, Somerville, MA; Higher Education Press, Beijing, 2008. With 1 CD-ROM (Windows, Macintosh and Linux).
  • [13] H. Hakula, T. Quach, and A. Rasila, Conjugate function method for numerical conformal mappings, Journal of Computational and Applied Mathematics, 237 (2013), pp. 340–353.
  • [14] H. Hakula, T. Quach, and A. Rasila, The conjugate function method and conformal mappings in multiply connected domains, SIAM J. Sci. Comput., 41 (2019), pp. A1753–A1776.
  • [15] H. Hakula, A. Rasila, and M. Vuorinen, On moduli of rings and quadrilaterals: algorithms and experiments, SIAM J. Sci. Comput., 33 (2011), pp. 279–302.
  • [16]  , Computation of exterior moduli of quadrilaterals, Electron. Trans. Numer. Anal., 40 (2013), pp. 436–451.
  • [17]  , Conformal modulus and planar domains with strong singularities and cusps, Electron. Trans. Numer. Anal., 48 (2018), pp. 462–478.
  • [18] P. Henrici, Applied and Computational Complex analysis. Vol. 3: Discrete Fourier Analysis—Cauchy Integrals—Construction of Conformal Maps—Univalent Functions, John Wiley & Sons, Inc., USA, 1986.
  • [19] S. Kakutani, Two-dimensional brownian motion and harmonic functions, Proceedings of the Imperial Academy, 20 (1944), pp. 706–714.
  • [20] L. Kharevych, B. Springborn, and P. Schröder, Discrete conformal mappings via circle patterns, ACM Trans. Graphics (TOG), 25 (2006), pp. 412–423.
  • [21] S. Krantz, Geometric function theory: Explorations in Complex Analysis, Cornerstones, Birkhäuser Boston, Inc., Boston, MA, 2006.
  • [22] P. Kythe, Handbook of conformal mappings and applications, CRC Press, Boca Raton, FL, 2019.
  • [23] G. Lawler, Conformally invariant processes in the plane, vol. 114 of Mathematical Surveys and Monographs, 2005.
  • [24] O. Lehto and K. Virtanen, Quasiconformal Mappings in the Plane, Springer, Berlin, 1973.
  • [25] S. Maire and E. Tanré, Monte Carlo approximations of the Neumann problem, Monte Carlo Methods and Applications, 19 (2013), pp. 201–236.
  • [26] M. Mascagni and C.-O. Hwang, ϵ\epsilon-shell error analysis for ”walk on spheres” algorithms, Mathematics and Computers in Simulation, 63 (2003), pp. 93–104.
  • [27] M. Muller, Some continuous Monte Carlo methods for the Dirichlet problem, Ann. Math. Statist., 27 (1956), pp. 569–589.
  • [28] M. Nasser, Numerical conformal mapping via a boundary integral equation with the generalized Neumann kernel, SIAM J. Sci. Comput., 31 (2009), pp. 1695–1715.
  • [29] M. Nasser, O. Rainio, A. Rasila, M. Vuorinen, T. Wallace, H. Yu, and X. Zhang, Polycircular domains, numerical conformal mappings, and moduli of quadrilaterals, Adv. Comput. Math., 48 (2022), pp. Paper No. 58, 34.
  • [30] M. Nasser and M. Vuorinen, Isoperimetric properties of condenser capacity, Journal of Mathematical Analysis and Applications, 499 (2021), p. 125050.
  • [31] N. Papamichael and N. Stylianopoulos, Numerical Conformal Mapping: Domain Decomposition and the Mapping of Quadrilaterals, World Scientific Publishing Company, 2010.
  • [32] R. Schinzinger and P. Laura, Conformal Mapping: Methods and Applications, Dover Publications, Inc., Mineola, NY, revised edition ed., 2003. Revised edition of the 1991 original.
  • [33] K. Stephenson, Introduction to Circle Packing: The Theory of Discrete Analytic Functions, Cambridge University Press, Cambridge, 2005.
  • [34] M. Vermeer and A. Rasila, Map of the World; An Introduction to Mathematical Geodesy, CRC Press, Boca Raton, FL, 2020.
  • [35] Y. Wang, X. Yin, J. Zhang, X. Gu, T. Chan, P. M. Thompson, and S.-T. Yau, Brain mapping with the Ricci flow conformal parameterization and multivariate statistics on deformation tensors, in 2nd MICCAI Workshop on Mathematical Foundations of Computational Anatomy, 2008, pp. 36–47.
  • [36] R. Wegmann, Chapter 9 - methods for numerical conformal mapping, in Geometric Function Theory, R. Kühnau, ed., vol. 2 of Handbook of Complex Analysis, North-Holland, 2005, pp. 351–477.
  • [37] X. Yang, A. Rasila, and T. Sottinen, Walk on spheres algorithm for Helmholtz and Yukawa equations via Duffin correspondence, Methodol. Comput. Appl. Probab., 19 (2017), pp. 589–602.
  • [38]  , Efficient simulation of the Schrödinger equation with a piecewise constant positive potential, Math. Comput. Simulation, 166 (2019), pp. 315–323.