Schwarz-Christoffel transformation (circular version)
The complex-variables function
maps the closed unit disc in the complex plane conformally onto a polygon
with sides, interior angles
,and vertices . (The polygon is assumed to be not self-intersecting.)The parameters lie on the unit circle,and depend, generally in a complicated way, on the length of the sidesof the polygon.
The fractional powers serve to clamp up an arc of thecircle into a pointy angle of measure .Indeed, the proof of the Schwarz-Christoffel formula shows that the function can be decomposed near as
where is an analytic function with .See Figure 1.
Note that the exponent is — not —because the neigbourhood of a point in the domain spacelooks like a half-disc.For the same reason, the fractional power used in the formulais to be a single-valued branch continuous
on the half-disc.Finally, the extra exponents that appear in the integralrepresentation for come from the power rule
for differentiation
.
0.1 Example:
Figure 2 illustrates a mappingfrom the disc to a triangle ().The contours are the approximate images, under , of circlesof radius .
We describe the method used to compute the figure.Points in the domain are first parameterizedas ,with and ranging over a discrete grid, shown schematically in Figure 4.The integral defining the function is path-independent,and a natural choice for the paths arerays emanating from the origin.When computing the integrals along each ray,we exploit the additivity of the complex path integral:
so that is found by summing a previously-computed valueand a new integral to be computed. And the new integralis computed using 32-point Gauss quadratureafter reparameterizing the path with .
The computation of the integrand
is straightforward, thoughwe must be careful to respect the branch cuts prescribed above.The function in most computer languagestakes a branch cut on the negative axis.To get the single-valued branches we need in this situation,we must instead compute via the expression
where is the direction of the tangent to the circle at the point .
Finally, after having obtained a discrete set of image points traced along each circle ,the contours in the figure are obtained by interpolating acurved Bézier splinethrough the image points.
If a triangle is prescribed with the vertex locations,it is not immediately obvious what the parameters should be to obtainthat triangle. In the examples here, we simply avoid this difficultyby arbitrarily choosing the parameters to be equally spaced on the unit circle, and hope that nice figures result.
The parameters are easily determined from the anglesof the desired figure; they are, in this example:
0.2 Example:
Figure 5shows an example with points.The strategy for computing this figure is similar to thatof the triangle.
The parameters for this star are (rounded to four decimal places):
0.3 Demonstration computer programs
- •
http://svn.gold-saucer.org/repos/PlanetMath/SchwarzChristoffelTransformationCircularVersion/schwarz-christoffel.pyPython source code for producing images of the Schwarz-Christoffel transformation
- •
http://svn.gold-saucer.org/repos/PlanetMath/SchwarzChristoffelTransformationCircularVersion/explanation.pyPython source code for the explanatory diagrams
References
- 1 Lars V. Ahlfors. Complex Analysis, third edition. McGraw-Hill, 1979.