Computational p-Willmore Flow with Conformal Penalty
Anthony Gruber, Eugenio Aulisa

TL;DR
This paper develops a computational model for the p-Willmore flow of surfaces in 3D, incorporating conformal penalty regularization to preserve mesh quality and applying finite-element methods for practical mesh editing.
Contribution
It introduces a novel p-Willmore flow model with conformal penalty regularization and finite-element discretization for surface evolution and mesh editing.
Findings
The model decreases p-Willmore energy monotonically.
Conformal penalty effectively prevents mesh degeneration.
Application demonstrated in mesh editing tasks.
Abstract
The unsigned p-Willmore functional introduced in \cite{mondino2011} generalizes important geometric functionals which measure the area and Willmore energy of immersed surfaces. Presently, techniques from \cite{dziuk2008} are adapted to compute the first variation of this functional as a weak-form system of equations, which are subsequently used to develop a model for the p-Willmore flow of closed surfaces in . This model is amenable to constraints on surface area and enclosed volume, and is shown to decrease the p-Willmore energy monotonically over time. In addition, a penalty-based regularization procedure is formulated to prevent artificial mesh degeneration along the flow; inspired by a conformality condition derived in \cite{kamberov1996}, this procedure encourages angle-preservation in a closed and oriented surface immersion as it evolves. Following this, a…
| Figure | Geometry | Elements |
|
|
|
Initial |
|
|
|
|
Penalty | |||||||||||||
| 1 | tri | 23.42k | 2.40 | 105.43k | 58.566k | 3.2e-8 | 1.10 | 5.0e-3 | 130 | 30.1s | 1.0e-5 | |||||||||||||
| 2 | quad | 5.344k | 3.37 | 16.034k | 21.382k | 6.0e-3 | 1.02 | N/A | 24 | 4.3s | ||||||||||||||
| 48.114k | 3.2e-4 | 60 | 11.5s | |||||||||||||||||||||
| 3.2e-6 | 5.0e-3 | 400 | ||||||||||||||||||||||
| 3 | tri | 34.50k | 2.05 | N/A | 86.266k | N/A | N/A | N/A | N/A | 2.1s | ||||||||||||||
| 4.3s | ||||||||||||||||||||||||
| 4 | tri | 9.216k | 6.19 | 41.472k | 23.040k | 5.0e-4 | 1.10 | 5.0e-3 | 29 | 16.6s | ||||||||||||||
| 5 | quad | 10.24k | 45.4 | 92.162k | 40.960k | 1.0e3 | 1.20 | 5.0e5 | 50 | 22.9s | 1.0e-2 | |||||||||||||
| 6 | tri | 17.24k | 4.65 | 77.600k | 43.106k | 5.0e-3 | N/A | 32 | 27.5s | 1.0e-5 | ||||||||||||||
| 7 | tri | 483.2k | 257 | N/A | 1.2080m | N/A | N/A | N/A | 88.9s | |||||||||||||||
| 8 | tri | 4.610k | 20.691k | N/A | 1.0e3 | 1.20 | 1.0e5 | 32 | 3.8s | |||||||||||||||
| 9 | quad | 3.072k | 6.55 | 27.650k | 12.228k | 5.0 | 1.20 | N/A | 30 | 4.79s | ||||||||||||||
| N/A | 19 | 3.72s | N/A | |||||||||||||||||||||
| 10 | quad | 1.336k, , | 3.37 | variable | variable | 5.0e-4 | 1.02 | N/A | 80 | 4.3s | 1.0e-5 | |||||||||||||
| 1.336k, , | 3.2e-4 | 100 | 11.5s | |||||||||||||||||||||
| 0.334k, , | 3.2e-6 | 5.0e-3 | 400 | 1.0e-3 | ||||||||||||||||||||
| 11 | tri | 345.9k | 229 | 1.5568m | 864.87k | 5.0e-4 | N/A | N/A | 1 | 707s | 1.0e-5 | |||||||||||||
| 12 | tri | 17.24k | 4.65 | 51.733k | 43.106k | 5.0e-2 | 1.10 | N/A | 14 | 9.17s | ||||||||||||||
| 77.599k | 1.0e-4 | 36 | 26.4s | |||||||||||||||||||||
| 1.0e-7 | 1.05 | 2.0e-4 | 200 | 1.0e-4 |
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.
Computational p-Willmore Flow with Conformal Penalty
Anthony Gruber
and
Eugenio Aulisa
Texas Tech UniversityP.O. Box 41042LubbockTexas79409
Abstract.
The unsigned p-Willmore functional introduced in (Mondino, 2011) generalizes important geometric functionals which measure the area and Willmore energy of immersed surfaces. Presently, techniques from (Dziuk, 2008) are adapted to compute the first variation of this functional as a weak-form system of equations, which are subsequently used to develop a model for the p-Willmore flow of closed surfaces in . This model is amenable to constraints on surface area and enclosed volume, and is shown to decrease the p-Willmore energy monotonically. In addition, a penalty-based regularization procedure is formulated to prevent artificial mesh degeneration along the flow; inspired by a conformality condition derived in (Kamberov et al., 1996), this procedure encourages angle-preservation in a closed and oriented surface immersion as it evolves. Following this, a finite-element discretization of both procedures is discussed, an algorithm for running the flow is given, and an application to mesh editing is presented.
Willmore flow, surface fairing, mesh editing, conformal geometry, surface remeshing
††copyright: acmcopyright††journal: TOG††journalyear: 2020††journalvolume: 1††journalnumber: 1††article: 1††publicationmonth: 1††price: 15.00††doi: 10.1145/3369387††ccs: Theory of computation Computational geometry††ccs: Mathematics of computing Partial differential equations
1. Introduction
As another example, the reliable Helfrich-Canham model for biomembranes (see (Helfrich, 1973)) is based on the well-studied Willmore energy (see (Willmore, 1965; White, 1973; Weiner, 1978; Bohle et al., 2008; Mondino, 2011; Marques and Neves, 2014; Athukorallage et al., 2015) and references therein)
[TABLE]
whose -gradient flow has been proven to converge smoothly to a global minimum when the surface genus and initial energy are sufficiently low (Kuwert and Schätzle, 2001; Mondino and Nguyen, 2014) (c.f. Figure 4). Due to its pleasing aesthetic character, the Willmore flow has further attracted the interest of computational mathematicians and scientists, and has been studied numerically in a variety of contexts including conformal geometry, geometric partial differential equations, and computer graphics. See e.g. (Crane et al., 2013; Dziuk and Elliott, 2013; Joshi and Séquin, 2007) and the references therein.
1.1. Related work
Besides the inherent mathematical challenges present in geometric flows (involving e.g. convergence, changes in global topology, and singularity formation), their governing equations introduce a number of computational difficulties as well. In particular, discrete surfaces are often stored as piecewise-linear data, such as meshes of simplices, and it is taxing to find a satisfactory method of expression for second-order geometric phenomena such as curvature. There have been two broad approaches to this problem in the current literature, which can be thought of colloquially as arising from discrete versus discretized perspectives on the issue.
In discrete geometry, the aim is to use global characterizations from geometry and topology to develop fully-discrete analogues of classical geometric quantities, which are in some sense independent from their original (continuous) definitions. Tools such as exterior calculus, the Gauss-Bonnet and Stokes’ Theorems are employed to define length, area, curvature, etc. on a simplicial surface, which is accomplished through enforcing global geometric relationships rather than considering local values at specific places (nodes) on a mesh. The main advantages of this approach are relative independence from mesh quality, and sparse linear formulations which are fast to solve. Some notable disadvantages present here are the restriction of such methods (so far) to triangular meshes, and the fact that several equivalent definitions of geometric quantities in the smooth setting become inequivalent when treated in this way (see (Crane and Wardetzky, 2017) for details). Further information on this area can be found in (Droske and Rumpf, 2004; Deckelnick and Dziuk, 2006; Meyer et al., 2003; Bobenko, 2008; Gu et al., 2009) and the references therein.
Conversely, discretized geometry involves approximating continuous geometric quantities as well as possible by using a good choice of nodal mesh points, so that the difference between the continuous and discrete objects vanishes in the limit of mesh refinement. Traditional finite element mathematics is based on this idea, whereby the necessary calculations are done locally and element-wise without any particular adherence to global phenomena except in the limit. The primary advantage of this approach is its flexibility with respect to applications, problem formulations, and mesh data. Its main disadvantages are its inherent sensitivity to mesh quality, and its agnosticism with respect to the global aspects of surface geometry. See (Dziuk and Elliott, 2013) for a compendium of knowledge and techniques in this area.
Remark 1.1.
In fact, the failure of the finite element method to capture global relationships was a primary motivation for the development of a discrete geometric theory, as mentioned in (Bobenko, 2008; Gu et al., 2009).
Due in part to their useful application to problems such as mesh editing (see (Bobenko and Schröder, 2005)), the computational details of geometric flows have been examined previously from both of the above perspectives. In (Dziuk, 2008), the author studies parametric Willmore flow using finite-element methods. In particular, the author develops and discretizes a model for the Willmore flow of surfaces, detailing some examples and proving stability of this discretization. On the other hand, the authors in (Crane and Wardetzky, 2017) use ideas from discrete conformal geometry to develop a conformally-constrained model for the Willmore flow. More precisely, they develop results which enable the direct manipulation of surface curvature, allowing for angle-preserving mesh positions to be recovered using a natural integrability condition. Beyond the Willmore flow, many computational studies have also been done which focus on the mean and Gauss curvature flows, Ricci flow, and Yamabe flow of surfaces; see (Deckelnick et al., 2005; Joshi and Séquin, 2007) and their enclosed references for more details.
This work adopts a discretized perspective similar to (Dziuk, 2008; Dziuk and Elliott, 2013) and aims to extend the computational study of curvature flows that arise from functionals which depend on some power of the mean curvature of an immersed surface. To that end, the main object of study is the -gradient flow of the (unsigned) p-Willmore functional introduced in (Mondino, 2011),
[TABLE]
As mentioned in (Gruber et al., 2019), this definition can be extended to include the case , so that the surface area, (unsigned) total mean curvature, and Willmore functionals are encompassed here as , , and , respectively. It follows that the 0-Willmore flow is simply MCF, and usual Willmore flow occurs when .
It is well-known that the analytic properties of these flows are quite different from one another. For example, convex surfaces evolving under MCF become extinct in finite time (see (Huisken, 1984)), while the Willmore flow can terminate in a round sphere of finite (positive) radius (Kuwert and Schätzle, 2001). In light of these differences, it is reasonable to wonder how the behavior of a geometric flow depends on the exponential weight of the mean curvature being measured, and the p-Willmore functional provides a natural way to investigate this idea. In particular, it is apparent from simulation that when , (at least some) surfaces which become spherical under the p-Willmore flow will instead grow indefinitely. This is not surprising, as the p-Willmore functional is only invariant under changes of scale when (c.f. (Gruber, 2019)). Therefore, an immersed surface can easily decrease its p-Willmore energy by growing uniformly, so that its mean curvature decreases pointwise. This phenomenon is displayed in Figure 2, where the p-Willmore evolution of a C-shaped surface is compared when . Moreover, Figure 12 shows that even when the various p-Willmore flows terminate at a common immersion, their intermediate surfaces may be quite different depending on the value of .
1.2. Contributions
In the following sections, techniques from (Dziuk, 2008) will be adapted to express the -gradient of in a computationally-accessible way, resulting in an appropriate weak formulation of the p-Willmore flow problem. Once the relevant system of PDE has been established, geometric constraints on surface area and enclosed volume will be considered and introduced into the flow model as Lagrange multipliers, leading to new and different behavior. Moreover, the problem of mesh degradation along the flow will be discussed, and a minimization procedure will be given which dramatically improves mesh quality throughout the p-Willmore flow at the expense of solving another nonlinear system at each time step. This procedure is inspired by a conformality criterion of Kamberov, Pedit, and Pinkall derived in (Kamberov et al., 1996) and is similar in spirit to the least squares conformal mapping (LSCM) technique introduced in (Lévy et al., 2002). Consequently, the p-Willmore flow and mesh regularization systems will be discretized and implemented on manifold meshes of triangles and quadrilaterals using the Finite Element Multiphysics Solver FEMuS (Aulisa et al., 2014), and a fully-automated algorithm given for running the p-Willmore flow with conformal penalty. Finally, some specifics of this implementation will be discussed, as well as an application to mesh editing.
The p-Willmore flow algorithm introduced here has the following benefits:
- •
It provides a unified computational treatment of geometric flows which arise from functionals whose integrand is a power of the unsigned mean curvature, including MCF and the Willmore flow.
- •
It is flexible with respect to geometric constraints on area and volume, as well as mesh geometry data (tri or quad) and surface genera.
- •
It affords the ability to near-conformally regularize the surface mesh along the flow, preventing mesh degeneration at the expense of an additional nonlinear solve at each time step.
- •
It is entirely minimization-based and therefore amenable to a large library of developed theory and techniques, including those in (Dziuk and Elliott, 2013).
Remark 1.2.
The regularization procedure mentioned above can be easily modified to require only a linear solve, at the expense of more roughness in the mesh (c.f. Section 5). See Figure 3 for a comparison on a realistic cow surface. In addition, note that the conformal penalty regularization in this work is not a true constraint on the conformality class of the evolving surface. Therefore, the approach here differs from the work done on conformally-constrained Willmore surfaces in (Bohle et al., 2008; Crane et al., 2011; Schätzle, 2013) and others.
Though the p-Willmore flow with conformal penalty is useful, it is prudent to mention some challenges that have yet to be overcome. In particular, the formulation considered here can be sensitive to initial data due to the high degree of nonlinearity present in the p-Willmore equation, especially when large values of are considered; typically, the flow cannot be run on rough meshes with a high degree of noise, and can be relatively unstable when . Moreover, the nonlinear systems involved in the p-Willmore flow algorithm are computationally demanding, requiring significant effort on fine meshes which may be prohibitively expensive for “real time” use cases; specifics related to the figures in this work, including the solver time required are recorded in Table 1. Finally, the p-Willmore flow with conformal penalty is not yet well-understood with respect to theoretical results on consistency, stability, or convergence. Such questions provide ample opportunity for future work in this area.
2. Preliminaries
It is beneficial to recall how to manipulate evolving surfaces mathematically. Let be a compact, connected surface without boundary. For , consider the family of surface immersions with images , and let be the variational derivative operator. Then, if denotes differentiation with respect to , the initial surface is said to undergo p-Willmore flow provided the equation
[TABLE]
is satisfied for all in some interval . Using standard techniques from the calculus of variations, it can be shown (see (Gruber et al., 2019)) that for closed surfaces this condition implies the scalar equation
[TABLE]
where is the outward-directed unit normal vector to for each , is the Laplace operator associated to the metric on the surface, and is its Gauss curvature.
Remark 2.1.
Note that from here on the Einstein summation convention will be employed, so that any index appearing twice in an expression (once up and once down) will be implicity traced over.
While equation (1) can be discretized by itself and used to define a normally-directed p-Willmore flow, it is advantageous to work directly with position instead of the mean curvature . Besides being more straightforward to implement, this allows for the consideration of tangential motion during the flow which can help regularize the surface mesh as it evolves (see (Dziuk and Elliott, 2013)).
Remark 2.2.
Though position-based flow techniques are more standard in the literature, researchers in (Crane et al., 2013) have had success working directly with curvature. Using a natural integrability condition, they are able to recover surface positions that maintain full conformality with respect to the reference immersion. A major advantage of this approach is that such conformality is built directly into the flow, completely eradicating mesh degradation along the evolution.
To develop a suitable model for the p-Willmore flow of surfaces, it is helpful to adopt the formalism of G. Dziuk found in (Dziuk, 2008). To that end, let be a parametrization of (a portion of) the closed surface , with outward-directed unit normal field . Then, the identity map defined through provides an isometric surface immersion, and the components of the induced metric on are given by
[TABLE]
where denotes the standard Euclidean inner product.
With this, the metric gradient of a function can be expressed componentwise as (Einstein summation assumed)
[TABLE]
where is the pullback of through the parametrization , , and . It follows that the Laplace-Beltrami operator on is then expressed as
[TABLE]
and a simple calculation verifies that for two functions , the metric inner product extends linearly to yield
[TABLE]
Moreover, in view of the geometric identity , the p-Willmore functional is expressed succinctly in this framework as
[TABLE]
In particular, introduction of the mean curvature vector ensures that is free of explicit second derivatives of the position vector field.
Remark 2.3.
Since the constant factor in front of the p-Willmore integrand merely scales the value of the functional and does not affect its geometric behavior, it will be omitted in subsequent passages with the understanding that truly indicates . Note that this will manifest itself in the flow only as a uniform scaling of the temporal domain.
3. Building the p-Willmore flow model
It is now possible to calculate the variational derivative (-gradient) of the functional in a way that is respectful towards computer implementation. More precisely, the calculation presented here involves no adapted coordinate system or explicit second-order derivatives, and the variations considered are assumed to have tangential as well as normal components. This will make it possible to accomplish the finite element discretization seen later.
Recall that when given a smooth function and a parameter , a variation of is given by
[TABLE]
where denotes a local coordinate on . This in turn induces a variation in the area functional, which can be calculated as in (Dziuk, 2008). In particular, there is the following lemma from that work.
Lemma 3.1.
Let Greek letters indicate tensor components with respect to the standard basis for , and define through
[TABLE]
Then, in the notation above and denoting the area functional on by
[TABLE]
the first and second variations of may be expressed as
[TABLE]
Proof.
The proof is a direct calculation and can be found in (Dziuk, 2008). ∎
With this in place, it is helpful also to recall an operator-splitting technique employed in (Dziuk, 2008), which is used to reduce the order of the flow problem. In particular, let denote the space of weakly first differentiable functions on , and recall the equation . Integrating this by parts against then yields the relationship
[TABLE]
which can be considered as a weak-form expression of the mean curvature vector . Note that due to the definition of , (3) has the useful function of effectively reducing the order of the p-Willmore flow equation (1) by two at the expense of solving an additional PDE.
It is now pertinent to develop a counterpart to equation (3), so that the operator splitting above can be beneficial. The resulting equation should reduce to (2) in the normal direction, while also suppressing undesirable non-divergence terms such as . To accomplish this, first note that
[TABLE]
Therefore, differentiating with respect to in the direction yields
[TABLE]
The goal is to use this expression to develop a weak-form for the p-Willmore equation by choosing an appropriate test function . Moreover, this choice should be made in avoidance of explicit derivatives of the normal vector , since they are not well-suited to discretization using piecewise-linear finite elements. To this end, similar differentiation of the p-Willmore integrand yields,
[TABLE]
Hence, letting be the weighted mean curvature vector on , choosing in equation (4), and using Lemma 3.1 the variation of the (-scaled) Willmore functional can be calculated as
[TABLE]
This computation directly implies the following Theorem.
Theorem 3.2.
In the notation above and for , the unconstrained p-Willmore flow equation (1) is expressed in weak form by the following system of PDE in the variables u, Y, and W:
[TABLE]
which must hold for all and all .
Proof.
The proof follows immediately from the definitions of and the discussion above. ∎
Remark 3.3.
The reader will notice that this reduces to precisely the system in (Dziuk, 2008) for the case , in which case the last equation is not needed. Additionally, the case (MCF), while not in the domain of the theorem as stated, may be recovered by simply omitting (7) and replacing equation (5) with the equation from Lemma 3.1 for the variation of area:
[TABLE]
The system in Theorem 3.2 is the primary model for the p-Willmore flow studied here, and provides the basis for the p-Willmore flow algorithm presented later. Before discussing further modifications, the following theoretical result is presented which guarantees that the p-Willmore energy always decreases along the flow governed by the equations above. Note that this property is well known in the case of MCF (0-Willmore flow), so the proof of this case is omitted. See e.g. (Mantegazza, 2011) for more details. Example illustrations of this phenomenon include Figures 1, 4, 5, 6, and 8.
Theorem 3.4.
The closed surface p-Willmore flow is energy decreasing for . That is, if is the weighted mean curvature vector on and is family of surface immersions with satisfying the weak p-Willmore flow equations (5), (6), and (7), then the -Willmore flow satisfies
[TABLE]
Proof.
Choosing the admissible test functions and in (4), as well as noticing that , the following system is observed
[TABLE]
Adding the above equations in view of (3) then yields
[TABLE]
completing the argument. ∎
Now, in light of the physical relevance of the functional , it is desirable also to have a model for the p-Willmore flow that is amenable to geometric constraints on surface area and enclosed volume. This is reasonable not only from a physical point of view (since many curvature-minimizing structures such as biomembranes constrain themselves naturally in these ways) but also in a mathematical sense, as such constraints can serve as a meaningful “replacement” for conformal invariance when . More precisely, since the p-Willmore functional is not conformally invariant in general, volume/area preservation ensures that physically-meaningful shapes such as spheres remain locally minimizing for , at least among some class of variations. Practically, this is accomplished through the addition of Lagrange multipliers into the model from Theorem 3.2. More precisely, let be a region in space such that and let , denote, respectively, the volume element and divergence operator on . Recall the volume functional,
[TABLE]
where the Divergence Theorem was applied in the last equality. It is well known (see e.g. (Barbosa et al., 2012)) that the first variation of volume is given by
[TABLE]
On the other hand, recall that Lemma 3.1 implies that the first variation of the area functional can be expressed as
[TABLE]
With these expressions available, it is straightforward to formulate the next problem considered in this work: closed surface p-Willmore flow with constraint.
Problem 3.5 (Closed surface p-Willmore flow with constraint).
Let and . Determine a family of surface immersions with such that has initial volume , initial surface area , and for all the equation
[TABLE]
*is satisfied for some piecewise-constant functions . Stated in weak form, the goal is to find functions u,Y,W,\lambda,{\color[rgb]{0,0,0}\gamma} on such that the equations *
[TABLE]
*are satisfied for all and all . *
Remark 3.6.
The case where may again be considered by replacing the equation (8) with the simpler relationship
[TABLE]
Of course, area preservation makes no sense in this context (since the objective of MCF is to decrease area), so equation (9) should also be disregarded in this case. In addition, note that the system of Problem 3.5 can also be used to study the p-Willmore flow with fixed volume or fixed surface area separately. In particular, fixed volume is obtained by setting and ignoring (9), and fixed area is accomplished similarly with and omission of (10). In practice, Boolean variables were implemented to enable switching between the different constrained/unconstrained cases.
Problem 3.5 provides a way to examine the p-Willmore flow subject to geometric constraints on surface area or enclosed volume. This is a highly interesting situation, since minimizing surfaces can vary widely with the type of constraint that is considered. For example, when beginning with the embedded surface of genus 0 seen in Figure 6, enforcing either volume or area preservation separately during the 2-Willmore flow produces a spherical minimizer. On the other hand, Figure 6 displays the behavior when this flow is constrained by both surface area and enclosed volume together. This scenario arises frequently in mathematical biology when considering membrane behavior in an external solution, and minimizing surfaces often realize familiar shapes—such as the biconcave discoid seen here, which is typical of red blood cells. See (Ou-Yang and Tu, 2014) for further details.
Remark 3.7.
It is not difficult to show that the constrained p-Willmore flow in Problem 3.5 enjoys the same stability property demonstrated in Theorem 3.4. To see this, repeat the argument from that proof using (8) instead of (5), and recall the derivatives of the area and volume functionals given previously.
4. Building the mesh regularization equations
One of the main questions that arises in the computer implementation of curvature flows is how to preserve the quality of the surface mesh as it evolves. If the initial mesh becomes sufficiently degenerate along the flow, it will crash the simulation—sometimes well before any troublesome behavior occurs in the actual surface geometry (c.f. Figure 9). Since curvature flows often alter the initial surface quite dramatically, this can present a serious issue for accurately modeling flow behavior. Several different techniques have been developed to combat this issue e.g. (Crane et al., 2011; Lévy et al., 2002; Desbrun et al., 2002; Gu and Yau, 2003; Floater and Hormann, 2005), each with their own strengths and weaknesses. A common challenge present in all methods of mesh regularization is striking a good balance between area-preservation and conformality, or angle-preservation. Of course, area-preserving maps can be arbitrarily ugly (think following the flow of a vector field tangent to the surface) and conformal maps frequently distort area in undesirable ways. Therefore, the technique employed in this work is inspired by the least-squares conformal mapping procedure of (Lévy et al., 2002) as well as the following result from (Kamberov et al., 1996), which can be thought of as a generalization of the Cauchy-Riemann equations from classical complex analysis (see Appendix A for more details).
Theorem 4.1.
(Kamberov, Pedit, Pinkall) Let be an immersion of the orientable surface into the imaginary part of the quaternions, and let be a complex structure (rotation operator ) on . Then, if is minus the usual Hodge star on differential forms, it follows that is conformal if and only if there is a Gauss map (unit normal field) such that .
Since is canonically isomorphic to as a vector space, this gives a criterion for conformality that can be weakly enforced during the p-Willmore flow. More precisely, recall that for all tangent vector fields , and that multiplication of obeys the rule where is the usual vector cross product. It follows that for all , and the conformality condition in Theorem 4.1 can be expressed pointwise as
[TABLE]
For the present purpose of mesh regularization, it suffices to enforce this condition weakly through a minimization procedure. Define the conformal distortion functional
[TABLE]
In view of Theorem 4.1, is identically 0 if and only if is a conformal immersion of into . Assuming the surface metric is held fixed, minimization of the conformal distortion leads to the necessary condition
[TABLE]
which must hold for all .
Remark 4.2.
The reader will notice that the evolution-dependent nature of the mesh regularization problem has been ignored. As the goal is compute a map very close to itself, the metric (and hence the volume element) associated to the new immersion are approximated using the respective quantities coming from the present immersion.
To make use of this equation in the computational framework considered here, it must first be expressed in terms of the local coordinates on . To that end, a particular section of the “complex line bundle” is first chosen; it is advantageous to consider the parametrization domain and choose where represents the first standard basis vector for . Then, (abusing to denote the pullback complex structure on as well as the original structure on ), and the integrand of (12) applied to the basis for can be pulled back through to yield the coordinate expression
[TABLE]
where is understood to mean the pullback (outer) normal field
[TABLE]
which is valid on the parametrization domain . To write this in a more compact form, first notice that
[TABLE]
So, letting and denoting (where we have abused notation again by referring to as a standard basis field on both and ), one can form the vectors
[TABLE]
With this, careful reorganization of (13) yields the dyadic product , where denotes the usual Jacobian and is given in components as (indices , mod 3)
[TABLE]
For cleanliness of presentation, note that there is a tensor {\color[rgb]{0,0,0}Q=Q(u)}\in T^{*}U\otimes TM such that , so we may write this product (at least formally) as . Therefore, equation (12) can now be expressed concisely as
[TABLE]
Equation 14 is used to ensure that the surface mesh finds a configuration that is “as conformal as possible” to a specified discretization of the reference surface . In practice, best results (particularly for triangle meshes) are achieved if this reference is defined implicitly based on an adjustment of the initial mesh data. In particular, it is useful to choose the reference configuration to be the starting surface with interior angles adjusted relative to the number of elements sharing a vertex. More precisely, there is the following procedure. For each vertex in the triangulation, first compute the number of elements with as a vertex. Then, if is a triangle adjacent at with vertices and interior angles , rescale to generate “ideal” interior angles. It is clear that, in general, , which is necessary for closure. The strategy is therefore to use the largest interior angle of each triangle to adjust the others. In particular, suppose and . Then, set
[TABLE]
Moreover, in the case that a given triangle has two or three leading angles, each angle is set to . Pseudocode for this procedure is given in Algorithm 1.
Of course, if equation (14) is to be useful as an effective tangential reparametrization of a surface evolving by p-Willmore flow, it should not be solved without constraint. For example, it is clear that any constant function will satisfy this equation as stated, so some care must be taken to prevent trivialities. Moreover, it is also necessary to constrain the regularization in (14) so that it does not destroy the current surface geometry by moving the surface too far in the normal direction. One potential solution to this issue is motivated by the following observation: if the aim is to recover a new immersion which is “close” to the current immersion , then the difference at any should be tangential to first order, hence orthogonal to the surface normal . Said differently, a first-order approximation to tangential motion along the surface can be obtained by requiring that the pointwise equation
[TABLE]
hold for all during the above minimization. In fact, since exact conformality is not required for the present purpose of mesh regularization, it is advantageous to weaken this requirement further using a penalty term. Since saddle-point problems with a mixture of linear and piecewise-constant finite elements can exhibit unstable discretizations, the inclusion of such a term helps to prevent numerical artifacts from appearing during the implementation. Precisely, the conformal penalty regularization procedure is presented as the following problem.
Problem 4.3 (Conformal penalty regularization).
Given a fixed and an oriented surface immersion with outward unit normal field , solving the conformally-penalized mesh regularization problem amounts to finding a function and a Lagrange multiplier , so that the new immersion is the solution to
[TABLE]
*Formulated weakly, the goal becomes to find a new immersion and a multiplier which satisfy the system *
[TABLE]
for all .
Solving Problem 4.3 at each step of the p-Willmore flow inhibits the computer simulation from breaking arbitrarily, at the expense of potentially altering the flow solution at each time step. To be sure, without such a procedure in place it is not unusual for global minimizers to remain computationally out-of-reach, as is shown in Figure 9. Moreover, Figure 7 demonstrates how this regularization is useful even for stationary surfaces, as it greatly improves the quality of (perhaps very irregular) surface meshes. The practical discretization of both this system and the p-Willmore system in Problem 3.5 will be discussed in the next sections.
5. Discretization of model systems
Discretization of the models in Problem 3.5 and Problem 4.3 will now be discussed. In particular, specifics of the spatial and temporal discretization are presented, leading to appropriate discrete versions of the continuous problems above. Moreover, some insight is given into the treatment of nonlinearities, and the main algorithm of this work is given.
As in (Dziuk and Elliott, 2013), the smooth surface is assumed to be approximated by a polygonal surface consisting of 2-simplices (triangles) that are not degenerate, so that
[TABLE]
forms an admissible triangulation of . Denoting the nodes of this triangulation by , the standard nodal basis on satisfies . The space of piecewise-linear finite elements on is then denoted
[TABLE]
where denotes the space of linear polynomials on .
Now, suppose the simplices have maximum diameter with inner radius bounded from below by for some . Then, for any choice of unit normal there is so that points in the tube of radius delta around can be expressed as
[TABLE]
where lies on and . It is assumed that is contained in this tube, so that any function defined on the discrete surface can be lifted to a function on the smooth surface by requiring
[TABLE]
Denote the inverse process by . In this notation, the lift of the finite element space is denoted
[TABLE]
and it is possible to compare geometric quantities on and . In particular, let denote the induced metric on , denote identity on , and denote the discrete mean curvature vector defined through the relationship
[TABLE]
where is understood to mean the derivative operator with respect to the surface and is the area element with respect to the metric . Then, there are the discrete area and volume functionals
[TABLE]
and the discrete -Willmore functional is defined to be
[TABLE]
Moreover, if is understood to be a linear operator on the tangent space , the discrete conformal distortion functional can be defined as
[TABLE]
These definitions are seen to yield a reasonable spatial discretization of the continuous Problems 3.5 and 4.3, but it remains to discuss their time-dependent aspect as well. A reasonable strategy for the temporal discretization of complicated nonlinear PDEs on evolving surfaces is to linearize the problem at each time step, effectively pushing the nonlinearities into the temporal domain. This is the strategy of (Dziuk, 2008; Dziuk and Elliott, 2013). Though such formulations enjoy many of the benefits of their linear counterparts, they typically require a very small time step and are less robust to round-off errors as well as other sources of numerical instability. Therefore, the present strategy for discretizing the p-Willmore flow Problem 3.5 is to “center” the discretization in time, except for some isolated terms for which this is problematic. Though this approach will still produce a numerical scheme which is first-order in time, it is seen to significantly improve the stability of the fully-discrete p-Willmore flow. To describe this idea more precisely, let be a fixed temporal stepsize, and denote . Consider that at time step , the images of and are the old resp. new surfaces and . Therefore, will denote the central surface defined by the immersion , and a field quantity defined on each surface will have the central counterpart . Additionally, and will now be used to denote discretized operators with respect to the metric on the central surface. With this, running the discrete p-Willmore flow with constraint is presented as the following problem.
Problem 5.1 (Discrete p-Willmore flow with constraint).
*Let be as in Problem 3.5. Given the discrete data at time , the p-Willmore flow problem is to find functions u_{h}^{k+1},Y_{h}^{k+1},W_{h}^{k+1},\lambda_{h},{\color[rgb]{0,0,0}\gamma_{h}} which satisfy the system of equations *
[TABLE]
for all .
Remark 5.2.
Similar to the continuous situation, the case can be handled by omitting equations (15), (16) and replacing equation (18) with
[TABLE]
To further explain the heuristic behind Problem 5.1, first recall that the identity holds in the continuous setting. Therefore, as in (Dziuk, 2008) the divergence of has been discretized as
[TABLE]
which improves numerical stability. Moreover, the terms and have been discretized fully-implicitly in the interest of moving closer to a second-order time discretization. On the other hand, the term is ill-behaved when not taken explicitly, so it has been discretized with respect to the old data . Note that, in any case, differentiation and integration are done with respect to the central surface , which greatly improves the results.
Moreover, it is reasonable to consider (16) and (17) as a central discretization of the constraint equations (9) and (10). To see this, first observe that
[TABLE]
where the second line uses the tangential/normal decomposition of the ambient divergence operator and the fact that is the identity matrix. Therefore, since area preservation can be enforced by requiring zero change between the areas of and , a reasonable condition for area-preservation is
[TABLE]
which is (16). Similarly, the condition for volume preservation becomes
[TABLE]
which is expression (17).
Of course, the conformal penalty regularization Problem 4.3 can also be discretized in a similar fashion. Though this problem is not necessarily time-dependent, it is advantageous to treat it somewhat implicitly so that the tangent bundle of the regularized mesh “fits together” in a smoother fashion. Indeed, there is no reason to expect that sliding the mesh points of the initial surface along individual tangent planes will produce a new distribution which is itself integrable, so a semi-implicit discretization tends to produce better results in this case. To that end, let be the old resp. new immersions of as in Problem 4.3, and let resp. be their respective normal vector fields. Moreover, let denote the “central” normal field. The discretized mesh regularization procedure then proceeds as follows.
Problem 5.3 (Discrete conformal penalty regularization).
Let be fixed, let be as in Problem 4.3, and let be as above. Given , solving the discrete conformal penalty regularization problem means finding functions which satisfy the system
[TABLE]
for all and where refers to the discretization on the known surface of the analogous quantity in Problem 4.3), which involves components of the known normal and derivatives of the unknown immersion , computed with respect to .
Note that Problem 5.3 is nonlinear, but only because the normal vector field arising from the surface preservation constraint has been taken centrally. Therefore, as mentioned in Remark 1.2, the conformal penalty regularization procedure can be easily modified by replacing with , yielding a linear system of equations. This provides a tradeoff between mesh quality and computational time, as illustrated in Figure 3.
Now that the relevant continuous problems have been discretized, it is appropriate to give the full algorithm for running the p-Willmore flow with conformal penalty. First, recall that when given an immersion at time step it is necessary to compute the curvature data . This is accomplished through the solution of two consecutive linear systems:
[TABLE]
Note that, although the weighted mean curvature vector is defined pointwise as , equation (20) computes in a weak sense. The reason for this is because the solution to (20) is often more smoothly distributed across the surface than the interpolated quantity stored pointwise at vertices, which leads to better numerical behavior during simulation.
Algorithm 2 is the full procedure developed here for studying the computational p-Willmore flow of closed surfaces. Though Problems 5.1 and 5.3 can certainly be used independently of each other, their combination as above provides a nice tool which leads to the variety of flow simulations seen presently. Before discussing potential applications of this algorithm, it is important to discuss its stability. Though precise analysis of the fully-discrete systems in Algorithm 2 has not yet been done, it is easy to verify empirically that the energy-decreasing property of the continuous system (c.f. Theorem 3.4) is preserved by the chosen discretization. An example of this is demonstrated in Figure 10, which shows experimental results for the p-Willmore flow applied to the mesh in Figure 2. As expected, the energy decreases monotonically in every case, suggesting that the fully-discrete flow is indeed numerically stable. Moreover, notice that the conformally-invariant 2-Willmore flow levels off at ( times the theoretical minimum, c.f. Remark 2.3), while the MCF and 4-Willmore flows decrease indefinitely.
On the other hand, it is clear from experimentation that stability for Algorithm 2 can hold only in a conditional sense. Even though the discrete scheme used is essentially implicit, a restriction on the temporal step size is necessary for reasonable results. This is expected, in general, since integration is performed on a surface (mesh) whose evolution is solution-dependent; a large time step will easily generate entanglements which cause the mesh to crumple and invert. In fact, this is precisely what motivated the regularization Problem 5.3. Since an evolving surface may change its shape dramatically over time, intermediate regularization is necessary to prevent failure caused by numerical degeneration along the flow.
Empirically, it is seen that are quite robust to changes in the temporal step-size, but values of produce simulations that are noticeably more sensitive. As illustrated in Table 1, the simulations for 4-Willmore flow tend to require a much smaller step-size and a much larger amount of iterations to converge. However, it is also observed that the p-Willmore flow with conformal penalty is relatively independent of mesh resolution; for a fixed and a temporal step-size that is stable on a coarse mesh, appears to remain stable on any refinement of that mesh. This desirable property is suspected to come from the regularization in Problem 5.3, which ensures that mesh elements do not become too heavily distorted during the p-Willmore flow. Indeed, this is reflected in Figure 9, where the regularization prevents mesh elements from degenerating, even as the area and volume are both constrained. The next section will discuss some specifics regarding the implementation of Algorithm 2, as well as how it can be applied to navigate a common problem in computer graphics.
6. Implementation and application
6.1. Implementation
In brief, the nonlinear systems in Problems 5.1 and 5.3 are solved through a two-iteration Newton scheme, using a -order tensor product quadrature rule to evaluate the relevant integrals. To elaborate, consider the process of solving Problem 5.1, and denote . Then, a solution to the discrete p-Willmore flow system can be formally represented as a solution to the equation
[TABLE]
where is an operator representing the nonlinear residual of the p-Willmore system. Let be a trial solution, and let represent the tangent operator (or Jacobian) of in , evaluated through
[TABLE]
Then, Newton iteration involves the procedure
[TABLE]
which is typically repeated until the residual quantity drops below a predefined tolerance value. Newton iteration is known to exhibit quadratic convergence provided that the initial guess is sufficiently close to the true solution. In the case of Algorithm 2, only two iterations of each nonlinear system in Problems 5.1 and 5.3 are performed at each time step, which is sufficient to produce a small residual and negligible change between successive solutions.
Moreover, note that symbolic differentiation of is cumbersome for the particular problems considered here, due to the presence of integrals evaluated on the evolving surface . Though approximate evaluation of is of course possible (by e.g. neglecting the motion-dependent nature of some terms or using approximate differentiation methods), it is advantageous to compute the exact Jacobian so that less error is introduced at each step. This is accomplished presently with fast reverse automatic differentiation as described in (Hogan, 2014). Automatic differentiation techniques use the chain rule along with backpropagation to numerically evaluate the derivatives of a specified function. In particular, since the derivative of a composite function involves a product of terms which are sequentially computable through elementary arithmetic operations, repeated application of the chain rule can be used to accurately evaluate derivatives of arbitrary order. The implementation here uses the Adept library, which enables algorithms written in C and C++ to be automatically differentiated with an operator overloading strategy. In addition, the solution of all linear systems necessary for Algorithm 2 is performed using the direct solver found in the MUMPS library (Amestoy et al., 2001, 2006).
It is worth mentioning that a viable alternative to this approach would be to pull every integral expression in Problems 5.1 and 5.3 back to an “original” parametrization domain , which avoids differentiation on a moving surface. While this greatly complicates the formulation, it has the advantage of allowing for the Jacobian to be evaluated using purely symbolic differentiation. However, for Algorithm 2 this approach is not at all necessary, and automatic differentiation is found to be optimal for producing good results. Therefore, the present approach has been chosen for its higher clarity of formulation, as well as its relative ease of numerical implementation.
6.2. Application: mesh editing
Many algorithms in computer graphics are sensitive to the quality of their initial surface data, and (as seen with the p-Willmore flow) a poor mesh can frequently cause numerical failure independent of the actual geometry involved. To add to the library of techniques which address this problem, consider the application of Algorithm 2 with the goal of improving mesh quality. It is seen that running a short p-Willmore flow followed by the conformal penalty regularization procedure will often produce a surface that is very close to the original, but with a better quality triangulation. For example, Figure 1 (picture 2) shows the result of one iteration of Algorithm 2 with and a very small stepsize. Notice that the change in surface geometry is quite small, while the mesh has been significantly improved. Similarly, Figure 11 shows the result after one linear 2-Willmore iteration followed by two-step nonlinear conformal penalty regularization. Here the original and remeshed surfaces can hardly be distinguished by eye, though the new triangulation is again much more regular. Further, Figures 3 and 7 show the effects of conformal penalty regularization without any p-Willmore flow, which requires much less compute time. In every case, the initial mesh is significantly improved with only slight changes to the surface geometry.
On the other hand, the p-Willmore flow may also find utility in computer animation, as it can be used to dramatically alter the geometry of an object in a prescribed way. In particular, detailed objects with sharp features will evolve under the p-Willmore flow to minima that are as round as possible, which could be desirable when modeling fluids. Moreover, Figures 2 and 12 show that the value of has a significant effect on the flow behavior, though this is not surprising. Since the functional measures the power of , regions of high curvature are weighted increasingly with the value of . This is why regions of high curvature tend to “round out” faster when is large (c.f. Figure 12), which may be desirable if the goal is to evolve more prominent features before affecting others that are less pronounced.
Conclusion:
The p-Willmore flow with conformal penalty provides a unified computational treatment of gradient flows which arise from functionals which depend exponentially on the unsigned mean curvature. The algorithm presented here provides a new device for visualizing the p-Willmore flow of closed surfaces subject to natural constraints on surface area and enclosed volume. Besides extending known methods for computing the Willmore flow, it is seen that the conformal penalty regularization procedure inherent in this algorithm allows for certain computational surfaces to evolve to minima that would otherwise be unreachable. Moreover, this regularization can be applied to stationary immersions as well, significantly improving mesh quality with only minor changes to the surface itself. Avenues for future work include a more rigorous study of the consistency, stability, and convergence of the p-Willmore flow under mesh refinement, as well as a computer implementation that is more robust to rough data.
Acknowledgements.
The authors would like to acknowledge Dr. Magdalena Toda and Dr. Hung Tran for their suggestions regarding numerical models for the p-Willmore flow, and Dr. Giorgio Bornia who assisted with the implementation of .stl and .ply files in the FEMuS library. Moreover, we would like to thank the anonymous reviewers for their careful attention and helpful feedback. The original meshes in Figures 1, 3, 5, 7, 8, 11 are courtesy of Keenan Crane (Figure 1), Microsoft (Figure 5), and the AIM@SHAPE repository (rest). The texture in Figure 8 is courtesy of
www.myfreetextures.com. The research of the second author was partially supported by the NSF grant DMS-1912902.
Appendix A Theorem 4.1 implies Cauchy-Riemann
We show that when are Cartesian coordinates on and is an immersion of the -coordinate plane, the equation expresses the traditional Cauchy-Riemann equations on . To see this, let
[TABLE]
and consider any constant vector field on , say . Clearly , so
[TABLE]
Since is normal to the immersion at each point, it follows that
[TABLE]
This expression implies the classical Cauchy-Riemann equations,
[TABLE]
and it is evident that the expression
[TABLE]
measures the failure of these equations to hold. This reflects the fact that, in general, is an “almost-complex structure” on , and an immersion which satisfies the above is “almost holomorphic”.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1(1)
- 2Amestoy et al . (2001) P. R. Amestoy, I. S. Duff, J. Koster, and J.-Y. L’Excellent. 2001. A Fully Asynchronous Multifrontal Solver Using Distributed Dynamic Scheduling. SIAM J. Matrix Anal. Appl. 23, 1 (2001), 15–41.
- 3Amestoy et al . (2006) P. R. Amestoy, A. Guermouche, J.-Y. L’Excellent, and S. Pralet. 2006. Hybrid scheduling for the parallel solution of linear systems. Parallel Comput. 32, 2 (2006), 136–156.
- 4Athukorallage et al . (2015) B. Athukorallage, G. Bornia, T. Paragoda, and M. Toda. 2015. Willmore-type energies and Willmore-type surfaces in space forms. JP Journal of Geometry and Topology 18, 2 (2015), 93.
- 5Aulisa et al . (2014) E. Aulisa, S. Bna, and G. Bornia. 2014. FE Mu S Finite Element Multiphysics Solver. https://github.com/eaulisa/My FE Mu S
- 6Barbosa et al . (2012) J. L. Barbosa, M. Do Carmo, and J. Eschenburg. 2012. Stability of hypersurfaces of constant mean curvature in Riemannian manifolds. In Manfredo P. do Carmo–Selected Papers . Springer, 291–306.
- 7Bobenko (2008) A. Bobenko. 2008. Discrete differential geometry . Vol. 38. Birkhäuser Basel.
- 8Bobenko and Schröder (2005) A. I. Bobenko and P. Schröder. 2005. Discrete Willmore flow. In ACM SIGGRAPH 2005 Courses . Eurographics Association, 5–es.
