Stability of piecewise flat Ricci flow
in three dimensions
Abstract.
For a recently developed piecewise flat approximation of the Ricci flow, numerical instabilities are seen to arise for a particularly useful class of mesh-types. Here, a geometrically motivated adaptation to these meshes is introduced, and a linear stability analysis and numerical simulations used to show that the instability is then suppressed. These adapted meshes have also been successfully used in a recently published paper to show the convergence of the piecewise flat Ricci flow to known smooth Ricci flow solutions for a variety of manifolds.
Key words and phrases:
Numerical Ricci flow, piecewise linear, geometric flow, linear stability.2005 Mathematics Subject Classification:
65L07, 53E20, 53A701. Introduction
The Ricci flow is a uniformizing flow on manifolds, evolving the metric to reduce the strength of the Ricci curvature. It was initially developed by Richard Hamilton to help prove the Thurston geometrization conjecture [2], and it remains an important tool for analysing the interplay between geometry and topology. Recently, its use has expanded further, with numerical evolutions finding applications in facial recognition [3], cancer detection [4], and space-time physics [5, 6, 7].
Piecewise flat manifolds, formed by joining flat Euclidean segments in a consistent manner, provide a remarkably useful approach for numerically evolving geometry. In particular, setting the piecewise flat segments to be simplices (triangles, tetrahedra, etc.) results in a notable separation of the topology, which is fixed by the graph structure, from the geometry, which is completely determined by a discrete set of edge-lengths. This conveniently leads to a piecewise flat Ricci flow as a rate of change of the edge-lengths. Since the graph determines the topology, there is also no need for additional boundary conditions, avoiding issues with coordinate singularities or transformations between coordinate charts. In other approaches, these have required careful consideration [8, 9, 10, 11], or the use of ambient coordinates from an embedding in a higher-dimensional Euclidean space [12, 13]. These advantages have led to extensive use of a piecewise flat Ricci flow in two dimensions [3, 4], and a piecewise flat approach in three-dimensions for manifolds with a high degree of symmetry [14, 15, 16].
A new three-dimensional piecewise flat approach, that does not require any symmetry restrictions, was introduced in [17] and has been shown to converge to known smooth Ricci flow solutions for a variety of different manifolds and piecewise flat approximations [17, 18, 19]. In this approach, the rate of change of edge-lengths is determined by an approximation of the smooth Ricci curvature at the edges, which is given in an easily computable combinatoric form, depending only on the edge-lengths and a choice of dual tessellation.
This paper concerns an instability that arises when a particularly useful mesh of cube-like blocks, each composed of six tetrahedra, is used with this new approach. A method for suppressing the instability is developed, using blocks that are internally flat instead of just being composed of flat tetrahdera. This is implemented by constraining the length of an edge in the interior of each block to make the interior flat, while retaining the simplicial structure of the graph. A linear stability analysis and numerical simulations are then used to demonstrate both the initial instability and the effectiveness of its suppression.
Computations using these adapted piecewise flat manifolds can already be seen in [18], where they have successfully been used in the piecewise flat Ricci flow of a variety of manifolds, from those with non-trivial topologies to manifolds with no continuous symmetries, showing convergence to known Ricci flow solutions and behaviour. This is particularly impressive, since most numerical Ricci flow computations in three dimensions have been restricted to single-parameter spherically-symmetric models [8, 9, 10, 11, 13, 15, 16].
The rest of the paper begins with an introduction to the piecewise flat manifolds used in this paper and the piecewise flat Ricci flow, summarizing the main results from [17]. The numerical instabilities are described in Section 3, along with a motivation and explanation of the suppression method. A linear stability analysis in Section 4 shows the exponential growth to arise from the numerical errors in the length measurements, with numerical simulations matching the growth rates. In Section 5, the same linear stability analysis no longer indicates an exponential growth when the suppressing method is used, with numerical simulations also showing stable behaviour.
2. Background
2.1. Piecewise flat manifolds and triangulations
In three dimensions, the most simple of piecewise flat manifolds are formed by joining Euclidean tetrahedra together, with the triangular faces between neighbouring tetrahedra identified. The resulting graph encodes the topology of the manifold, with the geometry completely determined by the set of edge-lengths. Piecewise flat approximations of smooth manifolds can be constructed by first setting up a tetrahedral graph on the smooth manifold, using geodesic segments as edges. A piecewise flat manifold can then be defined using the same graph, with the edge-lengths determined by the lengths of the corresponding geodesic segments on the smooth manifold. Such a piecewise flat approximation is known as a triangulation of the smooth manifold.
In order to test for convergence to smooth curvature and Ricci flow, a set of triangulations which can be scaled in some regular way must be used. Three such triangulation-types were defined in [18], using building blocks which can be tiled to form a complete tetrahedral graph. These building blocks are defined below, in terms of a set of coordinates , , and , with each block covering a unit of volume. Diagrams of each block are also shown in Fig. 1.
-
1.
The cubic block forms a coordinate cube composed of six tetrahedra, with three independent edges along the coordinate directions, three independent face-diagonals and a single internal body-diagonal. The tetrahedra are specified so that the face-diagonals on opposite sides are in the same directions.
-
2.
The skew block has the same structure as the cubic block, but with its vertices skewed in the and directions, with and .
-
3.
The diamond block is constructed from a set of four tetrahedra around each coordinate axis, with edges in the outer rings formed by the remaining coordinate directions.

