Koch snowflake [Lapidus, Neuberger, Renka and Griffith (1996)]

Deep Ritz training log

Mesh (triangle) formulation

alt

The boundary points are indexed in the counter-clockwise order, while the interior points are indexed by the spiral order.

Spiral order of interior points in the snowflake at fractal level L=2
Sorry, your browser does not support inline SVG. 1 2 3 4 5 6 7 8

Finite difference scheme using 6-point for the Laplace operator:

\[ \sum_{j=2}^{7} \mathbf{u}_j = 6 \mathbf{u}_1 + \frac{3}{2}h^2 \Delta u(x_1,y_1) + O(h^4) \]

First 8 rows and columns of the Laplace matrix (finite-differnece)

A12345678
16-1-1-1-1-1-1
2-16-1-1-1
3-1-16-1
4-1-16-1
5-1-16-1
6-1-16-1
7-1-1-16
8-16

Eigenvalue problem becomes \[ A\mathbf{u} = \lambda\mathbf{u}, \] so the eigenvector of the corresponding eigenvalue gives the eigenfunction (on the triangle mesh).