The Weighted Mean Curvature Derivative of a Space-Filling Diagram
Arseniy Akopyan, Herbert Edelsbrunner

TL;DR
This paper derives a formula for the derivative of the weighted mean curvature of a space-filling diagram, enabling more accurate calculations of solvation free energy in molecular simulations.
Contribution
It provides a new formula for the derivative of weighted mean curvature, complementing existing derivatives for volume, area, and Gaussian curvature, to improve morphometric energy calculations.
Findings
Derived the formula for the derivative of weighted mean curvature.
Combined with existing derivatives for other geometric measures.
Facilitates more precise computation of solvation free energy.
Abstract
Representing an atom by a solid sphere in -dimensional Euclidean space, we get the space-filling diagram of a molecule by taking the union. Molecular dynamics simulates its motion subject to bonds and other forces, including the solvation free energy. The morphometric approach [HRC13,RHK06] writes the latter as a linear combination of weighted versions of the volume, area, mean curvature, and Gaussian curvature of the space-filling diagram. We give a formula for the derivative of the weighted mean curvature. Together with the derivatives of the weighted volume in [EdKo03], the weighted area in [BEKL04], and the weighted Gaussian curvature [AkEd19], this yields the derivative of the morphometric expression of the solvation free energy.
| sphere bounding ball | |
| circle bounding disk | |
| pair of points bounding line segment | |
| centers of , , | |
| radii of , , | |
| unit vector between centers | |
| unit normal to with positive component in direction | |
| volume fraction of ball | |
| area fraction of disk | |
| length fraction of line segment | |
| or | |
| area fraction of sphere | |
| length fraction of circle | |
| , , or | |
| effective solvation potential | |
| convex body, parallel body | |
| -plane, Euler characteristic of intersection | |
| set of balls, space-filling diagram | |
| unit sphere, unit ball, Euclidean space; height function | |
| state, momentum; gradients of volume, area | |
| intrinsic volume function | |
| constants | |
| abstract variables | |
| signed distances | |
| velocity vectors | |
| angular momentum; components of motion | |
| area; point; speed; vector; angle | |
| auxiliary variables | |
| derivatives | |
| gradients; as they apply to | |
| auxiliary vectors | |
| constants | |
| angle parameters; motion parameter | |
| subsets of |
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsTopological and Geometric Data Analysis
The Weighted Mean Curvature Derivative
of a Space-Filling Diagram111 This project has received funding from the European Research Council (ERC) under the European Union’s Horizon 2020 research and innovation programme (grant agreement No 78818 Alpha). It is also partially supported by the DFG Collaborative Research Center TRR 109, ‘Discretization in Geometry and Dynamics’, through grant no. I02979-N35 of the Austrian Science Fund (FWF).
Arsenyi Akopyan
IST Austria (Institute of Science and Technology Austria), Klosterneuburg,
Austria, [email protected], [email protected]
Herbert Edelsbrunner
IST Austria (Institute of Science and Technology Austria), Klosterneuburg,
Austria, [email protected], [email protected]
Abstract
Representing an atom by a solid sphere in -dimensional Euclidean space, we get the space-filling diagram of a molecule by taking the union. Molecular dynamics simulates its motion subject to bonds and other forces, including the solvation free energy. The morphometric approach [13, 18] writes the latter as a linear combination of weighted versions of the volume, area, mean curvature, and Gaussian curvature of the space-filling diagram. We give a formula for the derivative of the weighted mean curvature. Together with the derivatives of the weighted volume in [8], the weighted area in [4], and the weighted Gaussian curvature [2], this yields the derivative of the morphometric expression of the solvation free energy.
keywords:
Molecular dynamics, proteins, space-filling diagrams, intrinsic volume, alpha shapes, inclusion-exclusion, derivatives, discontinuities, computer implementation.
††volume: (
1 Introduction
This paper makes a significant step toward turning the morphometric approach to modeling the solvation free energy in molecular dynamics into practice. We recall that molecular dynamics uses Newton’s second law of motion to simulate the dynamic behavior of molecules. We focus on the case in which the motion is computed within an implicit solvent model, in which the effect of water is captured by an effective solvation potential, . The first term on the right-hand side accounts for the electrostatic polarization, and the second term for the van der Waals interactions and the formation of a void in the solvent. Referring to a large body of work on [19], we focus on the non-polar or hydrophobic effect of water, namely . In an effort to quantify this effect, Lee and Richards introduced the solvent-accessible surface of a molecule [15]. It is the boundary of the space-filling diagram in which each atom is represented by a ball whose radius is its van der Waals radius plus Angstrom for the approximate radius of a water molecule. Based on this concept, Eisenberg and McLachlan defined the solvation free energy as a weighted sum of the surface area, , in which is the atomic solvation parameter and is the area of the sphere modeling the -th atom that is accessible to the solvent [10]. There is, however, disagreement about the precise formulation fueled in part by evidence that for a small solute, is more closely related to the solvent-excluded volume rather than the solvent-accessible area [16, 20]. To resolve this controversy, the morphometric approach of Mecke and Roth [12, 13, 14, 17, 18] suggests that be a linear combination of the intrinsic volumes, which in are the volume, area, mean curvature, and Gaussian curvature. This approach is inspired by the mathematical theory of intrinsic volumes, which we now summarize.
To begin, we let be a compact convex body and write for the parallel body obtained by thickening by all around. As proved by Jakob Steiner, the volume of the parallel body is described by a degree- polynomial,
[TABLE]
in which , , , and are the volume, surface area, mean curvature, and one third of the Gaussian curvature of [21]. Scaled and re-indexed versions of the coefficients are referred to as the intrinsic volumes of . According to Hugo Hadwiger’s characterization theorem, every measure of that is invariant under rigid motions, continuous, and additive is a linear combination of the intrinsic volumes [11]. Since the solvent-accessible model is obtained by thickening the van der Waals model, the analogy seems compelling, except that molecules are generally not convex. To bridge this gap, we mention a result by Morgan Crofton, which states that the -th coefficient of the Steiner polynomial satisfies
[TABLE]
in which , , , [5]. To explain (2), we note that is the Grassmannian that consists of all -planes passing through the origin in , is such an -plane, is a point on the orthogonal -plane, is the -plane parallel to that passes through , and is the Euler characteristic. Importantly, Crofton’s integral formula (2) is not restricted to convex bodies and can thus be used to extend the definition of intrinsic volume to non-convex bodies. Returning to the modeling of molecules, we embrace the morphometric approach. In other words, we write
[TABLE]
in which the are the volume, area, mean curvature, and one third of the Gaussian curvature of the solvent-accessible model, and physical meanings of the can be found in [13, 18]. To model physical properties, such as hydrophobicity, we consider weighted versions of the four measures. To embed this approach into molecular dynamics software, we need the derivative of with respect to the motion or, equivalently, the derivatives of the weighted volume, the weighted area, the weighted mean curvature, and the weighted Gaussian curvature. The first two of those derivatives have been studied in [8] and [4], where we find formulas based on the Voronoi decomposition of the space-filling diagram as well as characterizations of the configurations at which the derivative is not continuous. The main result of this paper is a similar analysis of the weighted mean curvature derivative, and we refer to [2] for the last piece of the puzzle, which is the weighted Gaussian curvature derivative.
Outline. Section 2 reviews the background relevant to this paper. Section 3 derives the constituents of the weighted mean curvature of a space-filling diagram. Section 4 states the derivative in terms of the gradient. Section 5 analyzes the configurations at which the gradient is not continuous. Section 6 concludes this paper.
2 Background
The background needed for the technical results reported in this paper include two classic theorems in geometry attributed to Archimedes and to Heron of Alexandria, the concept of a space-filling diagram to represent a molecule, the corresponding alpha complex to do the book-keeping, and the analysis of the weighted volume and weighted area derivatives, which are heavily based on these concepts.
Two area formulas. Write for the unit sphere in and recall that its area is . Accordingly, the area of a sphere with radius is . Spheres in enjoy a property discovered thousands of years ago by Archimedes, which is unique to three dimensions. To describe it, we use Cartesian coordinates and let map every point to its third coordinate, which we call its height. By Archimedes, the area of the cap consisting of all points at height at most depends linearly on and is therefore times divided by the diameter of the unit sphere, which is . {formula}[Archimedes’ Theorem]
For every , the area of the cap is .
A slice of the sphere can be written as the preimage of an interval, . The area of is the area of minus the area of , which is . We note that the area of the slice thus depends on the width, , but is independent of the location of the interval within .
A formula that gives the area of a triangle in terms of the lengths of the three edges is attributed to Heron of Alexandria, although it has been suggested that Archimedes knew about the formula two centuries earlier. {formula}[Heron’s Theorem]
The area of a triangle with edges of length is , in which .
There are various proofs of this formula and a number of equivalent statements. We will use .
Space-filling diagrams. Mathematically, such a diagram is merely the union of finitely many closed balls in . Its significance derives from the use as a geometric model of biomolecules [15], such as proteins, DNA, and the like. There are competing models, such as the level sets of a sum of isotropic Gaussian distributions, but we focus on the geometrically more concrete space-filling diagrams. This section introduces the concept along with most of the notation needed for its discussion in the technical sections.
Throughout this paper, we assume a set of closed balls in , , in which is the center and is the radius of . The space-filling diagram is the union of these balls, . We are interested in the volume, area, mean curvature, Gaussian curvature of this diagram. The volume should be clear. To describe the other three measures, we note that the boundary of consists of patches of spheres that remain after we remove open caps, , in which . These patches meet along portions of circles that remain after we remove open arcs, , in which . These portions of circles consist of closed arcs that meet at corners of the form , in which . For ease of reference, we summarize and extend the introduced notation in Table 2, which is given in the appendix. The area is simply the sum of areas of the sphere patches. The mean curvature is more subtle because the boundary of the space-filling diagram is not a smooth surface. Instead of defining it as an integral of the point-wise mean curvature, we use a discrete formula according to which the contribution of an arc in the boundary of is its length times the dihedral angle between the outward normals of the two spheres that share the arc; see (7) for the formula in the weighted case. Similarly, we write the Gaussian curvature as a sum of contributions of sphere patches, circular arcs, and corners; see (8) for the formula in the weighted case. Alternatively, we can make use of the Gauss–Bonnet theorem according to which the Gaussian curvature is times the Euler characteristic of the surface, but no such shortcut is available for the weighted case, which we discuss next.
Voronoi decomposition and dual alpha complex. To generalize the measures to the weighted case, we introduce the Voronoi decomposition of the space-filling diagram and its dual, the alpha complex, which serves as a book-keeping device.
Recall that is a set of closed balls with centers and radii . The power distance of a point from is , and we note that . The Voronoi domain of is , and we write , , and for the pair-wise, triple-wise, and quadruple-wise intersections. The Voronoi domains decompose the space-filling diagram into convex sets of the type . We will need notation for the fraction of the ball represented by this set, and similarly for the fractions of common intersections, which we collect in Table 2, which is given in the appendix. Letting be the weight of the -th closed ball, the formulas for the weighted measures of a space-filling diagram are given in (5), (6), (7), and (8) below.
The fractional measures listed in Table 2 are conveniently computed using the alpha complex of , which is the nerve of the sets [9]. Recall that the Delaunay mosaic is the nerve of the sets , which implies that the alpha complex is a subcomplex of the Delaunay mosaic, and generically, both are simplicial complexes realized in . It will be convenient to denote a simplex by the set of indices of its vertices, or by the sequence if we need an ordered version of the simplex. By alpha shape we mean the underlying space of the alpha complex. To explain the connection between the simplices and the measures, we note that a tetrahedron in the Delaunay mosaic belongs to the alpha complex iff , and the same rule applies to the triangles, edges, and vertices of the mosaic. Furthermore, a triangle in the alpha complex belongs to the boundary of the alpha shape iff , and the same rule applies to the edges and vertices of the complex. To compute these fractions, we use inclusion-exclusion over subsets of simplices in the alpha complex. For example,
[TABLE]
in which the sums are over all edges, triangles, tetrahedra in the alpha complex that share as a vertex. Proofs and additional formulas can be found in [6].
Weighted intrinsic volume. Recall that is the union of the balls , for . Its state, , is the concatenation of the center vectors. In other words, the -th coordinate of is the -th coordinate of . We use the Voronoi tessellation to divide the space-filling diagram into individual contributions and get the weighted intrinsic volume by multiplication with the corresponding weight.
Proposition 2.1** (Weighted Intrinsic Volumes).**
The weighted volume, surface area, mean curvature, and Gaussian curvature of the space-filling diagram, , are
[TABLE]
To get the above formula for the mean curvature, we smoothen the crevices of the space-filling diagram by rolling a ball of radius about the surface. For sufficiently small , the resulting surface is everywhere differentiable, and we take the limit of its total mean curvature as goes to zero. Along circular arcs, we partition the mean curvature in equal parts to the two intersecting spheres. The rationale for this rule is that the surface swept out by the centers of the rolling balls of different radii partitions the exterior dihedral angle at the arc in equal parts. Using the same geometric intuition, we partition the contribution of a corner of the space-filling diagram to the Gaussian curvature in proportions ; see [2] for details. All variables have been defined above, except for (the angle between the unit normals of the spheres at a point of ), (the combined length of the two normals after projection to the line passing through and ), and (the solid angle spanned by the unit normals of , , at a point of common intersection, ).
Weighted volume and area derivatives. To state the derivative of the weighted volume, we introduce the momentum, , which is the concatenation of the velocity vectors. In other words, the vector is the velocity vector of the -th ball. The derivative of a function can be given in terms of the gradient: . Writing {\bf v}=\nabla_{\!{\bf x}}and$$\bf vi = [v_3i+1, v_3i+2, v_3i+3]^T,\cite[cite]{[\@@bibref{}{EdKo03}{}{}]}givesthederivativeoftheweightedvolume:\begin{proposition}[Gradient of Weighted Volume]Thederivativeoftheweightedvolumeofthespace-fillingdiagramatstate{\bf x}{\bf t}{\rm D}{\bf x}({\bf t})={\langle{\bf v},{\bf t}\rangle}{\bf U}{ij}x_{ij}B_{ij}\cap{{V}{ij}}x{i}.\end{proposition}Writing$$\bf a= ∇ \it area$$and$$\bf ai = [a_3i+1, a_3i+2, a_3i+3]^T,\cite[cite]{[\@@bibref{}{BEKL04}{}{}]}givesthederivativeoftheweightedarea:\begin{proposition}[Gradient of Weighted Area]Thederivativeoftheweightedareaofthespace-fillingdiagramatstate{\bf x}{\bf t}{\rm D}{\it area}{\bf x}({\bf t})={\langle{\bf a},{\bf t}\rangle}x{i},andthesecondsumisoverthetrianglesincidenttotheseedges.\end{proposition}\par\par\par
3 Derivatives
We recall (7) and decompose the weighted mean curvature function into a first term, which accounts for the curvature within the sphere patches, and a second term, which accounts for the curvature concentrated along the circular arcs:
[TABLE]
While not reflected in the notation, , , , and depend on the state. It is convenient to write for at state , and similarly for the other functions. Furthermore, we write for the derivative of at , and similarly we write , , . Derivatives with respect to parameters other than are explicitly stated as such.
3.1 Derivative of
To derive , we follow [4] and decompose the motion into a direction preserving component and a distance preserving component. The direction preserving motion stretches the distance between two centers, while the distance preserving motion rotates one center about the other. We therefore write , in which . Observe that is the velocity vector of the rotation with angular momentum
[TABLE]
in which is the cross or outer product that maps vectors and to the vector of length normal to both in such a way that the sequence forms a right-handed system in space; see Figure 1.
The analysis of the direction preserving motion is similar to the analysis of the area derivative in [4], and we repeat the main steps for completeness. Since little in terms of a proof of the distance preserving motion is offered in [4], we give a complete argument, which can be translated back almost verbatim to a proof in the area case.
Direction preserving motions. Consider two balls, and , and the change of surface area under a motion of that preserves the direction, . Let , in which the terms on the right-hand side of the equation are the signed distances from the centers to the plane bisector. As noted in [4], we have
[TABLE]
and similarly for . Plugging (11) into Formula 2, we get
[TABLE]
Differentiating with respect to the distance between the two centers, we get the rate of area change, which happens right next to the circle of intersection. In the general case, the cap may overlap with other caps so that only a fraction of the bounding circle belongs to the boundary of the space-filling diagram. Accordingly, the derivative is the same fraction of the derivative without any such overlap:
[TABLE]
Multiplying the right-hand side of (13) with , we get the derivative with respect to the direction preserving motion of , and taking the sum over all , we get the derivative of with respect to the direction preserving motions of all ; compare with the first sum on the right-hand side of (15) in Lemma 3.1.
Distance preserving motions. Consider first the case of a single cap, . The rotation defined by keeps the cap as well as at constant size. This is because loses area along the front of the circle that bounds the cap, it gains area along the back of this circle, and the loss equals the gain. In the more general case depicted in Figure 2, it is possible that the loss and the gain no longer cancel each other.
To calculate the net loss or gain, we let and be antipodal points on , which we refer to as north- and south-pole, such that the cap center lies on the equator — the great-circle halfway between and — and the motion follows the equator. We recall that is the velocity vector of , and times is the velocity vector of the cap center. In Figure 2, we draw vertical, we place and the cap center on top of , and we let the velocity vector go horizontally from right to left. By Formula 2, the area loss along an arc of the front does not depend on its position but only on the length of its projection onto . We are interested in arcs of that lie on the boundary of the space-filling diagram, and we compute the net loss or gain indirectly, by measuring the projections of the edges in the Voronoi tessellation defined by , , and a third ball, . Recall that is the line segment that connects the two points in which meet, and that is the fraction of this line segment that belongs to the Voronoi decomposition of the space-filling diagram. If this edge belongs to the front of the clipped cap, then its contribution is positive because it subtracts from the loss along the front. Symmetrically, if the edge belongs to the back of the clipped cap, then its contribution is negative. To quantify, we recall the definition of given in Table 2. The signed fraction of the projection of the relevant portion of onto is its length, , times the cosine of the projection angle, , divided by the diameter of the sphere, . By Formula 2, this is also the area fraction of the corresponding strip around the sphere. Dividing by the length of the circular orbit, , we get the derivative:
[TABLE]
in which we write for the angle that parametrizes the rotation of . We get the contribution to by multiplying with and observing that for all ; compare with the second sum on the right-hand side of (15) in Lemma 3.1.
Summary. A clipped cap whose entire boundary consists of straight line segments does not touch the boundary of the space-filling diagram and therefore has no contribution to the derivative. These caps correspond to interior edges of the alpha complex. Omitting them from the sum, we get the derivative of .
Lemma 3.1** (Derivative of ).**
The derivative of the fraction of on the boundary of the space-filling diagram at state with momentum is
[TABLE]
in which the first sum is over the boundary edges of the alpha complex incident to , with coefficient given in (13), and the second sum is over the triangles incident to these edges.
3.2 Derivatives of and of
Recall that is the radius of the circle , assuming the two spheres have a non-empty intersection. As illustrated in Figure 3, it is also the height of the triangle with base of length and edges of length and .
The area of the triangle is . Alternatively, we can compute the area using the version of the Heron formula given right after Formula 2:
[TABLE]
The derivative of the area with respect to the distance between the two centers is
[TABLE]
From this, we get the derivative of the height of the triangle:
[TABLE]
Switching our attention, we observe that the angle between the outward normals, , is also the angle opposite the base inside the triangle in Figure 3. Recall that the Law of Cosines generalizes Pythagoras’ Theorem beyond right-angled triangles: , in which are the lengths of the sides and is the angle opposite to the side of length . In our application, we have , , , and . Hence,
[TABLE]
Recall that the derivative of is . Together with the chain rule for differentiation, this gives the derivative of the angle with respect to the length of the base:
[TABLE]
We summarize the results of this subsection for later reference.
Lemma 3.2** (Derivatives of and of ).**
The derivatives of the radius of the intersection circle of two spheres and of the angle between the outward normals at the intersection at state with momentum are
[TABLE]
with the coefficients in the two equations given in (21) and (24).
3.3 Derivative of
Recall that is the fraction of the circle that belongs to the space-filling diagram. We compute its derivative under the motion in several steps, the first of which modifies the motion. Without altering the derivative, we do this such that the center and the plane of the circle are fixed.
Modifying the motion. We begin by fixing in space, which we do by changing the velocity vector of to for every , as before. Next, we fix the normal direction of the plane that contains by removing the angular momentum. Specifically, we change the velocity vector of to , in which is given in (10); see Figure 1. After this modification, the point moves with speed along , in which is the length of the new velocity vector. Accordingly, we change the velocity vector of to for every , and note that and . We finally fix the plane of the circle. To this end, we recall that and given in (11) are the signed distances of and from the plane of . We have and use them to write the center of the circle as an affine combination of the centers of the spheres:
[TABLE]
Suppose now that is fixed and moves with speed in the direction of . To compute the speed of moving in the same direction, we set , write , and simplify (27) to . Its derivative with respect to the distance is
[TABLE]
we write for the derivative in this special, -dimensional scenario, and note that moves with speed . Subtracting the corresponding multiple of from the velocity vector of every point , we get the final collection of vectors.
Lemma 3.3** (Change of Motion).**
Replacing the velocity vector by , for every , fixes the center and the plane of the circle while preserving the derivative of . The coefficient of is given in (28).
Movement of . The circle alternates between the boundary and the interior of the space-filling diagram, and we are interested in the arcs that belong to the boundary. The endpoints of these arcs belong to [math]-spheres of the form . Recall that is [math], , or . If , then both points of lie on the boundary of the space-filling diagram and therefore serve as endpoints of the relevant arcs of , if , then only one of the two points serves in this capacity, and if , then neither point serves in this capacity. Consider a sphere, , such that or , and let be an endpoint of an arc; see Figure 4.
We are interested in the speed in which the point moves along . To compute this speed, we let be the unit vector that is tangent to at the point such that and lie on the same side of the tangent plane, that is:
[TABLE]
and the correct sign is the one for which ; see Figure 4. When moves along with speed , then the tangent plane moves along with speed . At the same time, the tangent plane moves along with a speed such that substituting for in this equation gives the same speed, namely . In other words, and therefore . This implies
[TABLE]
in which is the angle parametrizing the circular motion of about the line passing through and , with is such that ; see the first sum on the right-hand side of (25) in Lemma 3.2.
Change of . Recall that Lemma 3.2 gives the rate of change of the radius. We ask how it affects the derivative of . To begin, we observe that is the signed distance of from the tangent plane. It is positive if and lie on the same side of the plane, and negative if they lie on opposite sides. Letting be the angle between and the line in which the tangent plane intersects the plane of , we get . Hence, , and we are interested in the derivative with respect to the radius. Remembering that the derivative of is , we get
[TABLE]
Using the chain rule, we get the derivative with respect to by multiplying (31) with (21) and then taking the sum over all points ; see the second sum on the right-hand side of (25) in Lemma 3.2.
Summary. Adding the contribution of the changing radius to those of the movements of the and normalizing by the length of the circle, we get the desired derivative.
Lemma 3.4** (Derivative of ).**
The derivative of the fraction of on the boundary of the space-filling diagram at state with momentum is
[TABLE]
in which the coefficients in the second sum are given in (31) and (21). Both sums are over all oriented boundary triangles of the alpha shape that share the edge from to , and is the corresponding corner of the space-filling diagram.
4 Gradients
We write the derivative of the weighted mean curvature function, , in terms of the gradient of at , denoted . Recalling (9), this derivative is , with
[TABLE]
Writing , we recall that is the -dimensional gradient that applies to . Using boldface letters for the gradients of , and similar conventions for the -dimensional sub-vectors, we have and for . We get the gradients by redistributing the derivatives stated in Lemmas 3.1 to 3.4.
First term. To begin, we use Lemma 3.1 to rewrite (33) as
[TABLE]
in which the first sum is over all directed boundary edges of the alpha shape, and the second sum is over all triangles incident to these edges. Observe that for fixed , we get possibly non-zero contributions to all . Symmetrically, we get by accumulating contributions from all . Using and , we get
[TABLE]
in which the first sum is over all boundary edges of the alpha shape incident to , and the second sum is over all triangles incident to these edges. Not surprisingly, the result is similar to the weighted area gradient given in Proposition 2.3. Specifically, we get and .
Second term. We use Lemma 3.2 to rewrite (34) as
[TABLE]
in which the sum is over all directed boundary edges of the alpha shape. Redistributing the terms, we get
[TABLE]
in which the sum is over all boundary edges of the alpha shape incident to .
Third term. The redistribution of the pieces on the right-hand side of (32) to get the gradient is complicated by the change of the motion. We therefore begin by rewriting . To this end, we recall that the cross product is distributive: , and that the Lagrange formula turns a triple cross product into two scalar products: . Recalling the definition of from (28), we can now rewrite the new motion vector:
[TABLE]
in which the third line is obtained by applying the Lagrange formula and writing . We need the scalar product of with :
[TABLE]
in which
[TABLE]
We are now ready to rewrite (35) using Lemma 3.4 as
[TABLE]
in which the sum is over the three ordered versions of all oriented boundary triangles of the alpha shape. Letting be the vertices of such a triangle, the ordered versions are given by the index triplets , and we write for the corresponding corner of the space-filling diagram, noting that . Observe that an unordered triangle that belongs to tetrahedra in the alpha complex occurs times in this sum. Redistributing the terms, we get
[TABLE]
in which the sum is over all oriented boundary triangles of the alpha shape that share . As before, is the corresponding corner of the space-filling diagram.
Summary. We finally get the gradient of the weighted mean curvature function by adding the gradients of the three component functions:
Theorem 4.1** (Gradient of Weighted Mean Curvature).**
The derivative of the weighted mean curvature of the space-filling diagram at state with momentum is , in which as given in (39), (44), and (58), for all .
5 Violations of Continuity
To embed our formulas in the inner loop of a molecular dynamics application, the implementation must be efficient and robust. We address the latter requirement by identifying the subset of where the gradient of the weighted mean curvature function is not continuous. This subset is contained in the subset of non-generic states, which we describe first.
General position. We distinguish two types of degenerate states: where the Delaunay mosaic is ambiguous, and where the Delaunay mosaic is unambiguous but the alpha complex is ambiguous. Recall that is a collection of closed balls in , and that these balls can move individually but their radii are fixed. We say is in general position and, equivalently, that its state is generic if the following three conditions hold:
- I.
the common intersection of Voronoi domains is either empty or a convex polyhedron of dimension ; 2. II.
the common intersection of spheres bounding balls in is either empty or a sphere of dimension .
Condition I implies that any five Voronoi domains have an empty common intersection, and Condition II implies that any four spheres have an empty common intersection. Each violation of Condition I corresponds to a -dimensional submanifold of and so does every violation of Condition II, except when two radii are the same, in which case we get a submanifold of dimension . Let and be the union of submanifolds that correspond to violations of Conditions I and II, respectively. Since there are only finitely many such submanifolds, and have dimension each.
Condition I and flips. If Condition I is satisfied, then the Delaunay mosaic is simplicial. We get a violation when the state trajectory intersects . We limit ourselves to discussing what we call the typical case, in which there is only one violation of general position. Indeed, multiple violations correspond to intersections of the -dimensional submanifolds. In the typical case, the intersection is an isolated point where the trajectory passes locally from one side of to the other. The corresponding change in the Delaunay mosaic is a flip, of which there are four types. For integers and , the -to- flip replaces tetrahedra by tetrahedra; see [7] for details on this operation. The Delaunay mosaic is a simplicial complex geometrically realized in , both before and after the replacement. This implies that the union of the tetrahedra before the flip be the same as the union of the tetrahedra after the flip.
To be more formal, let be the complex consisting of the tetrahedra and their faces, and let be the complex consisting of the tetrahedra and their faces. Then is the common boundary of both complexes, and the flip substitutes for in the Delaunay mosaic. By construction, either all simplices of and of belong to the alpha complex before and after the flip, or none does. In the latter case, none of the formulas in Theorem 4.1 are affected by the flip. In the former case, some terms in the formulas get replaced by other terms. At the moment of the flip, the replaced and the replacing terms evaluate to the same numerical value, which implies that the weighted mean curvature and its derivative are unchanged and therefore continuous. We can see this by noting that the flip does not alter the combinatorial structure of the space-filling diagram boundary and therefore affects neither the weighted mean curvature nor its derivative.
Condition II and critical simplices. Condition II addresses situations in which the alpha complex changes while the Delaunay mosaic stays the same: we either add one or more simplices in the mosaic to the complex or we remove them from the complex. Here we consider the case in which only one simplex is added or removed. With reference to the discrete Morse theory of Delaunay mosaics outlined in [3], we call this a critical simplex. We distinguish three cases.
Case** :**
the added or removed simplex is an edge of the Delaunay mosaic. At the moment of the change, the spheres whose centers are the endpoints of the edge touch in a single point. Letting and be the indices of the spheres, is negative when the spheres are disjoint and positive when they intersect in a circle. For , the edge does not belong to the alpha complex and therefore contributes neither to the weighted mean curvature nor to its gradient. For , the change to the weighted mean curvature caused by the edge depends on the change in area of the space-filling diagram, the change in length of its arcs, and the dihedral angles at the arcs. Focussing on the rough order of the changes, it is not difficult to see that , , , and therefore and at .
The other two cases are similar so we will be brief. In each case, we use to parameterize the local motion, with at the moment of change. We feel free to make further non-essential simplifying assumptions, such as the radii being distinct.
Case** :**
the added or removed simplex is a triangle of the Delaunay mosaic. At the moment of change, the spheres whose centers are the vertices of the triangle meet in a single point. By easy analysis, we get , , , and therefore and at .
Case** :**
the added or removed simplex is a tetrahedron of the Delaunay mosaic. At the moment of change, the spheres whose centers are the vertices of the tetrahedron meet in a single point. By easy analysis, we get , , , and therefore and at .
In conclusion, the weighted mean curvature is continuous but its gradient occasionally changes discontinuously; see Table 1 for a convenient summary of the three cases above as well as the six cases to be discussed shortly.
Condition II and non-singular intervals. Here we consider the case in which at least two simplices are added or removed at the same moment. Generically, these simplices form an interval of size , , or ; see [3] for details. We encounter six cases.
Case** :**
A vertex together with an incident edge are added or removed. At the moment of change, the sphere centered at the vertex breaks through the surface of the sphere whose center is the other endpoint of the edge. By easy analysis, we get , , and because is proportional to also . Hence and at .
Case** :**
A vertex together with an incident triangle and its two edges that share the vertex are added or removed. At the moment of change, the sphere centered at the vertex breaks through the circle at which the two spheres centered at the other vertices of the triangle intersect. By easy analysis, we get , , , and therefore and at .
Case** :**
A vertex together with an incident tetrahedron and its three edges and three triangles that share the vertex are added or removed. At the moment of change, the sphere centered at the vertex breaks through the pair of points in which the three spheres centered at the other vertices of the tetrahedron intersect. We get , , , and therefore and at .
Case** :**
An edge together with an incident triangle are added or removed. At the moment of change, the circle in which the two spheres centered at the endpoints of the edge intersect breaks through the surface of the sphere centered at the third vertex of the triangle. By easy analysis, we get , , , and therefore and at .
Case** :**
An edge together with an incident tetrahedron and its two triangle that share the edge are added or removed. At the moment of change, the circle in which the two spheres centered at the endpoints of the edge intersect breaks through the circle in which the two spheres centered at the other vertices of the tetrahedron intersect. We get , , , and therefore and at .
Case** :**
A triangle together with an incident tetrahedron are added or removed. At the moment of change, the pair of points in which the three spheres centered at the vertices of the triangle intersect break through the surface of the sphere centered at the fourth vertex of the tetrahedron. We get , , , and therefore and at .
See again Table 1 for a convenient summary of the results in all cases. We note that the situation in the unweighted case has better continuity properties along in some cases, but the analysis is more involved. Subtracting from , we are left with finitely many open cells such that the formula of the weighted mean curvature and of its derivative are both invariant over each cell. All terms in these formulas are continuous over the cell, which implies that both and are continuous over the open cell. As argued above, and are also continuous at states , hence they are continuous at all . We summarize the findings of this section.
Theorem 5.1** (Continuity of Gradient).**
The gradient of the weighted mean curvature of a space-filling diagram of closed balls in is continuous provided the state of the diagram does not belong to , which is a -dimensional subset of .
6 Discussion
The main contribution of this paper is the analysis of the derivative of the weighted mean curvature of the space-filling diagram of a set of moving balls. Specifically, we give an explicit description of the gradient of the weighted mean curvature function, which for spheres is a map from to . In addition, we characterize the subset of at which the derivative violates continuity. In total, this is sufficient information for an efficient and robust implementation of the weighted mean curvature derivative, one that can be added to the inner loop of a molecular dynamics simulation of a physical system. There are several questions about this application that go beyond the scope of this paper:
- •
Is there a connection between the coefficients with which the morphological approach combines the intrinsic volumes [13, 18] and the states at which their gradients are not continuous?
- •
Splitting the mean curvature concentrated along an arc in equal parts is suggested by the Apollonius diagram of the spheres, but splitting it according to the Voronoi diagram is also feasible. Are there physical reasons to prefer one split over the other?
We remark that the formulas in this paper can be easily adapted to splitting the mean curvature according to the Voronoi tessellation of the spheres.
Acknowledgment
The authors of this paper thank Roland Roth for suggesting the analysis of the weighted curvature derivatives for the purpose of improving molecular dynamics simulations and for his continued encouragement. They also thank Patrice Koehl for the implementation of the formulas and for his encouragement and advise along the road. Finally, they thank two anonymous reviewers for their constructive criticism.
Appendix A Notation
Appendix B Definitions and Results
- •
Section 1: Introduction.
- •
Section 2: Background.
- –
Formula 2 (Archimedes’ Theorem).
- –
Formula 2 (Heron’s Theorem).
- –
Proposition 2.1 (Intrinsic Volumes).
- –
Proposition 2.2 (Gradient of Weighted Volume).
- –
Proposition 2.3 (Gradient of Weighted Area).
- •
Section 3: Derivatives.
- –
Lemma 3.1 (Derivative of ).
- –
Lemma 3.2 (Derivatives of and of ).
- –
Lemma 3.3 (Change of Motion).
- –
Lemma 3.4 (Derivative of ).
- •
Section 4: Gradients.
- –
Theorem 4.1 (Gradient of Weighted Mean Curvature).
- •
Section 5: Violations of Continuity.
- –
Theorem 5.1 (Continuity of Gradient).
- •
Section 6: Discussion.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1]
- 2[2] A. Akopyan and H. Edelsbrunner. The weighted Gaussian curvature derivative of a space-filling diagram. Manuscript, IST Austria, Klosterneuburg, Austria, 2019.
- 3[3] U. Bauer and H. Edelsbrunner. The Morse theory of Cech and Delaunay complexes. Trans. Amer. Math. Soc. 369 (2017), 3741–3762.
- 4[4] R. Bryant, H. Edelsbrunner, P. Koehl and M. Levitt. The area derivative of a space-filling diagram. Discrete Comput. Geom. 32 (2004), 293–308.
- 5[5] M.W. Crofton. On the theory of local probability, applied to straight lines drawn at random in a plane; the methods used being also extended to the proof of certain new theorems in the integral calculus. Phil. Trans. Royal Soc. London 158 (1868), 181–199.
- 6[6] H. Edelsbrunner. The union of balls and its dual shape. Discrete Comput. Geom. 13 (1995), 415–440.
- 7[7] H. Edelsbrunner. Geometry and Topology for Mesh Generation. Cambridge Univ. Press, Cambridge, England, 2001.
- 8[8] H. Edelsbrunner and P. Koehl. The weighted-volume derivative of a space-filling diagram. Proc. Natl. Acad. Sci. 100 (2003), 2203–2208.