These blocks can be used to triangulate manifolds with three-torus () topologies, using a cuboid-type grid of blocks to cover the fundamental domain, identifying the triangles, edges and vertices on opposite sides. The resulting triangulations have computational domains that are compact without boundary. Manifolds with other topologies can also be triangulated using these blocks but require slightly more complicated tetrahedral graphs, see for example the Nil manifold in [18]. Since the stability should depend on the local structure of the piecewise flat manifold, only topology triangulations will be considered here.
2.2. Piecewise flat curvature and Ricci Flow
While any neighbouring pair of tetrahedra in a piecewise flat manifold still forms a Euclidean space, a natural measure of curvature arises from the sum of the dihedral angles around an edge , see Fig. 2, with the difference from radians known as a deficit angle,
(1) |
Triangulations of smooth manifolds are deemed good approximations if the deficit angles are uniformly small. The resolution of a piecewise flat approximation can then be increased by having a higher concentration of tetrahedra, or a finer grid of the blocks defined above.

Conceptually, the deficit angles correspond to surface integrals of the sectional curvature orthogonal to each edge. However, a number of examples show that a single deficit angle does not carry enough information to approximate the smooth curvature directly, see Section 5.1 of [17] for example. Instead, this correspondence is used to construct volume integrals of both the scalar curvature at each vertex and the sectional curvature orthogonal to each edge, which can then be used to give the Ricci curvature along the edges.
Volumes associated with each vertex are defined to form a dual tessellation of the piecewise flat manifold, with barycentric duals used here, where the volume is just a quarter the sum of the volumes of the tetrahedra meeting at . Edge-volumes are then defined as a union of the volumes for the vertices on either end, capped by surfaces orthogonal to the edges at each vertex, as shown in Fig. 2. For the triangulations used here, this can be effectively approximated by averaging the barycentric volumes at either end of each edge. From [17], piecewise flat approximations of the scalar curvature at each vertex , sectional curvature orthogonal to each edge , and the Ricci curvature along each edge , are given by the expressions:
(2a) | ||||
(2b) | ||||
(2c) |
with the indices labelling the edges intersecting the volumes and , representing the angle between the edge and , and and indicating the vertices bounding . Computations for a number of manifolds have shown these expressions to converge to their corresponding smooth values [17]. Similar constructions have also been developed for the extrinsic curvature [20], with numerical computations successfully converging to their smooth values.
The Ricci flow of a smooth manifold changes the metric due to the Ricci curvature ,
(3) |
The resulting change in the length of a geodesic segment can be given solely by the Ricci curvature along and tangent to it, as shown in section 6.3 of [17]. Since the edge-lengths of a triangulation correspond to the lengths of these geodesic segments, a piecewise flat approximation of the smooth Ricci flow can be given by a fractional change in the edge-lengths,
(4) |
The equation above has been shown to converge to known smooth Ricci flow solutions as the resolution is increased, using analytic computations for symmetric manifolds in [17], and numerical evolutions for a variety of other manifolds in [18]. This approach has also been used by Alsing, Miller and Yau [19] for approximating the Ricci flow of the neckpinch model, but with a different edge volume , which works when the triangulations are adapted to the spherical symmetry of the manifolds studied there.
3. Instability and suppression
3.1. Instability
Despite the close approximation of the piecewise flat Ricci curvature to its corresponding smooth values [17], direct application of the piecewise flat Ricci flow equations to cubic and skew triangulations result in an exponential growth of the face-diagonals, even for manifolds that are initially flat. Since the deficit angles should all be zero for triangulations of a flat manifold, this growth must arise from numerical errors.
The top two graphs in Fig. 3 show how far the face-diagonal edge-lengths deviate from a flat triangulation. These deviations start at the level of the numerical precision and grow exponentially from there, soon dominating any evolution. The growth is invariant to the step size, has occurred for every grid size tested and for both the normalized and non-normalized piecewise flat Ricci flow equations. The growth rates also increase when the scale of the edge-lengths is reduced, countering any improved precision from an increase in resolution. However, these instabilities do not arise for the diamond triangulations for any of these situations. This has led to the proposition below.
Proposition 1.
The cubic and skew type triangulations lead to an exponential instability for direct application of the piecewise flat Ricci flow.
This proposition is proved in Section 4.2 using a linear stability analysis of all cubic and skew triangulations of a three-torus. Section 4.3 then shows the growth rates for a number of numerical simulations to be in close agreement with the results of the linear stability analysis.

3.2. Suppressing instability
While it is clear that the evolution shown on the top row of Fig. 3 does not correspond to smooth Ricci flow, it is also inherently non-smooth in nature, particularly with the growth rates increasing as the resolution of a triangulation is increased. This suggests an extra freedom in the cubic and skew triangulations that does not arise in smooth manifolds.
In both the linearized equations in Section 4.2, and the numerical simulations in Section 4.3, all of the face-diagonal edges can be seen to grow at the same growth rate, with the other types of edges remaining unchanged. With only the face-diagonals growing, each face can still be viewed as a flat parallelogram. The exterior of each block can also still be embedded in three dimensional Euclidean space as a parallelepiped, with the change in the face-diagonals acting similar to a change of coordinates. This is shown in the left two images of Fig. 4. The distance between the bottom left and top right vertices of the parallelepiped in the middle image of Fig. 4 must clearly grow if it is to remain embedded in Euclidean space, but the corresponding body-diagonals remain unchanged. This produces a growing deficit angle around the body-diagonals, shown on the right of Fig. 4, which then drives the growth of the face-diagonals. The addition of the body diagonal to each block can also be interpreted as producing an over-determined system, with seven edge-lengths associated with each vertex or block, while there are only six metric components at each point of a smooth manifold. However, this interpretation also suggests a solution.

The flat segments of a piecewise flat manifold do not necessarily have to be tetrahedra, these are just the most simple of segments. If each block of the cubic and skew triangulations are instead treated as flat, the mechanism that drives the exponential growth of the face-diagonals will be broken. This has lead to the following:
Proposition 2.
The exponential instability is suppressed for the piecewise flat Ricci flow of cubic and skew type piecewise flat manifolds with flat blocks as the piecewise flat segments.
In practice the body-diagonals are retained since it is easier to compute dihedral angles and volumes with a tetrahedral graph. Their lengths are then continually re-defined to give zero deficit angles around them, and hence a flat interior for each block, as shown in Fig. 5. This results in a set of constraint equations to determine the lengths of the body-diagonals at each step of an evolution, circumventing the over-determined nature of the tetrahedral triangulations.

Proposition 2 is proved for a number of cubic and skew grids of manifolds in Section 5.1, and numerical simulations show the suppression of the instability in Section 5.2. The use of flat blocks has also given stable evolutions for all of the computations in [18], giving remarkably close approximations to their corresponding smooth Ricci flows.
4. Initial instability
Since it is the linear terms in a set of differential equations that lead to exponential growth, the linear stability of the piecewise flat Ricci flow was tested for cubic and skew triangulations of flat manifolds.
4.1. Linear stability analysis
A linear stability analysis uses the linear terms of a perturbation away from an equilibrium to test for the stability of that equilibrium.
Definition 3.
For a system of differential equations :
-
1.
A stationary solution is a solution that does not change with , i.e. .
-
2.
Linearized equations at are the linear terms in a series expansion of about . The zero order terms vanish since they correspond to a stationary solution, resulting in the equations with real numbers .
-
3.
The system is linearly unstable at if the coefficient matrix for the linearized equations has any eigenvalues with positive real parts. Solutions of the linearized equations consist of linear combinations of exponential functions, with the eigenvalues of giving the growth rates.
Euclidean metrics provide stationary solutions for the smooth Ricci flow, having zero Ricci curvature, and triangulations of flat Euclidean manifolds are stationary for the piecewise flat Ricci flow, with zero deficit angles and therefore zero piecewise flat Ricci curvature. The edge-lengths for cubic and skew triangulations of flat Euclidean space, with unit volume blocks, are given in Table 1 below.
Cubic | |||||||
Skew |
Any global scaling of the edge-lengths in Table 1 will also be stationary solutions of the piecewise flat Ricci flow. However, the linearized equations and the eigenvalues of the coefficient matrix are not invariant to this rescaling. The effect of globally rescaling the triangulation blocks is therefore given below.
Lemma 4 (Scale factor).
If a triangulation of a flat manifold has a coefficient matrix , then the coefficient matrix for a rescaling of all of the edges by a factor of will be .
Proof.
From Eq. 2, the piecewise flat Ricci curvature for an edge can be written as the sum
(5) |
for some coefficients . The series expansion of for a perturbation of some edge is given by the series expansions of the individual terms appearing on the right-hand side above. The zero-order terms for the deficit angles will always be zero, since these correspond to a triangulation of Euclidean space. Hence, the linear terms in the expansion of must be given by the linear terms from the deficit angles, and the zero-order terms, or non-perturbed values, for the remaining variables.
For a global rescaling of all the edge-lengths of a triangulation by a factor of , the volumes are clearly scaled by . The coefficients can be seen in Eq. 2 to be either constant or depend on the angles between edges, and therefore not depend on the scaling. This gives the relations
(6) |
with the superscript representing the rescaled terms. The deficit angles depend on the relative lengths of the edges, and since the perturbation is the only length that is not rescaled by , the deficit angle would be the same if only was rescaled, but by a factor of . An expansion of the deficit angle for the rescaled blocks is therefore given by the equation
(7) |
with and representing the first order coefficients.
Using the piecewise flat Ricci flow equation, Eq. 4, the linear coefficients for the rescaled triangulation can now be given in terms of the linear coefficient for the original triangulation,
(8) |
The coefficient matrix , and hence its eigenvalues, are therefore scaled by a factor of when all the edge-lengths of a triangulation are rescaled by . ∎
4.2. Proof of Proposition 1
To calculate the linearized equations for the piecewise flat Ricci flow, a number of properties of both the graph structure and the linearization itself are taken advantage of.
-
•
It is only necessary to determine the linearized equations for a single set of three face-diagonals due to the symmetry of the grids. The equations for all of the other face-diagonals will have the same coefficients, with an appropriate translation of indices.
-
•
A grid of cubic or skew blocks provides all of the edges required to determine the piecewise flat Ricci curvature for the edges in the central block. This can be seen from Eq. 2, where the piecewise flat Ricci curvature depends only on the deficit angles at edges that have a vertex in common with , and these depend only on the lengths of edges in tetrahedra containing the edge .
-
•
Series expansions of the piecewise flat Ricci curvature need only be computed for a single perturbation variable at a time, with the linear terms for each perturbation computed separately and then added together to give the complete linearized equation. This avoids the need to compute series expansions of multiple variables simultaneously.
Symbolic manipulations in Mathematica were used to calculate the linearized equations for both the cubic and skew triangulations, with the code and results available in the Zenodo repository at https://doi.org/10.5281/zenodo.8067524.
Theorem 5 (Linear instability of cubic triangulations).
The piecewise flat Ricci flow of any cubic triangulation of a flat manifold is linearly unstable, with perturbations growing exponentially at a rate of at least for blocks with volume .
Proof.
To begin, the linearized equations for the piecewise flat Ricci flow equations about a flat cubic triangulation with unit volume blocks are calculated. Each face-diagonal in a grid of cubic blocks is perturbed in turn, with the linearized equations at a set of three face-diagonals in the central block computed for each perturbation, and the contributions from all of these perturbations then added together. The resulting linearized equation at the -face-diagonal takes the form:
(9) | ||||
with the coordinates in parentheses indicating the location of the perturbed edge in the triangulation grid, with respect to the central block. Due to the symmetries in the cubic lattice, the linearized equations for the other two face-diagonals are given by a permutation of the subscripts and a similar permutation of the grid coordinates. The linearized equation for any face-diagonal in a grid of cubic blocks can then be given by a discrete linear transformation of the grid coordinates.
The set of coefficients in Eq. 9 are the same for the linearized equations at all of the face-diagonals in the triangulation, for any size grid, so the set of elements in each row of the coefficient matrix will also be the same. These elements sum to , which must be an eigenvalue of with a corresponding eigenvector consisting of all ones. From Lemma 4, the coefficient matrix for a triangulation with blocks of volume will have an eigenvalue of . Any solution to the set of linearized equations must then contain an exponential term with a growth rate of , leading to an exponential growth for the perturbations in all of the face-diagonals of at least this rate. ∎
Theorem 6 (Linear instability of skew triangulations).
The piecewise flat Ricci flow of any skew triangulation of a flat manifold is linearly unstable, with perturbations growing exponentially at a rate of at least for blocks with volume .
Proof.
As with the cubic triangulations in Theorem 5, the linearized equations about a flat skew triangulation with unit volume blocks are first computed. Unlike the cubic case, the skew blocks do not have the same symmetries as the cubic blocks, so the linearized equations for each of the three types of face-diagonals, , and must be found separately. The linearized equations are not displayed here, but can be found in the Zenodo repository, https://doi.org/10.5281/zenodo.8067524. As with the cubic case, the linearized equations for all of the face-diagonals in a grid of skew blocks can be given by a discrete transformation of the grid coordinates for each of the three face-diagonals in a single block.
From these equations, it can be seen that the sum of the coefficients are not the same for each face-diagonal, so the vector of all ones is not an eigenvector for the coefficient matrix as it was for the cubic triangulations. However, by ordering the indices of the face-diagonals according to their edge-type, a similar approach can be used. The indices for an -block triangulation are defined so that for the -diagonals, for the -diagonals and for the -diagonals. Defining a vector so that
(10) |
the product of the matrix with is
(11) |
Since there will only be three different values for the elements of the resulting vector, one for each type of face-diagonal, the information in this product can be reduced to the matrix product below,
(12) |
with the matrix elements obtained by summing the appropriate coefficients in the linearized equations. This matrix has a maximum eigenvalue of approximately , with a corresponding eigenvector of . From Eq. 11, the matrix must also have this eigenvalue, with eigenvector from Eq. 10 where , and .
From Lemma 4, the coefficient matrix for a triangulation with blocks of volume will have an eigenvalue of approximately . Any solution to the set of linearized equations must then contain an exponential term with a growth rate of approximately , leading to an exponential growth for the perturbations in all of the face-diagonals of at least this rate. ∎
The linearized equations in the proofs of theorems 5 and 6 have also been used to construct the coefficient matrices for and grids of blocks using Mathematica. This was done for both the cubic and skew blocks, with the edge-lengths from Table 1, and for a rescaling of these edges by a factor of . The eigenvalues for each matrix were then computed, again using Mathematica, with the largest real parts matching the eigenvalues in Theorem 5 and Theorem 6, as shown in Table 2.
Cubic | ||||
---|---|---|---|---|
Skew |
Remark 7.
Due to the effect of the scaling factor in Lemma 4, the instabilities are more severe when the grid resolutions are increased. This is the opposite of the piecewise flat approximations, which should converge to their corresponding smooth values as the resolution is increased.
Remark 8.
The instability for the skew triangulations is an order of magnitude less than for the cubic triangulations for the same block volumes. It can also be noted that the cubic blocks are only borderline Delaunay for a flat manifold, with the circumcentres of all tetrahedra in a single block coinciding at the centre of that block. The skew blocks were initially used because they form more strongly Delauney triangulations, where Voronoi dual volumes can be used with more confidence. For a flat diamond block, the circumcentres of all of the tetrahedra coincide with their barycentres, making them as strongly Delaunay as possible, and may offer a clue to explain the original lack of instability in the diamond triangulations.
4.3. Numerical simulations
Simulations have been run for the piecewise flat Ricci flow of , and grids of both cubic and skew blocks. The base edge-lengths were taken from Table 1, scaled by a factor of for the skew triangulations, with Theorem 5 and Theorem 6 indicating that these should give exponential growth rates on the order of . The edge-lengths were then approximated as double-precision floating point numbers, and each perturbed by a random number from a normal distribution with standard deviation of , the level of numerical precision. Evolutions were performed using an Euler method with 100 steps of size 0.01, and deviations in the face-diagonal edge-lengths were fitted to a linear combination of exponential functions,
(13) | ||||
The number of terms was chosen to include all of the positive eigenvalues for the grid triangulations shown in Table 2. A linear term was also added for the skew function, as the non-face-diagonal edges showed a consistent linear growth of about . Results of the growth rates and coefficient of determination () values for the best-fit functions are presented in Table 3, with sample graphs of the fitted functions and their corresponding data shown in Fig. 6.
Eigenvalues | Median | IQR | Median | IQR | Median | IQR | ||
---|---|---|---|---|---|---|---|---|
Cubic | ||||||||
Skew | ||||||||

The close agreement between the growth rates in Table 3 and eigenvalues in Table 2, along with the extremely high values, demonstrate how effective the linearized equations are in approximating the evolution. The low interquartile ranges also show consistent behaviour across all edges, with surprisingly comparable growth rates over the different grid sizes, considering a higher number of distinct eigenvalues should be expected for larger grids. In particular, the simulations support the hypothesis that the eigenvalues in Theorem 5 and Theorem 6 represent the largest growth rates for any cubic or skew type triangulations.
5. Suppression of Exponential Instability
With the body-diagonals re-defined to give flat interiors for each block, the linear stability analysis and numerical simulations are performed again, with the exponential growth suppressed in both.
5.1. Linear instability suppressed
The linearized equations are calculated here by taking advantage of the same properties outlined at the beginning of Section 4.2, but with some additional steps to ensure that each block is flat after any perturbations.
-
•
Once a face-diagonal is perturbed by an arbitrary amount , only the blocks on either side of that face are affected. For the body-diagonals of each of these blocks, the deficit angle can be found in terms of and the length of the body-diagonal itself.
-
•
Setting the deficit angle to zero, the length which gives a flat block can be found in terms of . Since only linear terms in will impact the linearized equations, need only be found as a linear approximation in .
-
•
A grid of size is now required to determine the piecewise flat Ricci flow for the edges in a central block, due to the changes in body-diagonals.
The linearized equations are first used to show that the approaches in Theorem 5 and Theorem 6 no longer imply a linear instability once flat blocks are used, and then to show that the linear instability is actually suppressed for a number of different grid sizes.
Theorem 9.
When the body-diagonals are re-defined to give flat blocks, summing rows of the linear coefficient matrix no longer implies a linear instability of the piecewise flat Ricci flow.
Proof.
Each face-diagonal in a grid of blocks is perturbed away from the flat values in Table 1 by an arbitrary amount , with the body-diagonals on either side of that face re-defined in terms of to give a zero deficit angle. The linear impact of each perturbation on a face-diagonal in a central block can then be calculated using the piecewise flat Ricci flow equations, Eq. 4, and the separate terms summed to give the linearized equation for .
The resulting equation is shown below for an -face-diagonal of the cubic triangulation, with the coordinates indicating the relative locations of the face-diagonals on the grid,
(14) | ||||
As in the proof of Theorem 5, the linearized equations for the other two types of face-diagonal in the cubic triangulation are simply given by a permutation of the subscripts and of the grid coordinates. The linearized equations for a skew triangulation are not displayed here, but can be found in the Zenodo repository at https://doi.org/10.5281/zenodo.8067524. The linearized equations for all of the face-diagonals in any grid of cubic or skew blocks can be found through a discrete transformation of the grid coordinates.
The coefficients in Eq. 14 can be seen to sum to zero, with the coefficients of the linearized equations for the face-diagonals in the skew triangulation also summing to zero. This implies that the vector of all ones is an eigenvector of the coefficient matrix , with an eigenvalue of zero, for all grid-sizes of both the cubic and skew triangulations. While this approach gave positive eigenvalues in Theorem 5 and Theorem 6, proving the equations there to be linearly unstable, it does not do so when flat blocks are used instead of just flat tetrahedra. ∎
Remark 10.
For many constant row-sum matrices, the eigenvalue given by the row-sum can be proved to be the largest eigenvalue. For example, if all of the coefficients except the first in Eq. 14 were positive, the Gershgorin circle theorem would be sufficient to prove this. Recent progress has also been made on eigenvalue bounds for more general constant row-sum matrices [21, 22]. Unfortunately, a proof that the same is true in this case has not been found, but direct computation of the eigenvalues below and the numerical simulations in Section 5.2 suggest that it is true.
For particular grid sizes, the linearized equations were used to construct the coefficient matrices directly, using the mathematical software Mathematica, and the set of eigenvalues computed for each. The eigenvalue with the largest real part is given for each piecewise flat manifold in Table 4. For the cubic blocks these were computed exactly, but numerical methods were required to compute the eigenvalues for the skew blocks.
Cubic | ||||
---|---|---|---|---|
Skew |
Clearly, there cannot be any exponential growth terms for the linearized equations in the cubic triangulations since the largest real part of the eigenvalues is zero. The largest values for the skew triangulations are practically zero, being equivalent to zero for the numerical precision of the computations. While an eigenvalue of zero does not imply complete stability, it is consistent with the linearization of the smooth Ricci flow near a flat manifold, which also contains zero eigenvalues [23]. Also, since the piecewise flat curvatures depend on local regions of a piecewise flat manifold, it is deemed unlikely that the instability would re-emerge in larger grids.
5.2. Numerical simulations with instability suppressed
Numerical simulations of the piecewise flat Ricci flow have also been run with blocks that are effectively flat. In order to compare with the simulations in Section 4.3, the same triangulations and edge-length perturbations were used, and evolved using the same Euler method with 100 steps of size 0.01, but with the body-diagonal edge-lengths adapted at the beginning of each step. This was done by first adding a perturbation variable to the length of each body-diagonal , computing the deficit angle around as a function of , and then setting this equal to zero and solving for . Since the deficit angles should already be small for a good triangulation, a linear approximation in about zero is used for the deficit angle, giving a unique solution for when set equal to zero. To show that the exponential growth is suppressed, the median and maximum changes in edge-lengths for all triangulations are shown in Table 5, with the deviations of the edge-lengths for the blocks with the largest changes shown in Fig. 7. These same edges were used for the graphs in Fig. 3.
Cubic | Median change | |||
---|---|---|---|---|
Max. change | ||||
Initial pert. | ||||
Skew | Median change | |||
Max. change | ||||
Initial pert. | ||||
Median slope | ||||
IQR of slope |

The adapting of the body-diagonals has clearly suppressed the exponential growth for both the cubic and skew simulations. For the cubic triangulations, most of the edge-lengths do not change, and those that do, only change during the first quarter of time steps and by an extremely small amount, less than the largest of the initial perturbations. While the growth rates are non-zero throughout the simulation, as seen in Fig. 7, when combined with the step size for the Euler method the resulting changes are lower than the numerical precision. The set of edge-lengths then become stationary once the rates of change drop below this threshold.
For the skew triangulations, the numerical precision is lower as it depends on the lengths of the edges, so the oscillations in the lower-right graph in Fig. 7 continue to produce a linear growth. Linear functions have therefore been fitted to the data for each edge in the triangulation, with the results in Table 5 showing consistent, extremely small rates of change across all edges, also agreeing with the rates of the background linear growth for the un-suppressed simulations in Section 4.3. While this linear growth does not directly correspond to smooth Ricci flow, it does not conflict with it either. The consistency of the rates of change lead to a global change in the scale but will not produce any curvature, so the piecewise flat manifold remains in a stationary state, growing but remaining flat. The low rate means the effect will not be noticeable at regular scales for extremely long time frames, but the effect can still be avoided by using the normalized Ricci flow which preserves the global volume.
6. Conclusion
The cubic and skew type triangulations have been successfully adapted to avoid a numerical instability resulting from the direct application of the piecewise flat Ricci flow to these triangulation types. The instability was seen to come from an over-determination of the system, with seven distinct edge-lengths associated with each block, while there are only six metric components at each point on a smooth manifold. This is resolved by removing the body diagonals as variables, and setting the interior of each block to be flat. In practice, the tetrahedral structure is retained, with a set of constraint equations introduced for the lengths of the body-diagonals so that their deficit angles vanish at each time step, ensuring a flat interior for each block.
While the instability first appeared in numerical simulations, a linear stability analysis for cubic and skew triangulations of a flat Euclidean space has indicated the same growth rates for the errors in the face diagonals. The largest growth rates were found by summing the rows of the linear coefficient matrices, and once the triangulations have been adapted, these row-sums are all zero. As with related matrices, it seems reasonable to expect the constant row-sums to give the largest real eigenvalue for each linear coefficient matrix, and hence the largest growth rates for the system. Direct computations of the largest growth rates for a number of specific grids also give zero, in agreement with the smooth Ricci flow [23], and the numerical simulations lead to stable evolutions for the adapted triangulations.
Although this paper only shows the stability for adapted triangulations of flat Euclidean manifolds, these adaptations have also led to stable piecewise flat Ricci flow for a variety of different manifolds in [18], where they were shown to converge to their expected smooth Ricci flow solutions. Also, despite re-defining the body-diagonals to have zero deficit angles, computations of the piecewise flat Ricci curvature in [18] are just as accurate at these body-diagonals as they are at the other edges, showing the robustness of the piecewise flat curvature expressions in Eq. 2.
Data Availability.
The Mathematica notebooks used for the computations and numerical simulations, and the data generated by these, are available in the Zenodo repository at https://doi.org/10.5281/zenodo.8067524.
Acknowledgements.
I would like to thank Robert Sheehan and Chris Mitchell for many helpful discussions which greatly benefited this work.
References
- [1]
-
[2]
R. Hamilton
Three-manifolds with positive Ricci curvature,
J. Differential Geom., 17 (1982), pp. 255–306.
DOI: 10.4310/jdg/1214436922
-
[3]
W. Zeng, X. Yin, Y. Zeng, Y. Lai, X. Gu and D. Samaras
3D face matching and registration based on hyperbolic Ricci flow,
Proc. IEEE Conf. Computer Vision and Pattern Recognition Workshops, (2008), pp. 1–8.
DOI: 10.1109/cvprw.2008.4563053
-
[4]
W. Zeng, J. Marino, K. Gurijala, X. Gu and A. Kaufman
Supine and prone colon registration using quasi-conformal mapping,
IEEE Trans. Visual. Comput. Graph., 16 (2010), pp. 1348–1357.
DOI: 10.1109/tvcg.2010.200
-
[5]
E. Woolgar
Some applications of Ricci flow in physics,
Canadian Journal of Physics, 86 (2008), no. 4, pp. 645–651.
DOI: 10.1139/p07-146
-
[6]
M. Headrick and T. Wiseman
Ricci flow and black holes,
Class. Quantum Grav., 23 (2006), pp. 6683–6707.
DOI: 10.1088/0264-9381/23/23/006
-
[7]
P. Figueras, J. Lucietti and T. Wiseman
Ricci solitons, Ricci flow and strongly coupled CFT in
Schwarzschild Unruh or Boulware vacua,
Class. Quantum Grav., 28 (2011), pp. 215018.
DOI: 10.1088/0264-9381/28/21/215018
-
[8]
D. Garfinkle and J. Isenberg
Numerical studies of the behaviour of Ricci flow, pp. 103–114,
In
S.-C. Chang, B. Chow, S.-C. Chu and C.-S. Lin editors,
Geometric Evolution Equations,
Contemp. Math. 367, American
Mathematical Society, 2005.
DOI: 10.1090/conm/367/06750
-
[9]
D. Garfinkle and J. Isenberg
The modeling of degenerate neck pinch singularities in Ricci flow by Bryant solitons,
Journal of Mathematical Physics, 49 (2008), pp. 073505.
DOI: 10.1063/1.2948953
-
[10]
T. Balehowsky and E. Woolgar
The Ricci flow of the -geon and noncompact manifolds with essential minimal spheres,
arXiv:1004.1833v1.
DOI: 10.48550/arXiv.1004.1833
-
[11]
J. Wilkes
Numerical simulation of Ricci flow on a class of manifolds with
non-essential minimal surfaces,
Master’s thesis, University of Alberta, 2011.
DOI: 10.7939/R3T01P
-
[12]
H. Fritz
Isoparametric finite element approximation of Ricci curvature,
IMA J. Numer. Anal., 33 (2013), no. 4, pp. 1265–1290.
DOI: 10.1093/imanum/drs037
-
[13]
H. Fritz
Numerical Ricci-DeTurck flow,
Numerische Mathematik, 131 (2014), pp. 241-271.
DOI: 10.1007/s00211-014-0690-5
-
[14]
W. A. Miller, J. R. McDonald, P. M. Alsing, D. X. Gu and S.-T. Yau
Simplicial Ricci flow,
Commun. Math. Phys., 329 (2014), pp. 579–608.
DOI: 10.1007/s00220-014-1911-6
-
[15]
P. M. Alsing, W. A. Miller, M. Corne, X. D. Gu, S. Lloyd, S. Ray and S.-T. Yau
Simplicial Ricci flow: an example of a neck pinch singularity in
3D,
Geom. Imaging Comp., 1 (2014), no. 3, pp. 303–331.
DOI: 10.4310/gic.2014.v1.n3.a1
-
[16]
W. A. Miller, P. M. Alsing, M. Corne and S. Ray
Equivalence of simplicial Ricci flow and Hamilton’s Ricci flow
for 3D neckpinch geometries,
Geom., Imaging Comp., 1 (2014), no. 3, pp. 333–366.
DOI: 10.4310/gic.2014.v1.n3.a2
-
[17]
R. Conboye and W. A. Miller
Piecewise flat curvature and Ricci flow in three dimensions,
Asian J. Math., 21 (2017), no. 6, pp. 1063–1098.
DOI: 10.4310/ajm.2017.v21.n6.a3
-
[18]
R. Conboye
Piecewise flat Ricci flow of compact without boundary three-manifolds,
Exp. Math., (2024), pp. 1–15.
DOI: 10.1080/10586458.2024.2416963
-
[19]
P. M. Alsing, W. A. Miller and S.-T. Yau
A realization of Thurston’s geometrization: discrete Ricci flow
with surgery,
Annals of Mathematical Sciences, 3 (2018), no. 1, pp. 31–45.
DOI: 10.4310/amsa.2018.v3.n1.a2
-
[20]
R. Conboye
Piecewise flat approximations of local extrinsic curvature for
non-Euclidean embeddings,
arXiv:2304.00123.
DOI: 10.48550/arXiv.2304.00123
-
[21]
R. Marsli and F. J. Hall
On bounding the eigenvalues of matrices with constant row-sums,
Linear and Multilinear Algebra, 67 (2019), no. 4, pp. 672–684.
DOI: 10.1080/03081087.2018.1430736
-
[22]
I. Bárány and J. Solymosi
Smaller Gershgorin disks for multiple eigenvalues of complex
matrices,
Acta Math. Hungar., 169 (2023), pp. 289–300.
DOI: 10.1007/s10474-023-01301-1
-
[23]
C. Guenther, J. Isenberg and D. Knopf
Stability of the Ricci flow at Ricci-flat metrics,
Commun. Anal. Geom., 10 (2002), no. 4, pp. 741–777.
DOI: 10.4310/cag.2002.v10.n4.a4
- [24]