Discrete Exterior Calculus - Anil N. Hirani
Discrete Exterior Calculus - Anil N. Hirani
Discrete Exterior Calculus - Anil N. Hirani
Thesis by
Anil N. Hirani
2003
(Defended May 9, 2003)
ii
c 2003
Anil N. Hirani
All Rights Reserved
iii
For
my parents Nirmal and Sati Hirani
my wife Bhavna and daughter Sankhya.
iv
Acknowledgements
I was lucky to have two advisors at Caltech – Jerry Marsden and Jim Arvo. It was Jim who convinced me to
come to Caltech. And on my first day here, he sent me to meet Jerry. I took Jerry’s CDS 140 and I think after
a few weeks asked him to be my advisor, which he kindly agreed to be. His geometric view of mathematics
and mechanics was totally new to me and very interesting. This, I then set out to learn.
This difficult but rewarding experience has been made easier by the help of many people who are at
Caltech or passed through Caltech during my years here. After Jerry Marsden and Jim Arvo as my advisors,
the other person who has taught me the most is Mathieu Desbrun. It has been my good luck to have him as
a guide and a collaborator. Amongst the faculty here, Al Barr has also been particularly kind and generous
with advice. I thank him for taking an interest in my work and in my academic well-being.
Amongst students current and former, special thanks to Antonio Hernandez for being such a great TA
in CDS courses, and spending so many extra hours, helping me understand so much stuff that was new to
me. Thanks also to the many Mathematics department TAs who had to suffer my incessant questioning in all
those maths courses. It wasn’t easy being an outsider in those courses, but they made the task easier. Thanks
to Sameer Jalnapurkar for giving me his fabulous notes on everything that is relevant; Dong-Eui Chang for
teaching me how to take fancy derivatives; Eitan Grinspun for his wit, politeness and for the chance to work
with him on discrete shells; Yiying Tong for collaboration on vector field decomposition; Mark Meyer for
doing so many things that were a precursor to the work in this thesis; Paul Penzes for the afternoon badminton
sessions; Adam Granicz and David Wei for being such nice and considerate current officemates and Eric Bax
for being such a peaceful and nice former officemate.
For the work in this thesis, I thank first of all the members of my Ph.D. committee – Jerrold E. Marsden
(chair), James Arvo, Mathieu Desbrun, Michael Ortiz and Peter Shcröder. Thanks to Jenny Harrison and
Alan Weinstein for taking an interest and pointing out several important issues to me; Alexander Givental for
reading parts of my thesis and giving me useful comments, and also for his exceptional teaching style – it
was a pleasure to sit in his classes when he spent some time at Caltech; Melvin Leok for collaboration and for
pointing out some important papers in the field; Arash Yavari for discussions and reading early versions of the
thesis. As I was finishing up I had the pleasure to work with Marco Castrillon and Antonio Fernandez who
were visiting Caltech around my defense time. They pointed out mistakes, and pointed out new directions,
even as this thesis was being written.
v
Thanks to my parents Nirmal and Sati, for instilling the respect and love for education and scholarship.
That upbringing made it so natural to leave the software industry, even when the internet craze was starting,
and return to academia. Thanks to my little daughter Sankhya, for making the evenings of last 4 years so
much fun. In her first 2 years of life she also taught me how to stay up all night! As for my wife Bhavna,
I cannot begin to thank her enough. I thank her for accepting this student life and agreeing to share the
uncertainty of academic life. I thank her for the moral support and love through the years. And for making
most of the figures that appear in this thesis. Thanks !
Finally, I want to thank Jerry Marsden again, for suggesting the problem of developing a discrete exterior
calculus – in what turned out to be September of my final year. It made these last few months very exciting.
The result is what this thesis is about.
This research was partially supported by NSF ITR grant ACI-0204932, and NSF Career Award CCR9876332.
vi
Abstract
The language of modern mechanics is calculus on manifolds, and exterior calculus is an important part of that.
It consists of objects like differential forms, general tensors and vector fields on manifolds, and operators that
act on these. While the smooth exterior calculus has a long history going back to Cartan, Lie, Grassmann,
Hodge, de Rham and many others, the need for a discrete calculus has been spurred on recently by the need
to do computations.
This thesis presents the beginnings of a theory of discrete exterior calculus (DEC). This is motivated by
potential applications in computational methods for field theories (elasticity, fluids, electromagnetism) and in
areas of computer vision and computer graphics. One approach to approximating a smooth exterior calculus
is to consider the given mesh as approximating some smooth manifold at least locally, and then defining
the discrete operators by truncating the smooth ones. Another approach is to consider the discrete mesh
as the only given thing and developing an entire calculus using only discrete combinatorial and geometric
operations. The derivations may require that the objects on the discrete mesh, but not the mesh itself, are
interpolated. It is this latter route that we have taken and this leads to a discrete exterior calculus.
Our theory includes not only discrete equivalents of differential forms, but also discrete vector fields and
the operators acting on these objects. General tensors are not developed, though we suggest a possible way to
do that towards the end. The presence of forms and vector fields allows us to address the various interactions
between forms and vector fields which are important in applications. With a few exceptions, most previous
attempts at discrete exterior calculus have addressed only differential forms, or vector fields as proxies for
forms. We also show that the circumcentric dual of a simplicial complex plays a useful role in the metric
dependent part of this theory. The importance of dual complexes in this field has been well understood, but
with a few exceptions previous researchers have used barycentric duals.
The use of duals is reminiscent of the use of staggered meshes in computational mechanics. The appear-
ance of dual complexes leads to a proliferation of the operators in the discrete theory. For example there are
primal-primal, primal-dual etc. versions of many operators. This is of course unique to the discrete side.
In many examples we find that the formulas derived from our discrete exterior calculus are identitical to the
existing formulas in literature.
We define discrete differential forms in the usual way, as cochains on a simplicial complex. The discrete
vector fields are defined as vector valued 0-forms, and they live either on the primal, or on the dual vertices.
vii
We then define the operators that act on these objects, starting with discrete versions of the exterior derivative,
codifferential and Hodge star for operating on forms. A discrete wedge product is defined for combining
forms; discrete flat and sharp operators for going between vector fields and one forms; and discrete interior
product operator and Lie derivatives for combining forms and vector fields. The sharp and flat allow us to
define various vector calculus operators on simplicial meshes including a discrete Laplace-Beltrami operator.
Our development of the theory is formal in that we do not prove convergence to a smooth theory. We have
tried instead to build a discrete calculus that is self -consistent and parallels the smooth theory. The discrete
operator should be natural under pullbacks, when the smooth one is, important theorems like the discrete
Stokes’ theorem must be satisfied, and the operators should be local. We then use these operators to derive
explicit formulas for discrete differential operators in specific cases. These cases include 2-surfaces in R3
built with irregular triangles, regular rectangular and hexagonal meshes in the plane, and tetrahedralization
of domains in R3 . At least in these simple but important examples we find that the formula derived from our
discrete exterior calculus is identitical to the existing formula in the literature.
Numerical methods similar to those based on a discrete exterior calculus have been used in many physi-
cal problems, for example, in areas like electromagnetism, fluid mechanics and elasticity. This is due to the
geometric content of many physical theories. In this thesis we give a glimpse into three fields of discrete,
geometric computations, which we have developed without an exterior calculus framework. These are ex-
amples of areas which are likely to benefit from a working DEC. They include discrete shells, a Hodge type
decomposition of discrete 3D vector fields on an irregular, simplicial mesh, and template matching.
One potential application of DEC is to variational problems. Such problems come equipped with a rich
exterior calculus structure and so on the discrete level, such structures will be enhanced by the availability of
a discrete exterior calculus. One of the objectives of this thesis is to fill this gap. An area for future work,
is the relationship between multisymplectic geometry and DEC. There are many constraints in numerical
algorithms that naturally involve differential forms, such as the divergence constraint for incompressibility of
fluids. Another example is in electromagnetism since differential forms are naturally the fields in that subject,
and some of Maxwell’s equations are expressed in terms of the divergence and curl operations on these fields.
Preserving, as in the mimetic differencing literature, such features directly on the discrete level is another one
of the goals, overlapping with our goals for variational problems.
In future work we want to make a cleaner separation of metric independent and metric dependent parts of
DEC. For example, the wedge product, pairing of forms and vector fields, interior product and Lie derivative,
should all be metric independent. Divergence should depend on the metric, only through the appearance of
volume form. The metric should play a role only in the definition of sharp and flat operators. In this thesis,
we don’t always make this distinction and sometimes use identities from smooth theory, where the metric
dependence cancels. It is not clear that the same cancellation happens on the discrete side. In these cases we
have also tried to give at least a partial development of a metric independent definition.
In this thesis we have tried to push a purely discrete point of view as far as possible. In fact, in various
viii
parts of the thesis we argue that this can only be pushed so far, and that interpolation is a useful device for
developing DEC. For example, we found that interpolation of functions and vector fields is a very convenient
device for understanding and deriving a discrete theory involving functions and vector fields. This naturally
leads to the next step, that of interpolation of higher degree forms, for example using Whitney map. This is
the methodology that is quite common in this field. In future work we intend to continue this interpolation
point of view, especially in the context of the sharp, Lie derivative and interior product operators. Some
preliminary ideas on this point of view are spread throughout the thesis.
ix
Contents
Acknowledgements iv
Abstract vi
1 Introduction 1
1.1 Results of This Thesis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1.2 The Objects in DEC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.3 History and Previous Work . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1.4 How This Thesis is Organized . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
1.5 Increasing Role of Interpolation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
7 Wedge Product 71
7.1 Primal-Primal Wedge . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
7.2 Alternative Primal-Primal Wedge . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
7.3 Summary and Discussion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
9 Other Work 87
9.1 Template Matching . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
9.2 Discrete Shells . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
9.3 Discrete Multiscale Vector Field Decomposition . . . . . . . . . . . . . . . . . . . . . . . . 89
9.4 Regular Nonsimplicial Meshes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92
9.5 General Discrete Tensors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95
9.6 Summary and Discussion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95
1
Chapter 1
Introduction
This thesis presents the beginnings of a theory of discrete exterior calculus (DEC), motivated by potential
applications in computational methods for field theories (elasticity, fluids, electromagnetism), and in areas
of computer vision and computer graphics. This theory has a long history that we shall outline below in
Section 1.3, but we aim at a comprehensive, systematic, as well as useful, treatment. Many previous works,
as we shall review, are incomplete in terms of the objects and operators that they treat.
One approach to approximating a smooth exterior calculus is to consider the given mesh as approximating
some smooth manifold at least locally, and then defining the discrete operators by truncating the smooth ones.
Another approach is to consider the discrete mesh as the only given thing and developing an entire calculus
using only discrete combinatorial and geometric operations. The derivations of the operators may require that
the objects on the discrete mesh, but not the mesh itself, are interpolated. It is this latter route that we have
taken and this leads to a discrete exterior calculus. General views of the subject area of DEC are common
in the literature (see, for instance, Mattiussi [2000]), but they usually stress the process of discretizing a
continuous theory and the overall approach is tied to this goal. However we take the point of view that the
discrete theory can stand in its own right.
Applications to Variational Problems. One application is to variational problems. These arise naturally
in mechanics and optimal control. In addition many problems in computer vision, image processing and
computer graphics can also be posed naturally as variational problems. Some examples are template match-
ing, image restoration, image segmentation and computation of minimal distortion maps. See, for example,
Hirani et al. [2001]; Paragios [2002]; Gu [2002]; Desbrun et al. [2002]. Key ingredients for computations
involving variational principles, at least in mechanics, are variational integrators designed for the numerical
integration of mechanical systems, as in Lew et al. [2003]. These algorithms respect some of the key features
of the continuous theory, such as their (multi)symplectic nature and exact conservation laws. They do so
by discretizing the underlying variational principles of mechanics rather than discretizing the equations. It
is well known (see the reference just mentioned for some of the literature) that variational problems come
equipped with a rich exterior calculus structure and so on the discrete level, such structures will be enhanced
2
by the availability of a discrete exterior calculus. One of the objectives of this thesis is to fill this gap.
Structured Constraints. There are many constraints in numerical algorithms that naturally involve differ-
ential forms, such as the divergence constraint for incompressibility of fluids. Another example is in electro-
magnetism, since differential forms are naturally the fields in that subject, and some of Maxwell’s equations
are expressed in terms of the divergence and curl operations on these fields. See Hehl and Obukhov [2000] for
electromagnetism using differential forms. Preserving, as in the mimetic differencing literature, such features
directly on the discrete level is another one of the goals, overlapping with our goals for variational problems.
Methodology. We believe that one way to proceed with this program is to develop a calculus on discrete
manifolds which parallels the calculus on smooth manifolds. Indeed one advantage of developing a calculus
on discrete manifolds is pedagogical. By using concrete examples of discrete two- and three-dimensional
spaces one can explain most of discrete calculus at least formally. The machinery of Riemannian manifolds
and general manifold theory from the smooth case is, strictly speaking, not required in the discrete world.
The technical terms that will be used in the rest of this introduction will be defined in subsequent sections,
but they should be already familiar to someone who knows the usual exterior calculus on smooth manifolds.
Chapters 6 and 7 of Abraham et al. [1988] are a good standard reference.
Our development in this thesis is formal, in the sense that we choose appropriate geometric definitions
of the various objects and quantities involved. We do not prove that these definitions converge to the smooth
counterparts. The definitions are chosen so as to make some important theorems like the generalized Stokes’
theorem true by definition, to preserve naturality with respect to pullbacks, and to ensure that operators are
local. Often, an interpolation of objects is involved in reaching the discrete definition. In the cases where
previous results are available, we have checked that the operators we obtain match the ones obtained by other
means such as variational or other derivations. A proper study of convergence is clearly needed in the future
after we have had some numerical experience with DEC.
We use circumcentric duals of simplicial complexes in the metric parts of our theory. The importance
of dual complexes in this field has been well understood, but most previous researchers have used barycen-
tric duals. We show that circumcentric duals play a role in arriving at the metric dependent parts of a DEC
theory. This includes the sharp and flat operators for going between vector fields and forms, and the Hodge
star for operating on forms. The usefulness of circumcentric duality in these cases stems from the fact that
the property of being normal to boundary comes automatically with circumcentric duality. This makes the
expressions for fluxes very easy in terms of geometric objects like the dual cells. Indeed the importance of
circumcentric duals in this context has also been known in some communities such as the mimetic differenc-
ing. But that has usually been for flat two- or three-dimensional logically rectangular meshes and only scalar
and vector fields appear in that literature.
While most of the thesis is about discrete exterior calculus on a single discrete manifold we define discrete
pullback between two complexes. Multiple meshes are important in applications where the mesh is changing,
but the discrete pullback is important even for picking the right definition on a single complex in some cases.
This is because it provides the criterion of naturality for discrete operators, i.e., commuting with pullback,
which is important for a full calculus on manifold. This was pointed out to us very recently by Marco
Castrillon and Jerry Marsden.
We argue in this thesis, that interpolation of objects is important for developing DEC. We use interpolation
of 0-forms and vector fields viewed as vector valued 0-forms and argue that the proper development of sharp
operator, and consequently of gradient and curl, requires the interpolation of 1-forms. In the Chapter on
interior product and Lie derivative we argue that the interpolation of forms plays a crucial role in the derivation
of discrete version of these operators. But we do not carry out this program of interpolation of higher degree
forms in this thesis, leaving it for future work.
The discrete manifolds we work with are manifold-like oriented simplicial complexes (however we also
show how DEC generalizes some finite-difference formulas on regular non-simplicial meshes). We will recall
the standard formal definitions in Section 2.1 but familiar examples of simplicial complexes are meshes of
triangles embedded in R3 and meshes made up of tetrahedra occupying a portion of R3 . We will assume
that the angles and lengths on such discrete manifolds are computed in the embedding space RN using the
standard metric of that space. In other words in this thesis we do not address the issue of how to discretize
a given smooth Riemannian manifold and how to embed it in RN since there may be many ways to do this.
For example, SO(3) can be embedded in R9 with a constraint or in R4 using quaternions. For the purposes
of exterior calculus, only local metric information is required, and we will comment in Section 2.8 on how to
address the issue of embedding in a local fashion. We emphasize that we do not need a global embedding of
the discretized manifold, since the operators of DEC are local, and intrinsic. For simplicity of presentation
we don’t always stress this point and often write as if a global embedding has been given.
Many of the authors cited above, for example, Bossavit [2002b], Sen et al. [2000], Hiptmair [2002b,a],
also introduce the notions of dual complexes in order to introduce the Hodge star operator. With the exception
of Hiptmair, they mostly use barycentric duals. This works fine if one develops a theory of discrete forms
and does not introduce discrete vector fields. We show later that to introduce discrete vector fields into the
theory the notion of circumcentric duals seems to be convenient.
Other authors, such as Moritz [2000]; Moritz and Schwalm [2001]; Schwalm et al. [1999, 2001] have
incorporated vector fields into the cochain based approach to exterior calculus by identifying vector fields
with cochains, and having them supported on the same mesh. This may make it harder to encode physically
relevant phenomena such as fluxes across boundaries that are important in some applications.
Another approach to a discrete exterior calculus is in Dezin [1995]. He defines a one-dimensional dis-
cretization of the real line in much the same way we would. However to generalize to higher dimensions he
introduces a tensor product of this space. This results in logically rectangular meshes. Our calculus however
is over simplicial meshes. A further difference is that like other authors in this field, Dezin [1995] does not
introduce vector fields into his theory. A related effort for three-dimensional domains with logically rectan-
gular meshes is that of Mansfield and Hydon [2001], who established a variational complex for difference
equations by constructing a discrete homotopy operator. In Harrison [1993, 1999] one finds the development
of a discrete calculus by extending the permitted domains of integration to include nonsmooth and fractal
spaces. These papers not only develop a part of discrete calculus but also discuss convergence issues. Be-
sides the exterior derivative, a Hodge star and Laplace-Beltrami are also defined in Harrison [1999] for very
general spaces.
In computer graphics Meyer et al. [2002] define, for simplicial meshes, discrete differential geometry
operators and vector calculus operators like Laplace-Beltrami. Recently Gu [2002] has done some very
interesting work in applying homology and cohomology theory for some applications in graphics, such as,
finding global conformal maps for arbitrary genus surfaces. However, they do not develop a discrete exterior
calculus. For instance, their wedge product is the standard one (cross product) in R3 .
Mimetic discretization (Hyman and Shashkov [1997a]) is a successful development of finite-difference
and finite-volume type methods that satisfy various theorems like Stokes’ theorem. It has been applied to
a variety of physical problems. Once again, it is a theory that has been developed for forms only or vector
fields as proxies for forms. Also, most of those methods seem to be for flat meshes. Moreover, we conjecture
that a generalization of DEC for non-simplicial meshes will bring DEC and mimetic discretization closer,
except that in addition one will have a theory of forms and fields with all the attendant operators, and have it
for non-flat meshes as well. With the current version of DEC we have already made a start towards this, for
simplicial meshes.
6
was obvious when we considered sharp operator on 1-forms and interior product and Lie derivative. With the
strictly discrete point of view, one can get quite far, but not all the way, it seems. We argue in this thesis that
the development of a sharp, gradient, interior product and Lie derivative requires the interpolation of one and
higher degree forms. The full development of this interpolation point of view is for future work.
One track for our future work, is the usual Whitney interpolation idea, studied by so many other authors.
This is to interpolate forms using Whitney forms and then use the smooth operators. But we intend to use it
to define operators like Lie derivative, that others have not explored. Another track we intend to explore, is if
we can build higher degree forms, defined everywhere on the complex, from 1-forms. This is along the same
lines as our preliminary suggestion to build general tensors by using tensor products of 1-forms as mentioned
in Section 9.5.
Even while knowing the limitations of a purely discrete approach, in this thesis, we try to push the purely
discrete point of view as far as possible. This is done, in part to expose the parts of DEC where interpolation
is clearly the way to go. We have tried to include the basic ideas about interpolation at various places in the
thesis, in preparation for our future work along this direction. This approach can be called a finite element
approach to DEC. Here, the discretization of forms via the de Rham map of Section 3.3 takes a back seat
and the interpolation of forms via Whitney maps or other means becomes more prominent. The operators are
defined on interpolated forms, by using the smooth definitions where possible.
Various interpolation schemes can then be studied, including higher order ones. Building a higher order
DEC requires that one find a closed way to construct higher degree forms from discrete 1-forms that are
quadratic or higher order accurate. In any case, even in the lowest order case, with this interpolation, or
finite element approach, there is no longer any need to define operators using metric information when the
smooth operators do not depend on the metric. This simplifies the presentation of DEC which can then be
organized into the metric-independent part like exterior derivative, wedge, interior product and Lie derivative,
and the metric dependent part like sharp and flat. It is quite possible, as happened in the case of flat, that the
interpolation based definition of some operators will eventually result in a purely discrete definition. This is
because the operators are all local and many involve derivatives. The identities from smooth theory that we
were forced to adopt as definitions in some cases, then become theorems in such a discrete theory.
The detailed exploration of such an interpolation based DEC, in which interpolation of higher degree
forms, and not just of 0-forms, plays a prominent role, is left for our immediate future work.
8
Chapter 2
Results: In our formulation of discrete exterior calculus, K, an oriented manifold-like simplicial complex
(defined below) discretizes a portion of M , the triangulable Riemannian n-manifold of interest. The starting
point for our calculus is the given complex K. In this chapter we give basic definitions related to simpli-
cial complexes and their dual cell complexes and orientations of these. We have found a simple geometric
interpretation of orientation of duals which we give in this chapter. In contrast, in algebraic topology the
definition of dual orientation usually requires some knowledge of homology and relative homology theory.
The requirement of orientability may not be a problem in practice. This is because the operators in DEC are
local and any point of an n-manifold is in an open set that is homeomorphic to an open set in Rn or in a half
space, in the case of boundary points.
Shortcomings: A complete treatment of DEC should discuss how well K approximates M , and indeed
how K is obtained from M in the first place. It should also include a discussion of how well the discrete
operators approximate the smooth counterparts. But for this one needs to define a topology on the discrete side
so that continuity and convergence can be discussed. This discussion, of discretization and approximation
quality, is something we do not do in this thesis, although it is an important topic for future work. Nevertheless
in Section 2.2 we discuss the idea of discretization at least roughly.
We’ll write σ p = v0 . . . vp . The points v0 , . . . , vp are in RN and are called the vertices of the simplex, and the
number p is called the dimension of the simplex. Any simplex spanned by a (proper) subset of {v0 , . . . , vp }
is called a (proper) face of σ p ; their union is called the boundary of σ p and denoted Bd(σ p ). The interior
of σ p is Int(σ p ) = σ p \ Bd(σ p ) and is also called an open simplex. If σ q is a proper face of σ p , then we
write σ q ≺ σ p . Sometimes we will write σ p as σ when the dimension is understood. By |σ p | we will mean
the p-volume of σ p in RN . For p = 0 this is defined to be 1. The smallest affine subspace of RN containing
σ is called the plane of σ and denoted P(σ). This can be obtained for example, by letting the coefficients µ
above be negative. ♦
(2) The intersection of any two simplices of K is either a face of each of them, or it is empty.
The dimension n of the largest dimensional simplex in K will be called the dimension of K. The union
of simplices of K is a subset of RN and will be called the underlying space of K or the polytope of
K and denoted |K|. We will be only concerned with finite simplicial complexes (a complex with a finite
number of simplices). In a cell complex (also known as CW complex) open simplices are replaced by cells,
which are objects homeomorphic to open balls. See page 5 of Hatcher [2002] for another way to define cell
complexes. ♦
Remark 2.1.3. Topology on underlying space: For a finite complex (the only kind we will consider in
this work) the topology on |K| will be the natural one (subspace topology) induced from RN . For a simplex
σ p of dimension p ≥ 1 the meaning of Int(σ p ) and Bd(σ p ) coincides with the usual topological meanings
of interior and boundary in the topology of |K|. However for p = 0, i.e., for points σ 0 , Int(σ 0 ) = σ 0 and
Bd(σ 0 ) = ∅, since a point has no proper faces (see Def. 2.1.1). However in the topology of |K| a point has
empty topological interior and is its own topological boundary. This special status of a 0-simplex is actually
useful in defining duals as we will do in Def. 2.4.5. Another thing to keep in mind is that the Int(σ p ) for any
dimension p is called an open simplex even though (for example) Int(σ 1 ) in a dimension 2 complex is not an
open set in the subspace topology. For p = n the open simplex Int(σ p ) is indeed an open set. ♦
Definition 2.1.4. A flat (or linear) simplicial complex K of dimension n in RN is one of which all simplices
are in the same affine n-subspace of RN . This coincides with our usual intuition of a flat 2-surface embedded
in R3 . ♦
Definition 2.1.5. A simplicial triangulation of the polytope |K| is any simplicial complex L such that the
union of the simplices of L (i.e., polytope |L|) is the polytope |K|. ♦
Definition 2.1.6. If L is a sub-collection of K that contains all faces of its elements, then L is a simplicial
complex in its own right, and it is called a subcomplex of K. One subcomplex of K is the collection of all
10
simplices of K of dimension at most p, which is called the p-skeleton of K and is denoted K (p) . The closed
star (or one-ring) of a simplex s in K is denoted St s and is the union of all simplices of K having s as a
face. Two p-simplices will be called adjacent of they share a (p − 1)-face. ♦
p p
Definition 2.2.1. Let σM be an abstract simplex on M and a simplex σK be a simplex in K that approximates
it. In order to transfer information (like forms and vector fields) from M to K we will need the exact or
p p
approximate map between the two. We will call such a map πσ : σM → σK a pasting map and assume it is
a smooth map. ♦
Remark 2.2.2. Pasting map as a formal device: We have mentioned above that in applications we may
not even know M exactly. Thus the pasting maps will not be known in these cases. Even if they were,
storing the pasting maps would defeat the idea of discretization. But there is no harm in using them during
discretization. In general they are a formal device allowing one to talk about the transfer of information from
M to K. In practice they may be a procedural scheme or a measurement device allowing one to discretize
smooth information on M . If M is a domain in RN , then it may even be an identity map. ♦
Approximating a portion of M by K means that the metric on K induced from RN approximates the
metric on M in the portion being approximated. The embedding of the simplicial complex into an ambient
space is a computational convenience. For the purposes of the theory, it is only necessary to specify the
connectivity of the mesh in the form of an abstract simplicial complex, along with a local metric on the space
11
of vertices. This is addressed in Section 2.8. Discretization of forms via de Rham map and interpolation of
forms via Whitney maps is addressed in Section 3.3.
Definition 2.3.1. Define two orderings of the vertices of a simplex σ p to be equivalent if they differ from
one another by an even permutation. If p > 0, then the orderings fall into two equivalence classes. Each
of these classes is called an orientation of σ p . An oriented simplex (also written σ p ) is a simplex together
with an orientation. If v0 , . . . , vp are the vertices of σ p , then we’ll use [v0 , . . . , vp ] for the oriented simplex
σ p with the equivalence class of the ordering (v0 , . . . , vp ). A 0-simplex has only one possible ordering so has
no orientation (although it can have an induced orientation defined below). ♦
Definition 2.3.2. Given a simplex σ p with vertices {v0 , . . . , vp }, the ordered collection of vectors (v1 −
v0 , v2 − v0 , . . . , vp − v0 ), which is a basis for the plane P(σ), will be called a corner basis at v0 of the
simplex. The ordered collection (v1 − v0 , v2 − v1 , . . . , vp − vp−1 ), which is also another basis, will be called
polyline basis from v0 of the simplex. ♦
Remark 2.3.3. Simplex orientation using a basis: A simplex σ is a closed connected subset of its plane
P(σ) and of the same dimension as the plane. The plane P(σ) being an affine subspace of RN is oriented in
the usual sense of orientation by an ordered basis or equivalently a volume form. In particular the ordered
corner basis and the polyline basis of the simplex orient the plane and hence the simplex itself. These notions
of orientation via corner and polyline basis coincide with the orientation via permutations defined above. This
means that the partition of the set of simplices into two orientation classes is the same in each case. See, for
example, Lemma 5a on page 360 of Whitney [1957]. Thus orienting a simplex is equivalent to orienting its
plane. From now we will use the word orientation to mean any of these equivalent notions of corner, polyline
or permutation based orientation. ♦
Example 2.3.4. Oriented simplices: Consider 3 non-collinear points v0 , v1 and v2 in R2 labeling the
vertices of a triangle in a counterclockwise fashion. Then these three points individually are examples of 0-
simplices (hence these have no orientation). Examples of oriented 1-simplices are the oriented line segments
[v0 , v1 ], [v1 , v2 ] and [v0 , v2 ]. By writing the vertices in that order we have given orientations to these 1-
simplices, i.e., [v0 , v1 ] is oriented from v0 to v1 . The triangle [v0 , v1 , v2 ] is a counterclockwise oriented
2-simplex.
Consider a simplex σ p with vertices {v0 , . . . , vp } with p ≥ 1. By deleting one vertex at a time from
this set we can enumerate the simplices that have dimension (p − 1) and are faces of σ p . There are p + 1
12
such faces and face i is spanned by {v0 , . . . , vbi , . . . , vp } for i = 0, . . . , p. The hat means omit that vertex.
An oriented simplex σ p induces an orientation on each of these faces. The notion of induced orientation is
related to the boundary operator to be defined in Chapter 3 in Def. 3.6.1. But induced orientation can be
defined independently as follows.
Definition 2.3.5. Let σ p = [v0 , . . . , vp ] be an oriented simplex, with p ≥ 1. This orientation of σ gives each
of the (p − 1)-dimensional faces an induced orientation. For p > 1, if i is even the induced orientation of
the face v0 . . . vbi . . . vp is the same as the orientation of the oriented simplex [v0 , . . . , vbi , . . . , vp ]. Otherwise
it is the opposite one. ♦
Example 2.3.6. Induced orientation: Given the counterclockwise oriented triangle σ = [v0 , v1 , v2 ] its
unoriented 1-faces are v1 v2 , v0 v2 and v0 v1 . The induced orientation on v1 v2 is the same as the orientation of
[v1 , v2 ]. The induced orientation on v0 v2 is the opposite of the orientation of [v0 , v1 ] and the induced orien-
tation on v0 v1 is the same as the orientation of [v0 , v1 ]. As another example consider an oriented tetrahedron
[v0 , v1 , v2 , v3 ] with v0 at the top and v1 , v2 , v3 labeling the bottom triangle in counterclockwise fashion when
looked from outside. This has the same orientation class as the ordered collection of 3 vectors emanating from
v0 and pointing to the 3 vertices v1 , v2 and v3 in order, i.e., the corner basis at v0 . This corresponds to a right-
hand rule orientation for the plane of the tetrahedron, i.e., for R3 . By the definition of induced orientation the
triangular faces of the tetrahedron get oriented counterclockwise when looking from outside.
Remark 2.3.7. Comparing orientations: Consider two oriented simplices σ and τ embedded in RN .
If their dimensions differ, then their orientations cannot be compared. So assume that they have the same
dimension p and so 1 ≤ p ≤ n (0-simplices have no orientation). Then their orientations can be compared in
the following cases:
In case 1 the two simplices σ and τ will have the same orientation iff their corner or polyline basis orients
their plane the same way. In case 2 the two will have the same orientation if the induced orientation of the
shared p − 1 face induced by the σ is opposite to that induced by τ . Fig. 2.1 clarifies this remark. ♦
Definition 2.3.8. Let σ p and τ p , with 1 ≤ p ≤ n, be two simplices whose orientations can be compared, that
is, they fall into one of the two cases of Rem. 2.3.7. If their orientations are in the same class we will say that
the two simplices have a relative orientation of +1 otherwise −1. We will write this as sgn(σ p , τ p ) = +1
or −1 respectively. ♦
The notion of a simplicial complex defined in this section is too general for our purpose. For example, in
2
R a triangle with a line segment sticking out of one vertex is a simplicial complex. While such things may
13
(a) (b)
Figure 2.1: Situations where orientations of simplices can be compared: (a) All the triangles are in R3 but
since their plane is identical (shown in the figure) the orientations can be compared using any of their corner
basis or polyline basis. See Rem. 2.3.3 and 2.3.7 ; (b) Two triangles in R3 not in the same plane. But
since they share an edge their orientations can be compared. Orienting them so that they induce opposite
orientations on the shared edge gives the two triangles identical orientations.
be useful say, in modeling domains connected by wires in electromagnetism, in this thesis we exclude such
cases by using the definition to be given below. Another type of complex to be excluded is, for example, two
triangles touching only at a common vertex. Excluding such complexes is in line with this being a theory
of exterior calculus. For example, in smooth exterior calculus the starting point is the notion of a smooth
manifold. The examples just mentioned can be considered to be discretizations of smooth spaces that are
not manifolds (not even manifolds with boundary) since they are not locally homeomorphic to Rn or to half
space. This is captured in the following definition.
From now on we will work only with manifold-like simplicial complexes. Allowing only such complexes
has the added advantage that we can now define orientability for simplicial complexes. In algebraic topology
the definition of an orientable simplicial complex requires some technical machinery (such as homology
n-manifolds and homology groups). In the following definition we can bypass such machinery.
simplicial complex. ♦
Remark 2.4.1. Metric-dependence and duality: The metric-dependent and metric-independent parts of
DEC can be developed separately. Operators, that in the smooth theory do not use metric information, should
have that property in the discrete theory as well. For example, the exterior derivative, wedge product, natural
pairing of forms and vector fields, interior product and Lie derivative are all example of such operators. On
the other hand Hodge star, sharp and flat depend on the metric. Divergence is an operator in which metric
enters only through its dependence on the volume form of the metric. Dual meshes seem to be required only
in the metric-dependent parts of DEC. However, in applications these might be all mixed up and thus one is
forced to invent versions of metric-independent operators for the dual mesh as well. An example is say, the
Lagrangian for harmonic maps, d f ∧ ∗ d f . Since the wedge and Hodge are both present, one may expect
the dual mesh to play a role.
In this thesis, we have not always followed a strict separation of discrete operators into metric-independent
and metric-dependent types. But in those cases where we give a metric-dependent definition, we generally
accompany it with a metric-independent one as well. Also, the metric-dependent definitions used are such
that at least in the smooth theory, the metric dependence cancels, although in the discrete case we don’t know
if this is the case.
In our future work, we intend to maintain a more strict distinction between metric-independent and metric-
dependent operators. The computational implication of this distinction is that the computation of discrete
operators that are metric-independent may not require a dual complex, as it occasionally seems to, in this
thesis. ♦
Definition 2.4.2. The circumcenter of a p-simplex σ p is given by the center of the p-circumsphere, where
the p-circumsphere is the unique p-sphere that has all p + 1 vertices of σ p on its surface. Equivalently, the
circumcenter is the unique point in P(σ) that is equidistant from all the p + 1 vertices of the simplex. We will
denote the circumcenter of a simplex σ p by c (σ p ). If the circumcenter of a simplex lies in its interior we call
it a well-centered simplex. In R2 a triangle with all acute angles is an example. A simplicial complex all of
whose simplices (of all dimensions) are well-centered will be called a well-centered simplicial complex. ♦
The circumcenter of a simplex σ p can be obtained by taking the intersection of the normals to the (p−1) -
15
dimensional faces of the simplex, where the normals are emanating from the circumcenter of the face. This
allows us to recursively compute the circumcenter. We use the names Voronoi dual and circumcentric dual
synonymously since the dual of a simplex is its circumcenter (equidistant from all vertices of the simplex).
To build a circumcentric dual complex of a simplicial complex we have to first subdivide the original
complex to yield one with smaller simplices. Then some of the simplices will be combined to give the dual
complex. This general procedure of building a dual complex by subdivision and aggregation is described in
detail in Munkres [1984] on pages 83–88 (for subdivision) and pages 377–381 (for aggregation). While he
specializes the general construction to barycentric subdivision, under some conditions the same procedure
with the barycenters replaced by circumcenters produces a circumcentric subdivision.
This requires that K be well-centered in the sense defined above because otherwise circumcentric subdi-
vision may not produce a simplicial complex. See Section 2.6 for implications of this restriction. However if
K is well-centered, then the subdivision operator sd of Munkres [1984] can be replaced by a circumcentric
subdivision operator csd as defined below.
Given a simplicial complex K then csd K will be a simplicial complex from which to build the dual
complex. The underlying spaces |K| and |csd K| are the same. In Lemma 15.3 Munkres [1984] gives the
form of the simplices in sd K. Instead we will use this as the definition of subdivision.
Example 2.4.4. Circumcentric subdivision: Consider a simplicial complex K with vertices v0 , v1 and v2 ,
i.e., the complex consists of a triangle v0 v1 v2 , its edges and its vertices. Then L = csd K consists of the
following elements:
• L(0) (the 0-simplices of csd K): consists of the circumcenters c(v0 ) = v0 , c(v1 ) = v1 and c(v2 ) = v2 ,
the midpoints of the edges c(v0 v1 ), c(v1 v2 ) and c(v0 v2 ) and the circumcenter of the triangle, i.e.,
c(v0 v1 v2 ),
• L(1) (the 1-simplices of csd K): consists of 12 edges – the two halves of each edge and edges joining
the circumcenter of the triangle to the vertices and midpoints of the edges,
16
Vσ 0 Vσ 1 Vσ 2
Figure 2.2: Primal and dual mesh elements in 2D. Top row shows primal mesh (Def. 2.3.10) with one sim-
plex of dimensions 0, 1 and 2 highlighted in the 3 figures; Middle row shows the corresponding dual cells
(Def. 2.4.5), shown here restricted to the original primal triangle ; Bottom row shows the support volumes
(Def. 2.4.9). See Fig. 2.3 for 3D example.
• L(2) (the 2-simplices of csd K): consists of 6 triangles of the form v0 c(v0 v1 )c(v0 v1 v2 ).
See pages 87 and 378 of Munkres [1984] for more examples. Fig. 2.4 shows many triangles that have been
subdivided.
If K is a manifold-like simplicial complex, then the underlying space |K| can be partitioned into subsets
that are cells (see Def. 2.1.2) (in Munkres [1984] Section 64 such dual cells are called blocks because he
is working with homology manifolds where spheres are homological spheres). This partitioning gives the
dual cell decomposition of |K|. Each dual cell is made by aggregating together certain simplices from sd K.
Instead we will use csd K and end up with a circumcentric version of the dual block decomposition of K.
We summarize this procedure below. For details see pages 377-381 of Munkres [1984].
Definition 2.4.5. Let K be a well-centered manifold-like simplicial complex of dimension n and let σ p be
one of its simplices. The circumcentric dual cell of σ p will be denoted D(σ p ) and defined as
n−p
[ [
D(σ p ) := Int (c (σ p ) c (σ1 ) . . . c (σr )) .
r=0 σ p ≺σ1 ≺...≺σr
For r = 0, interpret σ p ≺ σ1 ≺ . . . ≺ σr simply as σ p . The closure of the dual cell of σ p is written D(σ p )
and called the closed dual cell. We will call each (n − p)-simplex c (σ p ) c σ p+1 . . . c (σ n )) an elementary
dual simplex of σ p . This is an (n − p)-simplex in csd K. The collection of dual cells is called the dual cell
decomposition of K. This is a cell complex and will be denoted D(K). The union of the cells of dimension
at most p will be denoted K(p) and called the dual p-skeleton of K. For a closed dual cell D(σ p ) and
17
Vσ 0 Vσ 1 Vσ 2 Vσ 3
Figure 2.3: Primal, dual cells and support volumes in 3D. Top row shows primal mesh (Def. 2.3.10) with
one simplex of dimensions 0, 1, 2 and 3 highlighted in the 4 figures; Middle row shows the corresponding
dual cells (Def. 2.4.5), shown here restricted to the original primal triangle ; Bottom row shows the support
volumes (Def. 2.4.9). See Fig. 2.3 for 2D example.
q < (n − p), any element of K(q) that is a subset of D(σ p ) will be called a proper face. For 0 ≤ p ≤ n − 1,
the (n − p − 1)-faces of D(σ p ) are D(σ p+1 ) for all σ p+1 σ p . ♦
Remark 2.4.6. Unions and sums using proper faces: The above definition is the first time in this thesis
that we have used the notation σ 1 ≺ . . . ≺ σ r etc. for indexing a union. This is a very convenient notation
for writing unions (or in the case of chains in next chapter, sums) without having to index the individual
simplices of all dimensions. A union like
[ [ [
or or
σ p1 ≺...≺σ pk σj1 ≺...≺σjk σ p ≺...≺σjk
is a union over all simplices of a given simplicial complex that satisfy the proper face relationships under the
operator. Notice in particular the third union above. The first simplex is of dimension p but the rest of the
simplices in the proper face relations have been indexed by numbers, not dimension. Such mixing of indexing
is allowed. ♦.
The dual cell decomposition gives a CW complex (see Def. 2.1.2 above or pages 214–221 of Munkres
[1984] or page 5 of Hatcher [2002] for more details on cell (or CW) complexes). Fig. 2.2 and 2.3 show
18
Figure 2.4: A simplicial complex K is subdivided into the simplicial complex csd K and some dual cells of
dimension 0,1 and 2 are marked. See Example 2.4.4 and 2.4.7. The new edges introduced by the subdivision
are shown dotted. The dual cells shown are colored red. Some elementary dual simplices and subdivision
simplices appearing in this figure are pointed out in Example 2.4.7.
examples of dual cells as does Example 2.4.7 and associated Fig. 2.4. See pages 378–379 of Munkres [1984]
for more examples.
Example 2.4.7. Dual cells and elementary dual simplices: By definition of dual cell the dual of a vertex
σ 0 is
[ [
D(σ 0 ) = Int(c σ 0 ) ∪ Int c σ 0 c (σ1 ) ∪ . . . ∪ Int c σ 0 c (σ1 ) . . . c (σn ) .
Now recall from Rem. 2.1.3 that the first term above is the 0-simplex c σ 0 since the interior of a 0-simplex
is the 0-simplex itself. The second term is all the open edges starting at σ 0 and going to the circumcenters
of: the edges containing σ 0 , the triangles containing σ 0 , and so on. The last term is the union of all the open
simplices of dimension n containing σ 0 . Thus we get the open Voronoi region around σ 0 .
Refer to Fig. 2.4 for this part of the example. Consider the simplicial complex of dimension 2 shown
in the figure. The dual cell of a vertex is the topological interior of the Voronoi region around it as shown
shaded in the figure. This dual cell is made up of the the vertex whose dual it is, interiors of the open edges
emanating from that vertex, and interiors of the elementary dual simplices (Def. 2.4.5) of the vertex. An
example of an elementary dual simplex of is a triangle starting with vertices consisting of a vertex of the
complex, the circumcenter of an edge incident on the vertex and the circumcenter of a triangle containing
that edge. The dual cell of an edge in the simplex consists of the circumcenter of that edge and the two open
edges emanating from it and going to the circumcenters of the triangles adjacent to it. This is shown by
shading the dual cell of an internal edge and a boundary edge in Fig. 2.4. Note that for the boundary edge
the dual has only one piece since there is only one triangle adjacent to that boundary edge. Note that if the
complex is not flat, then the dual edge will not be straight line. An elementary dual simplex of an edge starts
19
at the circumcenter of the edge and ends at the circumcenter of an adjacent triangle. In the figure the dual of
a triangle is shown as the circumcenter.
Now consider a dimension 3 complex in R3 and an edge σ 1 in it. We want to find D(σ 1 ). The vertices of
one of the elementary dual simplex of σ 1 are the circumcenters: c σ 1 , c σ 2 , c σ 3 which form a triangle.
Here σ 1 is a proper face of σ 2 which is a proper face of a tetrahedron σ 3 . These circumcenters are 3 vertices
and so the elementary dual simplex is a triangle as expected. Here p = 1 and n = 3 and so the elementary
dual simplices are simplices of dimension 3 − 1 = 2. Now let σ 0 be a vertex contained in σ 1 . Then the
tetrahedron c σ 0 c σ 1 c σ 2 c σ 3 lies inside the tetrahedron σ 3 and has the same plane as σ 3 .
Remark 2.4.8. Properties of dual cells and related simplices: Let K be a well-centered manifold-like
simplicial complex of dimension n. Let σ 0 , σ 1 , . . . , σ n be simplices in K of dimensions 0,1, . . . , n such that
σ0 ≺ σ1 ≺ . . . σn
that is, σ 0 is a proper face of σ 1 which is a proper face of σ 2 and so on. Then the following are true:
1. The dual cell D(σ p ) is homeomorphic to an open ball of dimension n − p and so it can be oriented (as
we shall do in Section 2.5),
2. The dual cells are disjoint and their union is |K|. Also, D(σ p ) is a polytope of csd K of dimension
n − p (Theorem 64.1 pages 378–379 of Munkres [1984]),
3. A p-simplex ν p like c σ 0 . . . c (σ p ) is a subdivision p-simplex (Def. 2.4.3) of σ p and its plane is
identical to that of σ p , i.e., P(ν p ) = P(σ p ),
6. The subdivision p-simplex ν p and the elementary dual (n − p)-simplex δ (n−p) are transverse, i.e.,
P(ν p ) ⊕ P δ (n−p) = P(σ n ) = Rn .
These properties will be useful for orienting the dual cells in Section 2.5. ♦
Now we define something called a support volume of a simplex. For a p-skeleton of the primal mesh the
support volumes tile the primal mesh for any 0 ≤ p ≤ n. That is, the union of the support volumes of all the
p-simplices in the primal mesh is the mesh and the intersections are along some (p − 1) simplices of csd K.
This concept will be useful in Chapter 5 in defining discrete flat operator.
20
Definition 2.4.9. Let K be an n-dimensional manifold-like well-centered simplicial complex and σ p one of
its simplices. The union of convex hulls of σ p and its dual cells in each n-simplex of which σ p is a face,
forms an n-volume that we call support volume of σ p and we denote it by Vσp . That is
[
Vσp := convexhull ({D(σ p ) ∩ σ n , σ p })
σ n σ p
The support volumes of all the p-simplices of K (for any p) tile |K|. Some examples of support volumes in
two- and three-dimensional complexes are given in Fig. 2.2 and 2.3. ♦
Remark 2.5.1. Algorithm to orient elementary duals: Consider first the case of 1 ≤ p ≤ n − 1. Let the
correctly oriented elementary dual simplex be s [c (σ p ) , . . . , c (σ n )], where s = ±1, and the correct value
of s has to be determined. The primal mesh is oriented. Recall that this means that the n-simplices are all
oriented the same way and the n − 1 and lower dimensional simplices have been individually oriented. We
will use σ p and σ n to denote the oriented simplices of the primal mesh.
By the properties in Rem 2.4.8 the orientations of σ p and c σ 0 , . . . , c (σ p ) can be compared since
they have the same planes. Similarly the orientations of σ n and c σ 0 , . . . , c (σ n ) can be compared for
the same reason. Then we define
c σ 0 , . . . , c (σ p ) , σ p × sgn c σ 0 , . . . , c (σ n ) , σ n
(2.5.1) s := sgn
21
Primal Primal
(a) (b)
Figure 2.5: Relationship between orientations of embedding space, embedded “primal” manifold and an
embedded “dual” manifold transverse to the primal (meaning that at the intersection point of the primal and
dual the direct sum of their tangent spaces is the tangent space of the embedding manifold). Given any two
of the three orientations the third one is determined. See Section 2.5. This can also be thought of in terms
of internal and external orientations of the primal as in Bossavit [2002b]. The roles of primal and dual can
be switched and so can the order of putting primal tangent space before the that of the dual. This is a matter
of convention. The point is that there is a consistent way to define the third orientation given any two of
the orientations ; (a) If the primal 2-manifold is oriented as shown, then the dual 1-manifold has only one
orientation such that the orienting basis for the primal followed by the one for the dual together gives the
orientation of the embedding space that has been given as right hand rule. (b) Similar situation in 2D.
where sgn is the relative orientation defined in Def. 2.3.8. This method implements the idea embodied in
Fig. 2.5. Example 2.5.2 clarifies this idea. For p = n the dual is of dimension 0 and so has no orientation.
For p = 0, we define s := sgn( c σ 0 , . . . , c (σ n ) , σ n ). ♦
Example 2.5.2. Orienting elementary duals: Consider the well-centered manifold-like simplicial complex
of dimensions 2 shown in Fig. 2.6. The orientations of the simplices are as shown in the figure. Let p = 1
and we list below the simplices appearing in Rem. 2.5.1.
c σ 0 , c σ 1 = [v0 , c01 ]
c σ 0 , c σ 1 , σ 1 × sgn c σ 0 , c σ 1 , c σ 2 , σ 2
s = sgn
= sgn ([v0 , c01 ] , [v1 , v0 ]) × sgn ([v0 , c01 , c012 ] , [v0 , v1 , v2 ]) = (−1)(+1) = −1 .
This means that the elementary dual simplex c01 c012 should be oriented as −[c01 , c012 ] = [c012 , c01 ]. Note
that c σ 0 , c σ 1 has the same plane as σ 1 and so their orientations can be compared (“plane” here is
the line containing both). Similarly for c σ 0 , c σ 1 , c σ 2 and σ 2 . We would have obtained the same
22
v1
c012
c01
v2
v0
Figure 2.6: Orienting an elementary dual simplex. See Example 2.5.2. Here we have written c012 for the
circumcenter c([v0 , v1 , v2 ]) etc.
Definition 2.5.3. Let 0 ≤ p ≤ n − 1 and consider the closed dual D(σ p ). This is an (n − p)-dimensional
oriented dual object. It has (n−p−1)-dimensional faces that inherit an orientation from D(σ p ). This is called
the dual induced orientation of an (n − p − 1)-face. It is defined as the orientation induced (Def. 2.3.5) from
the closure of the n-simplex that is an elementary dual simplex making up D(σ p ) whose boundary includes
part of the (n − p − 1)-face. Here we assume that the elementary dual simplex has been oriented correctly
according to the algorithm in Rem. 2.5.1. ♦
Example 2.5.4. Dual induced orientation: Consider a 1-ring of triangles with each triangle oriented
counterclockwise. The dual of the central vertex is its Voronoi region on the complex. By the above definition
the dual induced orientation of the boundary will make each dual edge oriented so that the boundary goes
around counterclockwise. Each dual edge in the boundary of the Vornoi region is dual to a primal edge. The
dual edge induces an orientation on the circumcenters that lie at its end.
[1992]. In none of the above works however is a circumcentric dual mesh used to develop a full discrete
exterior calculus. Most deal with either forms only or vector fields as proxies for forms.
Both types of dual meshes have good and bad properties. For example, barycentric duals have a very nice
property that barycentric subdivision (which is the first step for building a barycentric dual) always produces a
simplicial complex. This is unlike the situation in circumcentric subdivision which requires that the complex
be a well-centered simplicial complex because otherwise csd K may not be a simplicial complex. Thus if
in a computation a mesh is changing, the barycentric dual will remain well-defined whereas a circumcentric
dual may soon become invalid due to some circumcenters leaking out of their simplices. Maybe this problem
can be ameliorated by mixed Eulerian-Lagrangian methods where the mesh is moved for a few time steps
and then interpolation brings one back to a nice reference mesh. This has to be investigated further in future
work.
On the other hand it appears as if circumcentric duals are useful in building that part of the theory of
DEC that involves metric operations like Hodge star, flat and sharp. The dual of an (n − 1)-face is an edge
perpendicular to it. Similarly the dual of an edge is an (n − 1)-cell. Thus circumcentric duals seem to give
simple expressions for fluxes in the coordinate systems of faces and their dual normals. We don’t claim that
circumcentric duality is the only way to make the operators that relate forms and vector field (such as discrete
flat) work. But at least its use in the metric parts of the theory seems to produce simple formulas that are
self-consistent and satisfy theorems like Gauss’ divergence theorem for vector fields. We should point out
that the generalized Stokes’ theorem is a non-metric theorem when expressed via forms and so it has nothing
to do with the dual.
Even the construction of circumcentric dual meshes may be computationally challenging in high dimen-
sions. Suppose we are given the vertices from which a primal mesh is to be built. Delaunay triangulation will
produce a simplicial complex in which the interiors of circumspheres do not contain other vertices. But our
requirement of well-centeredness is stronger and may require the introduction of new vertices. Even Delau-
nay triangulation for dimension higher than 2 is a computationally challenging task. See, for example, Bern
et al. [1995]. Delaunay triangulation is equivalent in complexity to complexity of finding convex hulls in one
higher dimension. See, for example, Boissonnat and Yvinec [1998].
For some computations the Delaunay triangulation is desirable in that it reduces the maximum aspect
ratio of the mesh, which is a factor in determining the rate at which the corresponding numerical scheme con-
verges. But in practice there are problems (for example those involving anisotropy) for which even Delaunay
triangulations are a bad idea and so well-centered simplices might not be very useful. See, for example,
Shewchuck [2002]; Bern et al. [1995].
In the generalization of DEC to some simple regular meshes as done in Section 9.4, the absence of well-
centeredness seems to cause no problem in computing quantities like Laplacian which do not involve a flux
across a boundary and are quantities to be evaluated at nodes. This is probably because the closed dual cells
of primal nodes are Voronoi cells and by definition these tile the underlying space even when the mesh is not
24
well-centered. So vertex related quantities can be computed at least for regular non-simplicial meshes even
for non-well-centered complexes.
In this thesis we will ignore all these computational difficulties and assume that we are given a primal
mesh satisfying the required conditions and that the mesh is not changing with time. We will proceed to build
exterior calculus objects and operators on such a mesh.
Definition 2.7.1. Let K be a well-centered manifold-like simplicial complex. Consider a 1-ring of a vertex
σ 0 and σ n σ 0 , i.e., an n-simplex in the 1-ring. Then the following functions, all maps from RN to R are
called interpolation functions.
(i) φσ0 ,σn is the primal-primal interpolation function supported on σ n and it is the unique affine function
that has the value 0 at all vertices of σ n other than σ 0 and the value 1 at σ 0 ,
(ii) φσ0 ,D(σ0 ) is the primal-dual interpolation function supported on D(σ 0 ) with value 1 there and 0 else-
where,
(iii) φD(σn ),σn is the dual-primal interpolation function supported on Int(σ n ) with value 1 there and 0
elsewhere,
(iv) φD(σn ),D(σ0 ) is the dual-dual interpolation function supported on D(σ 0 ) and defined as the barycentric
basis for convex non-simplicial polyhedra as defined in Warren et al. [2003]. This requires that K be a
flat complex. ♦
The primal-primal interpolation function is Whitney 0-form (or element). Whitney forms of higher
degress are used by many authors working in DEC. We don’t make use of any higher degree Whitney forms
in this thesis, but that is likely to change in our future work. Whitney forms are defined in Section 3.3.
Remark 2.7.2. Sum and gradient of primal-primal interpolation functions: Note that ∇φσ0 ,σn is con-
stant in int(σ n ) and normal to the face opposite to vertex σ 0 . Its length (in the standard inner product induced
from RN ) is 1/h where h is the height of vertex σ 0 above the face opposite to σ 0 . Furthermore,
X
(2.7.1) φσ0 ,σn (x) = 1
σ 0 ≺σ n
25
Figure 2.7: Cartoon representation of the four types of interpolation functions defined in Def. 2.7.1. The
dotted arc represents a one-ring of triangles of which only 2 triangles are being shown here. Top row: primal
(left) and dual (right) scalar data; Bottom row: (left to right) primal-primal, primal-dual, dual-primal and dual-
dual interpolation functions. In primal-primal, data is barycentric interpolated (affinely) in each simplex; in
primal-dual it is made constant in each dual of primal vertex; in dual-primal it is made constant in each primal
simplex; and in dual-dual it is barycentric interpolated (rational polynomial) using the generalized barycentric
coordinates of Warren et al. [2003]. The simplicial complex can be non-flat in the first three cases.
X
(2.7.2) ∇φσ0 ,σn = 0
σ 0 ≺σ n
in the interior of σ n . Here the sum is over all simplices σ n containing the vertex v. ♦
simplex in the simplicial complex. Then the local metric is a map d : {(v0 , v1 ) | v0 , v1 ∈ K (0) , [v0 , v1 ] ≺
σ n ∈ K} → R. The axioms for a local metric are as follows,
Now each n-simplex can be locally embedded into Rn , and all the necessary metric dependent quantities can
be computed within the plane of the simplex. For example, the volume of a k-dual cell will be computed as
the sum of the k-volumes of the dual cell restricted to each n-simplex in its local embedding into Rn .
Example 2.8.1. Local discretization of a Riemannian manifold: Suppose we are given a Riemannian
manifold and some points on it. To discretize this information we would first define an abstract simplicial
complex on it, i.e., “glue”, or “draw” a simplicial complex on the manifold, with the given points as the ver-
tices. The measurement of lengths of the edges of this complex gives the data needed for a local embedding.
For example for a surface we would embed each triangle individually in R2 using the edge lengths from the
abstract complex as the lengths of the edges of the triangle. Now the metric is implicitly defined inside the
embedded triangle. Since adjacent triangles share an edge, the metric of the two matches on the edge which
is a useful feature. This is all that is needed for a local theory like DEC. Of course the information about
quantities like mean curvature, which depends on the embedding, is lost. These quantities are not a part of
the basic exterior calculus with real valued forms, even in the smooth case.
We have compared barycentric and circumcentric duality. Some reasons were conjectured as to why
circumcentric duality might be preferable in those parts of DEC that involve metric. However, a full un-
derstanding of which duality is better when, remains yet to be achieved. This is in part due to the fact that
metric seems to play a role in the current version of DEC in operators where it should not. Even if the metric
information seems to cancel out overall, a much cleaner DEC will likely limit the use of metric to only Hodge
star, flat and sharp. We have started to address this and we will point out some preliminary results as we go
along.
28
Chapter 3
Results: Now we will define discrete forms, which are objects that discretize differential forms of smooth
theory. The objects that are important in this chapter are chains and dual chains, which are made up of
simplices and other cells. We take the standard view of discrete forms as cochains, that is, as certain types
of functions on chains. For discrete exterior derivative also, we use its standard definition, as a dual of the
boundary operator. As is well-known and as we point out later in this chapter, this makes a discrete Stokes’
theorem true by definition. The only thing new in this chapter is discrete pullback. We define it and show
that discrete exterior derivative and pullback commute as in smooth theory.
Shortcomings: We place no continuity requirements on discrete forms as cochains. But many authors
do and rightly so. To prove convergence of discrete objects and operators to their smooth counterparts, one
needs a topology on the space of all chains possible from discretization (and not just on the chains of a given
complex). Next one needs to assume that cochains are continuous in this topology and discrete operators
continuous in cochain topology. As stated previously, we have done no convergence analysis yet and it is an
important topic for future work. Therefore, in this thesis we will not require continuity in the definition of
cochains as functions on chains. However Section 3.7 we speculate on such topology issues.
forms and vector fields. See, for instance, Marsden and Ratiu [1999], Abraham and Marsden [1978], Arnol0 d
[1989]. Thus it is worthwhile to try and discretize forms. There is a huge amount of literature on this which
we summarize and then add to in this chapter.
In the discrete theory the role of p-manifold is played by a p-chain (a formal sum of simplices). We will
find that the integration has been done at discretization and from then on the role of integration is replaced
by an evaluation operation – evaluation of a discrete form on a chain. Discrete forms will be defined as
objects that can be evaluated on chains and hence will be called cochains. This is one kind of duality. We
have already seen another, geometric duality in the previous chapter where under some conditions every
simplicial complex was found to have an associated circumcentric dual complex. Since there are primal and
dual complexes naturally there are primal and dual chains and so there are primal and dual discrete forms.
Definition 3.2.1. Let K be a simplicial complex. We denote the free abelian group generated by a basis
consisting of oriented p-simplices by, Cp (K; Z) . This is the space of finite formal sums of the oriented p-
simplices, with coefficients in Z. Elements of Cp (K; Z) are called primal p-chains. Some examples are
shown in Fig. 3.1. ♦
Remark 3.2.2. Chains as arrays: Since p-chains are formal sums with integer coefficients or elements
of a free abelian group one way of thinking about chains is that a p-chain is simply an array or table of the
oriented p-simplices of the given complex K. An integer is entered corresponding to each simplex. Two such
tables can be added by adding the corresponding entries etc. This set of tables is clearly an abelian group. ♦
We view discrete p-forms as maps from the space of p-chains to R. Recalling that the space of p-chains
is a group we require these maps that define the forms to be homomorphisms into the additive group R.
Thus discrete forms are what are called cochains in algebraic topology. We will define cochains below in the
definition of forms but for more context and more details readers can refer to any algebraic topology text, for
example, page 251 of Munkres [1984].
This point of view of discrete forms as cochains is not new. Hassler Whitney did a lot of work in this
subject as detailed in Whitney [1957]. In applications the idea appears for example in the works of Bossavit
[2002b], Adams [1996], Dezin [1995], Hiptmair [1999], Sen et al. [2000]. Our point of departure is that the
other authors go on to develop a theory of discrete exterior calculus of forms only. We have both forms and
vector fields and in the current version of DEC we only interpolate 0-forms and vector fields. It is possible
that in future work we will use Whitney forms for interpolating discrete forms. The formal definition of
discrete forms follows.
30
80 52 17 9
79 66
5 31
45
23 11
51 66 95
11 9
1 5 54
32 6 5 47
57 78 61
43 9
98 10 21 3
83
33 45 26 33
8 11 89
34
Figure 3.1: Examples of a discrete 0-form, 1-form and 2-forms. In all of these mesh is assumed to be oriented
by orienting say, each triangle counterclockwise. The 0-form shown in top row is just numbers assigned to
vertices. The 1-form in bottom left is numbers attached to oriented edges. The edges have to be oriented
independently of the oriented triangles. On bottom right is a 2-form, here just numbers assigned to oriented
triangles. In each of these examples one could also have a multiplicity associated with each vertex, edge or
triangle, here assumed to be 1.
Definition 3.2.3. A primal discrete p-form α is a homomorphism from the chain group Cp (K; Z) to the
additive group R. Thus a discrete p-form is an element of Hom(Cp (K), R) the space of cochains. This space
becomes an abelian group if we add two homomorphisms by adding their values in R. The standard notation
for Hom(Cp (K), R) in algebraic topology is C p (K; R). But we will often use the notation Ωpd (K) for this
space as a reminder that this is the space of discrete (hence the d subscript) p-forms on the simplicial complex
K. Thus Ωpd (K) := C p (K; R) = Hom(Cp (K), R). ♦
Note that by the above definition for p-chain i ai cpi (where ai ∈ Z) and a discrete p-form α, α ( i ai cpi )
P P
= i ai α(cpi ) and for two discrete p-forms α, β ∈ Ωpd (K) and p-chain c ∈ Cp (K; Z) we have (α + β)(c)
P
= α(c) + β(c).
Remark 3.2.4. Real coefficients in chains: We could just as well have defined the chain group as the set
of formal sums with real coefficients instead of integers so we get Cp (K; R) instead of Cp (K; Z). This has
the advantage that this is a vector space with the p-simplices of K as the basis. This is useful when doing
analysis on chains and cochains. It is also useful in the definitions of Whitney maps in the next section. ♦
31
π −1 (σ p ) = τ p ∈ K as
αd (τ p ) := hψ p (α), σ p i .
Thus the cochain αd on K is a discrete form produced from a smooth form on M by using a de Rham map
and a pasting map. ♦
Definition 3.3.2. The natural pairing of a discrete p-form αd = ψ p (α) and a p-chain c in K is the value of
the discrete form on the chain, defined as the bilinear pairing hαd , ci = αd (c) := hψ p (α), π(c)i. ♦
Remark 3.3.3. Discrete form-chain pairing in the limit: We can consider the limiting value of the eval-
uation of a discrete 1-form on a 1-simplex in a simplicial complex K. This limit is taken in the topology of
the underlying space |K|. In the limit the average value of the pairing of 1-simplex and cochain becomes the
natural pairing of a form and tangent vector in the direction of the simplex. This can probably be generalized
to higher degree forms, but we have not done that yet. For 1-forms, the following informal calculation on a
smooth manifold makes the above statement more specific.
Let M be a smooth Riemannian manifold with inner product hh , ii and c : (−, +) → M be a curve on
M such that c (0) = x0 ∈ M . Let v ∈ Tx0 M and v = c0 (0) and α a 1-form on M . Then
Z Z +
α= hhα, c0 (t)ii dt ≈ 2 hhα(x0 ), vii
c −
Thus Z
1
hhα(x0 ), vii = lim α
→0 l(c ) c
Let M be a smooth manifold and L its abstract simplicial complex as before. The Whitney maps are
defined by lifting the barycentric coordinates from the approximating complex K to the abstract simplicial
complex L on M and defining a partition of unity on M . For technical details see page 139 of Whitney
[1957]. We give the explicit expression for the maps below. The Whitney maps defined below allow us to
define smooth forms φαd corresponding to cochains αd of L. The space of cochains is the space C p (L; R)
and in this section we will let σip denote not only an oriented simplex or a chain, but also the cochain defined
by σip (σjp ) = δij . Then the σip form a basis for the p-cochains on L.
Definition 3.3.4. Given a simplex σ p = [vλ0 , . . . , vλp ] in L define the Whitney map φp : C p (L; R) →
Ωp (M ) as a map from cochains on L to smooth forms on M by:
p
X
φp ([vλ0 , . . . , vλp ]) = p! φλi d φλ0 ∧ . . . d[
φλi ∧ . . . ∧ d φλp .
i=0
As mentioned above, we have abused notation and written [vλ0 , . . . , vλp ] for the cochain on L that takes
value 1 on that simplex and 0 elsewhere. An example of a Whitney map is φ(vi ) = φi and φ(vi vj ) =
33
φi d φj − φj d φi . This map can be formally extended to be from discrete forms on K to smooth forms on
M by using the pasting map to transfer values from the simplices of K to the simplices of L. ♦
The de Rham and Whitney maps satisfy the following important properties. Let α ∈ Ωp (M ) be a smooth
p-form on M , and let αd ∈ C p (L; R) be a cochain on L. Then
ψ d α = d ψα
φ d αd = d φαd
ψφαd = αd
φI 0 = 1
where I 0 is the unit 0-cochain of L and on the RHS, 1 is the constant function on M with value 1 everywhere.
There are other important properties that are given in Whitney [1957], page 139. For example for any p ∈ M ,
P P
φi (p) = 1 and d φi (p) = 0 which are like the properties of the usual barycentric coordinates on
ordinary simplices. The Whitney map, of a cochain dual to a simplex σ, is supported in St(σ). The exterior
derivative of each Whitney map has the nice formula:
This expression, along with induction, is used in Whitney [1957] to show the very useful property that
Z
φσjp = δij .
σip
Thus for example, the Whitney 1-form corresponding to an edge when integrated on that edge gives the value
1. Because of the barycentric coordinate like properties of summing to 1 and having a sum of differentials
equal to 0 allows the Whitney forms to be used as the basis for defining forms from discrete forms. We do
not use this interpolation of any forms higher than degree 0, but expect to do so in future work.
Definition 3.4.1. Let K be a well-centered manifold-like simplicial complex of dimension n. The star
duality operator ? : Cp (K, Z) → Cn−p (csd K; Z) is defined by
X
? (σ p ) = sσp ,...,σn c(σ p ), c(σ p+1 ), . . . , c(σ n )
σ p ≺σ p+1 ≺...≺σ n
where the sign coefficient sσp ,...,σn is chosen as ±1 using algorithm in Rem. 2.5.1. ♦
This definition is similar to, but simpler than Def. 2.4.5. Here, only (n − p)-simplices are used in the
union. As sets, the set D(σ p ), and ? (σ p ), are equal. The difference is in semantics and bookkeeping since in
?σ p one retains the information about the simplices it is made of.
Definition 3.4.2. The subset of chains of Cp (csd K; Z) that are equal to the cells of D(K) as sets, forms a
subgroup of Cp (csd K; Z). This is the set of chains ?K = {?σ|σ ∈ K}. As sets these form a cell complex
identitical to D(K). We will denote this subgroup of Cp (csd K; Z) by Cp (?K; Z). Thus ?K is a basis set
for this. ♦
Definition 3.4.3. The star duality operator is a map from the primal simplicial complex to a subgroup
Cp (?K; Z) of the chain complex of the subdivision complex. But we can formally extend the star opera-
tor to a map from ?K to K by defining ? ? σ p = ±σ p . Here the sign is defined by the following:
(3.4.1) ? ? (σ p ) = (−1)p(n−p) σ p .
In other words dual of the dual of a simplex is defined to be the same simplex with orientation adjusted by
±1. ♦
Definition 3.4.4. Cochains of cells in Cp (?K; Z) are the dual discrete forms. The space of dual p-forms
will be denoted by Ωpd (?K). ♦
In a full calculus maps are used to pull back and push forward objects. For example vector fields can
be pushed forward and forms can be pulled back naturally. A discrete map is the unique piecewise affine
map obtained by extending a bijection between vertices of two complexes that are isomorphic in the category
of simplicial complexes. In algebraic topology such a map is called a simplicial homeomorphism or an
isomorphism. A more general concept is that of a simplicial map in which the simplex of one complex can be
mapped to a different dimension. The definitions reproduced here are actually a couple of Lemmas on pages
12 and 13 of Munkres [1984].
Definition 3.5.1. Let K and L be two simplicial complexes, and f : K (0) → L(0) be a map. Suppose that
whenever vertices v0 . . . vm of K span a simplex of K, the points f (v0 ), . . . , f (vm ) are vertices of a simplex
of L. Then f can be extended to a continuous map g : |K| → |L| such that
m
X m
X
x= µi vi ⇒ g(x) = µi f (vi )
i=0 i=0
and g is called the (linear) simplicial map induced by the vertex map f . If f is a bijection and v0 . . . vm span
a simplex of K iff f (v0 ), . . . , f (vm ) span a simplex of L then the induced simplicial map g is a homeomor-
phism and called a simplicial homeomorphism, or an isomorphism, of K with L. ♦
Now we can define a discrete pullback. In the discrete theory, since forms are cochains, discrete pullback
is defined by making the change of variables formula true by definition.
Definition 3.5.2. Let K and L be simplicial complexes and ϕ : |K| → |L| be a piecewise affine simplicial
isomorphism between them. Then the primal discrete pullback by ϕ, of a p-form α ∈ Ωpd (L), is written as
ϕ∗ α and defined by its evaluation on a p-simplex σ p ∈ K by:
Thus it makes a discrete version of the change of variable formula true by definition since the evaluation of a
form on a simplex is a discrete version of integration. ♦
Definition 3.6.1. The boundary operator ∂p : Cp (K; Z) → Cp−1 (K; Z) is a homomorphism defined by
36
p
X i
∂p σ p = ∂p ([v0 , v1 , . . . , vp ]) = (−1) [v0 , . . . , v̂i , . . . , vp ]
i=0
where [v0 , . . . , v̂i , . . . , vp ] is the (p−1)-simplex obtained by omitting the vertex vi . Note that ∂p ◦∂p+1 = 0. ♦
Example 3.6.2. Boundary of a triangle: Given an oriented triangle [v0 , v1 , v2 ] the boundary by the above
definition is the chain [v1 , v2 ] − [v0 , v2 ] + [v0 , v1 ] which are the 3 boundary edges of the triangle.
Definition 3.6.3. On a simplicial complex of dimension n, a chain complex is a collection of chain groups
and homomorphisms ∂p such that
∂p+1 ∂p
0 / Cn (K)
∂n
/ ... / Cp (K) / ... ∂1
/ C0 (K) / 0,
and ∂p ◦ ∂p+1 = 0. ♦
Definition 3.6.4. The coboundary operator δ p : C p (K) → C p+1 (K) defined by duality to the boundary
operator using the natural bilinear pairing between discrete forms and chains. Specifically, for a discrete form
αp ∈ Ωpd (K) and a chain cp+1 ∈ Cp+1 (K; Z) we define δ p by
that is
δ p (αp ) = αp ◦ ∂p+1 .
0 o C n (K) o δ n−1
... o δp
C p (K) o δ p−1
... o δ0
C 0 (K) o 0,
Definition 3.6.5. The discrete exterior derivative denoted by d : Ωpd (K) → Ωp+1
d (K) is defined to be the
coboundary operator δ p . An example is shown in Fig. 3.2. ♦
Remark 3.6.6. Stokes’ Theorem: With the above definition of the exterior derivative d : Ωpd (K) →
Ωp+1
d (K) and the relationship between the natural pairing and integration one can regard equation (3.6.1) as
a discrete generalized Stokes’ theorem. Thus given a p-chain c and a discrete p-form α the discrete Stokes’
theorem, which is true by definition, states that hdα, ci = hα, ∂ci. ♦
Remark 3.6.7. Properties of discrete exterior derivative: By definition discrete exterior derivative is a
local operator. Furthermore, it also follows immediately from the definition that, dp+1 dp = 0, since the
37
51 66 95
11 9
32 6 1 5
57 78
98 10 21 3
83 3
33 45
45
8
34 −34
Figure 3.2: Computation of discrete exterior derivative. A 1-form is shown on the left, as numbers on oriented
edges. The d of this will be a 2-form. The computation of this 2-form is shown on an oriented shaded triangle
in the mesh. The same triangle is shown separately on the right. Its orientation induces an orientation on its
boundary, shown here as going counterclockwise. This makes the numbers on the edges change sign if the
induced orientation is opposite of that edge’s original orientation shown on the left. The sum of these numbers
is the d of the 1-form on the left evaluated on the shaded oriented triangle.
boundary of a boundary is empty. Finally, the discrete exterior derivative is natural with respect to discrete
pullback, i.e., it commutes with discrete pullback. To see this, note that for α ∈ Ωpd (L), ϕ : |K| → |L| a
simplicial homeomorphism, and σ p+1 ∈ K we have that :
ϕ∗ (d α), σ p+1 = d α, ϕ(σ p+1 ) = α, ∂ϕ(σ p+1 ) = ϕ∗ α, ∂σ p+1 = d(ϕ∗ α), σ p+1
Definition 3.6.8. The dual boundary operator ∂p : Cp (?K; Z) → Cp−1 (?K; Z) is a homomorphism
defined by defining it on ?σ n−p = ?[v0 , . . . , vn−p ],
X
∂ ? [v0 , ..., vn−p ] = ?(sσn−p+1 σ n−p+1 ) .
σ n−p+1 σ n−p
For 0 ≤ p ≤ n − 1, the sign sσn−p+1 = ±1 is chosen so that the orientation induced on σ n−p by each of the
sσn−p+1 σ n−p+1 is the same as the original orientation of σ n−p .
For p = n the sign sσ1 is chosen so that the orientation of ?(sσ1 σ 1 ) is the same as that induced on D(σ 1 )
by D(σ 0 ). Thus for the p = n case, i.e., when defining the boundary of the Voronoi dual of a primal vertex
σ 0 , one orients the edges incident on σ 0 so that they are all pointing inwards or outwards depending on the
orientation of the complex. ♦
Remark 3.6.9. Dual boundary is not the geometric boundary: The reason that it is not enough to define
the dual boundary as the geometric boundary is that near the boundary of a manifold that would be wrong.
For example consider the complex in Fig. 3.3. The dual of the vertex shown is the Voronoi region shown
shaded. Its geometric boundary has 5 sides (two half primal edges and 3 dual edges), whereas the dual
boundary according to the definition above consists of just the dual edges as it should. ♦
38
Figure 3.3: The dual boundary is not the same as the geometric boundary near the boundary of the manifold.
See Rem. 3.6.9.
One serious shortcoming of our work is that we have not done any convergence analysis. As a first step, in
future work we plan to study convergence issues in flat meshes, before attempting the more difficult questions
of convergence for non-flat meshes.
40
Chapter 4
Results: We define a discrete Hodge star as an equality of averages between primal and their dual forms.
Hodge star is an operator that involves the metric. Thus the use of metric information, in the form or cir-
cumcentric duals appears in line with the nature of the Hodge star operator. Once the Hodge star is defined,
a codifferential can be defined which then immediately leads to a useful operator like the Laplace-Beltrami
operator, the generalization of the usual Laplacian of Euclidean space to manifolds.
Shortcomings: In some applications there is more than one metric involved, leading to multiple Hodge
star operators. An example is 3D electromagnetism in which two Hodge star operators appear. One way
to handle this is to use two different embeddings of the simplices, corresponding to the two metrics. The
other, is to use 4D spacetime electromagnetism, which has only 1 metric. The latter solution has the difficulty
that no edge must be in the light direction. This problem is specific to relativistic applications. We have not
studied these questions in detail yet.
Definition 4.1.1. The discrete Hodge Star is a map ∗ : Ωpd (K) → Ωn−p
d (?K) defined by its value over
simplices and duals of simplices. Let 1 ≤ p ≤ n − 1. For a p-simplex σ p and a discrete p-form α
1 1
(4.1.1) p
h∗α, ?σ p i := p hα, σ p i .
|?σ | |σ |
41
1
1
∗α, ?σ 0 := 0 α, σ 0 .
0
s |?σ | |σ |
Here s is ±1. Its value depends on the orientation of K and the dimension n. The value of s decided by
the following rule. Consider an edge σ 1 σ 0 oriented so that it points away from σ 0 . Give ∂(?σ 0 ) the
orientation induced from ?σ 0 . Then
s = (−1)n−1 sgn(∂(?σ 0 ), ?σ 1 ) .
That is, if the dual of an outgoing edge is oriented the same as the orientation induced by ?σ 0 on its boundary,
then the sign s = (−1)n−1 , otherwise it is the opposite of that.
For p = n define the Hodge star by
1 1
h∗α, ?σ n i := hα, σ n i .
|?σ n | s |σ n |
Again s = ±1 and the value of s decided by the following rule. Give σ n−1 the orientation induced from σ n .
If ?σ n−1 points away from ?σ n , then s = (−1)n−1 otherwise it is the opposite sign. ♦
Remark 4.1.2. Special treatment for p = 0 and n: The reason for the special treatment of p = 0 and
n is as follows. The 0-simplices have no inherent orientation. Thus for p = 0, in equation 4.1.1, the RHS
is independent of orientation of K, but LHS is not. For p = n the opposite is true. Thus the formula must
be corrected by making the orientation-independent side depend on the orientation of K in some way. This
amounts to using the signed volume for the n-volume in the formula. Thus for p = 0 we must use a signed
volume ±|?σ 0 | on the LHS, and for p = n we must use a signed volume ±|σ n | on the RHS of formula (4.1.1).
Note that for other values of p, both sides of (4.1.1) depend on the orientation of K, since for 1 ≤ p ≤
n − 1, the orientation of the dual ?σ p changes when the orientation of K changes. The use of signed volume
only in the case of n-volumes is consistent with the fact that even in the smooth theory, in an n-manifold,
the n-volumes are signed, but lower dimensional volumes don’t have any intrinsic sign. For example, in the
plane we can assign a sign to an area, relative to the orientation of the manifold, in a well-define manner.
But we cannot do this for lengths. Which specific sign convention is chosen for the n-volumes, is a matter
of convention. We choose the one we do so that the boundary normals in the discrete divergence theorems of
Chapter 6 will point outwards.
As an example of the sign used, in dimension n = 2, if the complex K is oriented by orienting all triangles
counterclockwise, then for p = 0, the signed volume s|?σ 0 | used will be −|?σ 0 |, since (−1)n−1 = −1. If K
was oriented the other way, this would be +|σ 0 |. In dimension n = 3, if the complex is oriented by orienting
each tetrahedron by the right-hand rule, then the signed volume s|?σ 0 | will be +|σ 0 |, since (−1)n−1 = +1. ♦
42
The idea that the discrete Hodge star maps primal discrete forms to dual forms and vice versa is well
known. See for example Sen et al. [2000]. However, notice we now make use of the volume of these primal
and dual meshes. Similar ideas seem to appear in Hiptmair [2002a] and Harrison [1999]. The definition
implies that the primal and dual averages must be equal. This idea has already been introduced, not in the
context of exterior calculus, but in an attempt at defining discrete differential geometry operators in Meyer
et al. [2002].
Proof. The proof is a simple calculation using the property that for a simplex or a cell σ p , ? ? (σ p ) =
(−1)p(n−p) σ p (equation 3.4.1).
4.2 Codifferential
Definition 4.2.1. Given a simplicial or a dual cell complex K the discrete codifferential operator δ :
Ωp+1
d (K) → Ωpd (K) is defined by δ(Ω0d (K)) = 0 and on p+1 discrete forms to be δβ = (−1)np+1 ∗d∗β. ♦
With the discrete forms, Hodge star, d and δ defined so far we already have enough to do an interesting
calculation involving the Laplace-Beltrami operator. We will show this calculation in Section 6.1 after we
have introduced discrete divergence and curl operators.
time direction. But this would require generalizing DEC to such cell-complexes. Thus work remains to be
done in treating discrete Hodge star in problems in which multiple metrics are involved.
In the interpolation view of DEC that we will explore in future work, the codifferential, and hence the
Hodge star will be determined by requiring the codifferential to be adjoint of the exterior derivative. In the
end the use of a dual mesh may turned out to be a shortcut for that procedure. This needs to be explored
further.
44
Chapter 5
Results: One of the unique aspects of our work is the simultaneous presence of forms and vector fields in
our theory, just as in smooth theory. This is in contrast with most previous works in this field which have had
one or the other but rarely both. One exception is the work of Bossavit, such as Bossavit [2003].
In this chapter we define discrete vector fields, and discrete sharp and flat operators for going between
1-forms and vector fields. Due to the presence of primal and dual meshes, the discrete theory has many
sharps and flats, unlike the smooth theory. The sharp and flat operators are used in Chapter 6 to define vector
calculus operators. In the case of two of the discrete flats defined here, we prove uniqueness, dictated by
requiring the discrete divergence theorem to be true.
Note that the flat and sharp are not just for translating vector calculus into exterior calculus. In mechanics,
some quantities of interest are defined with these operators. An example is vorticity in fluid mechanics, which
is d u[ where u is the fluid velocity field. Here u is not a proxy for a 1-form, it is a genuine vector field. Thus
it is worthwhile to discretize sharps and flats.
Shortcomings: The discrete vector fields of this thesis are actually semi-discrete in that their domain of
definition is a finite discrete set but the values are in vector spaces. It is not yet clear if this is the only or
the best way to proceed with discretization of vector fields. Also, our study of discrete flats is more thorough
than that of discrete sharps and it still remains to be seen if there is a flat and a sharp in DEC which are
inverses of each other. This is required for some important vector calculus identities to be true. In this thesis,
discrete flats are defined systematically via interpolation, but the definitions of sharps are ad hoc. For a proper
definition of sharps, we believe that interpolation of 1-forms, say using Whitney maps, might be an important
step that we do not take in this thesis. Furthermore, the pairing between forms and vector fields suggested
here seems to be metric dependent unlike smooth theory. Interpolation of forms in future work may yield a
metric independent definition.
45
Definition 5.1.1. A discrete dual vector field X on a well-centered manifold-like simplicial complex K is
a map from the 0-dimensional subcomplex K(0) , the dual vertices of D(K), to RN such that for every ?σ n ,
X(?σ n ) is in the same plane as σ n , that is X(?σ n ) ∈ P(σ n ). We will denote the space of such vector fields
by Xd (?K). See Fig. 5.1 for an example. The arrows drawn at the centers of triangles (dual vertices) together
form an example of a dual vector field. ♦
Definition 5.1.2. Let K be a flat well-centered manifold-like simplicial complex of dimension n. A discrete
primal vector field X is a map from the 0-dimensional subcomplex K (0) , the primal vertices of K, to Rn .
We will denote the space of such vector fields by Xd (K). See Fig. 5.1 for an example. The arrows drawn at
the primal vertices together are an example of a primal vector field. ♦
Remark 5.1.3. Why we require flat complex for primal vector fields: In this thesis we have defined the
primal vector fields only for flat meshes. This is because when the mesh is not flat (for instance a non-flat
piecewise linear surface i.e., a triangle mesh in 3D) then it is not obvious what should play the role of tangent
space at a vertex. It is important that at a fixed vertex the tangent space have dimension n and not depend
on the number of n-simplices around the vertex. This is something for future work. But note that in many
applications this is not a limitation since one can use dual vector fields which are perfectly well defined for
non-flat meshes. Also in many important applications in computational mechanics flat mesh case is very
common, for example in 3D elasticity (although not in thin shells). ♦
Definition 5.1.4. The following vector fields on the underlying space of a complex are defined by interpolat-
ing the discrete vector field data over various cells of the complex. We assume that K is a primal mesh.
(i) For a flat primal mesh K and X ∈ Xd (K), the primal-primal interpolated vector field
X X
X(σ 0 )φσ0 ,σn
σn σ 0 ≺σ n
46
Figure 5.1: Examples of a dual (top) and a primal (bottom) discrete vector field in dimension 2. The primal
mesh is in solid lines and the dotted lines are subdivision edges. For the dual field (arrows at the circumcenters
of the triangles) the complex can be non-flat. Each vector should then be in the plane of its triangle. For the
primal field to be defined (arrows on primal nodes) the complex has to be flat in the current version of our
theory. See Def. 5.1.1, Def. 5.1.2 and Rem. 5.1.3.
is a continuous piecewise affine vector field on |K|, affine in each n-simplex and continuous on |K|,
(ii) For a flat primal mesh K and X ∈ Xd (K), the primal-dual interpolated vector field
X
X(σ 0 )φσ0 ,D(σ0 )
σ0
is a piecewise constant vector field which is defined in each D(σ 0 ) (which is an open set in |K|) and
constant there,
(iii) For a primal mesh (not necessarily flat) K and X ∈ Xd (?K), the dual-primal interpolated vector field
X
X(?σ n )φD(σn ),σn
σn
is a piecewise constant vector field which is defined in Int(σ n ) for each σ n and is constant there,
(iv) For a flat primal mesh K and X ∈ Xd (?K), the dual-dual interpolated vector field
X X
X(?σ n )φD(σn ),D(σ0 )
σ 0 σ n σ 0
47
is a piecewise smooth vector field continuous on |K| and smooth in each D(σ 0 ).
See Def. 2.7.1 for more on interpolation. When we don’t want to specify the type of interpolation we will use
P
the notation Xφ to mean one of the above types of interpolated vector fields. ♦
Definition 5.2.1. Let M be a Riemannian manifold with metric hh , ii and α ∈ Ω1 (M ) a 1-form. Then the
sharp (]) map from 1-forms to vector fields is defined by α] , v = α(v) for every point x ∈ M and any
tangent vector v ∈ Tx M . ♦
Recall that 1-forms are real valued linear functions on vector spaces so α(v) in the equation above is
a number. For finite dimensional manifolds the existence and uniqueness of this map is guaranteed by the
Riesz Representation Theorem. In coordinates the above definition can be written as follows. Let g be the
Riemannian metric hh , ii and let the matrix corresponding to it in some local coordinates be [gij ]. In the same
coordinate system let αi be the coordinates of α. Then the above definition is equivalent to (α] )i = g ij αj
where [g ij ] is the inverse of the matrix corresponding to the metric g. The inverse of the sharp map is the flat
([) map which maps vector fields to 1-forms. Thus it can be defined as follows.
Definition 5.2.2. Let M be as above and X ∈ X(M ) a vector field on M . Then the flat ([) map from vector
fields to 1-forms is defined by hhX, vii = X [ (v) for every point x ∈ M and tangent vector v ∈ Tx M . ♦
To see that [ and ] are inverses of each other note that for vector fields X and V on a Riemannian manifold
M we have
DD EE
(X [ )] , V = X [ (V ) = hhX, V ii
(α] )[ (V ) = α] , V = α(V ) .
Example 5.2.3. Sharp and flat in gradient: The most common example of the use of sharps and flats is the
gradient operator. See page 353 of Abraham et al. [1988] for details. Let f be a smooth real valued function
on M . Then the gradient of f written ∇f is defined as ∇f = (df )] or equivalently (∇f )[ = df .
48
Figure 5.2: Top row: dual (left) and primal (right) vector fields X for which X [ is desired on the shared
edge ; Bottom row: (left to right) dual-primal, dual-dual, primal-primal and primal-dual interpolations. See
Def. 2.7.1 for more on interpolation. The bottom row corresponds to the configuration for the discrete flats
[dpp , [ddp , [ppp and [pdp . A dual destination would yield 4 more flats for a total of 8 discrete flats.
Since the integral is parameterization independent we can choose arc-length parameterization s and we get
Z Z L
(5.4.2) Y[ = hhY (r(s)), r̂(s)ii ds
r 0
where r̂(s) is the unit vector along r at the point r(s) and L is the length of r in the metric of M .
Now, let X be a discrete primal or dual vector field on a simplicial complex K. It can be interpolated into
almost all of the underlying space |K| by using one of the four types of interpolations of Def. 5.1.4. Then we
can define the discrete flat in terms of the flat of the piecewise interpolated vector field using equation (5.4.1).
That is, define X [ , the discrete flat of discrete vector field X by its evaluation on any piecewise smooth curve
r in |K| by
D E Z X [
(5.4.3) X [ , r := Xφ
r
P
where Xφ is the notation for interpolated vector field. Then evaluate the RHS by using equation (5.4.1)
over the various pieces of r. In a discrete theory we will generally be interested in the case when r = c1 is a
1-chain (primal or dual).
P
By construction, the interpolated vector field Xφ is defined almost everywhere and hence the integral
on the RHS is well defined almost everywhere in |K|. However, there are curves in |K| where the interpola-
tion is not defined. Specifically, primal-primal and primal-dual interpolation are defined everywhere on |K|.
But primal-dual is not defined on the dual (n − 1)-faces and dual-primal is not defined on primal (n − 1)-
faces. The interesting parts of the definition of a discrete flat operator are these very cases and we address
this in the next two sections.
(a) (b)
Figure 5.3: (a) For a boundary edge in 2D there is no ambiguity about the the dual vector field to use for
defining a DPP-flat. The vector in the triangle containing the edge is used ; (b) On the shared edge the vector
field is not well defined. In 2D the two values to choose from are in the triangles sharing the edge. See
Fig. 5.4, Def. 5.5.2, and the explanation of that definition for a resolution of the ambiguity.
and this interpolated vector field is piecewise constant almost everywhere on |K|. Let r be a straight line
segment on which x̄ is defined. For example r can be a straight line in the interior of any face of a simplex.
In this case equation (5.4.2) of previous section, with Y replaced by the interpolated field X̄ becomes
Z
X̄ [ =
(5.5.1) X̄, r̂ L = X̄, ~r
r
where r̂ is the unit vector along r and ~r is the vector along the segment r and of the same length as r. In fact the
inner product is the standard inner product of the embedding space RN and so we can write equation (5.5.1)
as
Z
X̄ [ =
(5.5.2) X̄, ~r = X̄ · ~r .
r
We can define this to be the value of X [ on the straight line r on which the interpolated field X̄ is defined.
However, as mentioned in the previous section, often the interesting cases are precisely the ones where
the interpolated field X̄ is not defined. In the DPP-flat we want to evaluate X [ on primal edges and the
dual-primal interpolated vector field is undefined precisely there. Fig. 5.3 explains the situation with a 2D
examples.
In Fig. 5.3 (a) the primal edge σ 1 in question is a boundary edge, the top edge of the middle triangle
in the figure. Even though the interpolation is not defined on σ 1 , it is clear that using X̄ = X(σ 2 ) in
equation (5.5.2), where σ 2 σ 1 , will complete the definition of DPP-flat in this case. This won’t work in
higher dimension. For example in dimension 3, a boundary edge may be shared by many tetrahedra. The
more interesting case is shown in Fig. 5.3 (b). Now the edge σ 1 in question is the edge shared by the two
triangles. Since the dual-primal interpolation of X is not defined on σ 1 , what should one use for X̄ on the
RHS of equation (5.5.2) ? The answer is in Def. 5.5.2 and the reasoning for it follows.
Let σ 1 ∈ K be a shared edge. To give meaning to equation (5.5.2) for r = σ 1 we propose to use
51
an average, constant value of X̄ along σ 1 . One should use a local average, using only the values of the
interpolated vector field from near σ 1 . For example one could extend X̄ to σ 1 by defining it to be
X |σ n |
X̄ = P n|
X(?σ n ) .
σ n σ 1 σ n σ 1 |σ
Or in general
X aσn
X̄ = P X(?σ n )
σ n σ 1 aσn
σ n σ 1
where aσn are constants equal to the volume of the portion of σ n chosen in the weighting of X(?σ n ). We
prove in Corollary 6.1.4 that discrete divergence theorem (Theorem 6.1.3) for a general dual discrete vector
field is true if and only if the factors aσn are the unique factors that appear Def. 5.5.2, i.e., if and only if
aσn = |?σ 1 ∩ σ n |
which is equivalent to
aσn |?σ 1 ∩ σ n |
P =
σ n σ 1 aσn |?σ 1 |
The geometric meaning of these factors is the content of the following simple proposition.
Proposition 5.5.1. For a primal mesh K of dimension n, a primal edge σ 1 ∈ K, and an n-simplex σ n σ 1 ,
the following geometric identity is true :
|?σ 1 ∩ σ n | |V 1 ∩ σ n |
1
= σ .
|?σ | |Vσ1 |
Proof. Consider an arbitrary, simply connected, compact subset of a hyperplane in Rn , i.e, an object of
dimension n − 1. Let V be its (n − 1)-volume. Now consider the object obtained by translating the shape in
a transverse direction while scaling it uniformly and linearly in each of its n − 1 dimensions until it reaches
a size 0. That point will be called the apex and the original object the base. This pyramid like structure will
be called a pyramid. If the transverse direction is orthogonal to the hyperplane containing the original object,
we will call the resulting pyramid a right pyramid. For example, in dimension 3, if one starts with a triangle,
one gets a tetrahedron. Starting with a square, one ends up with the usual pyramid. In dimension 2, if one
starts with an edge one gets a triangle.
The volume of a pyramid, created from a base object of volume V is (1/(n + 1))V h where h is the
orthogonal distance of the apex from the base. For example the area of a triangle is (1/2) base × height. The
volume of a tetrahedron is (1/3) base × height. The support volume of an edge in dimension n consists of
2k right pyramids, two in each of the k n-simplices containing the edge. For example the support volume
of a shared edge of two triangles, consists of 4 right triangles. By construction, both the pyramids in each
n-simplex will be congruent and hence of same volume. The base object of each of these is the dual of the
52
Figure 5.4: In DPP-flat the ambiguity about the vector field value at shared edge is resolved by defining a
weighted average vector field on the support volume of the edge. The average vector field is defined as being
constant there. The vectors are weighted by fraction of the support volume of the shared edge that falls in the
corresponding n-simplex (in this case triangles). There is a simple expression for this fraction, as stated in
Prop. 5.5.1. This leads to the definition of the DPP-flat in Def. 5.5.2. In Corollary 6.1.4 we show that these
are the unique factors that make the discrete divergence theorem true.
edge lying inside the n-simplex. This is the quantity |?σ 1 ∩σ n |. Thus the volume of each of the two pyramids
in each σ n is
|σ 1 | 1
|?σ 1 ∩ σ n | .
2 n+1
Thus
|Vσ1 ∩ σ n | 2 |?σ 1 ∩ σ n | (|σ 1 |/2) (1/(n + 1))
=
|Vσ1 | 2 |?σ 1 | (|σ 1 |/2) (1/(n + 1))
Definition 5.5.2. Let K be a simplicial complex of dimension n, and X ∈ Xd (K) a given dual vector field
on K. The discrete DPP-flat is a map [dpp : Xd (?K) → Ω1d (K) and is defined by its evaluation on a primal
1-simplex σ 1 by
D E X | ? σ1 ∩ σn |
(5.5.3) X [dpp , σ 1 = X(σ n ) · ~σ 1
n 1
| ? σ1 |
σ σ
where X(σ n ) · ~σ 1 is the usual dot product of vectors in RN and ~σ 1 stands for the vector corresponding to
σ 1 and with the same direction as the orientation of σ 1 . The sum is over all σ n containing the edge σ 1 . The
volume factors are in n − 1 dimensions. We will sometimes write X [ instead of X [dpp . ♦
In the smooth theory the flat and sharp are inverses of each other. The next proposition shows that at least
the DPP-flat does not have an inverse in the literal sense. We have not investigated yet, if an inverse exists in
some other, for example, averaged sense.
Proposition 5.5.3. The discrete flat [dpp is neither surjective nor injective. Thus it does not even have a
one-sided inverse.
Proof. Fig. 5.5 shows an example of a vector field that is not zero but whose DPP-flat is 0. Since the discrete
DPP-flat function is a linear function of the vector field data, this implies that it is not injective. It is also
53
Figure 5.5: A dual vector field that shows that the [dpp is not one-one. The arrows are based at circumcenters
and are supposed to be of equal lengths and orthogonal to the corresponding outer boundary edge.
not surjective. Just consider an equilateral triangle and a 1-form that takes value 1 on each edge. There is no
vector field whose DPP-flat will give this 1-form.
PPP-flat: Barycentric interpolation inside an n-simplex reduces to barycentric interpolation along the
edge, i.e., linear interpolation along the edge. Thus we have for σ 1 = [v0 , v1 ]
D E Z
X [ppp , σ 1 = X̄ · ~σ 1
σ1
where X̄ is the linear interpolation of the values X(v0 ) and X(v1 ) along σ 1 .
PPD-flat: Here the vectors at the vertices of σ n are linearly interpolated inside the simplex. If X̄ is this
interpolation then for σ n−1 ≺ σ n
D E Z
X [ppd , σ 1 = X̄ · ?σ n−1 .
σ1
PDP-flat: The vector field in Voronoi region of each vertex is constant. Thus for σ 1 = [v0 , v1 ]
D E ~σ 1 ~σ 1
X [pdp , σ 1 = X(v0 ) · + X(v1 ) ·
2 2
X(v0 ) + X(v1 ) 1
= · ~σ
2
PDD-flat: Like the previous case, the interpolated vector field is constant in the Voronoi region of a
vertex. Let σ n−1 ≺ σ n and consider the dual edge ?σ n−1 where the flat is to be evaluated. This dual edge
intersects σ n−1 at the circumcenter c(σ n−1 ). Thus every point on the dual edge is equidistant to every vertex
σ 0 ≺ σ n−1 . Thus clearly the values X(σ 0 ) should be combined with the same factor 1. Indeed this is also
the conclusion of Corollary 6.1.8 of the proof of primal discrete divergence theorem in Chapter 6. In other
words, a primal discrete divergence theorem is true if and only if PDD-flat is defined as below:
D E X
X [pdd , ?σ n−1 := X(σ 0 ) · (?σ n−1 )
σ 0 ≺σ n−1
where we have used ?σ n−1 to mean both the dual edge and the dual edge considered as a vector.
DPD-flat: Here X is made constant inside an n-simplex. Let ?σ n−1 be the dual edge on which we want
to evaluate the flat. We define
D E X
X [dpd , ?σ 1 = X(σ n ) · (?σ n−1 ∩ σ n )
σ n σ n−1
where by abuse of notation, ?σ n−1 ∩ σ n stands for the vector corresponding to the dual edge in σ n .
DDP-flat and DDD-flat: These two require the new barycentric interpolation of Warren et al. [2003] and
we will not use them in this thesis.
X
f¯σn (x) = f (σ 0 ) φσ0 ,σn (x) .
σ 0 ≺σ n
55
X
(∇f¯)Int(σn ) = f (σ 0 )∇φσ0 ,σn .
(5.7.1)
σ 0 ≺σ n
X
∇φv0 ,σn = − ∇φvi ,σn .
1≤i≤n
X
(∇f¯)Int(σn ) =
f (vi )∇φvi ,σn
0≤i≤n
X X
= f (vi )∇φvi ,σn − f (v0 )∇φvi ,σn
1≤i≤n 1≤i≤n
X
= (f (vi ) − f (v0 ))∇φvi ,σn .
1≤i≤n
Thus
X
(∇f¯)Int(σn ) =
(f (vi ) − f (v0 ))∇φvi ,σn .
1≤i≤n
Note that here the coefficients f (vi ) − f (v0 ) are nothing but d f evaluated on the edge [v0 , vi ]. Since
∇f¯ = d f¯ in the simplex interior, the above equation suggests the following definition for a primal-dual
sharp.
Definition 5.7.1. Let f be a discrete 0-form on a primal mesh, σ n a simplex in this mesh and v a vertex of
σ n . Then the discrete primal-dual sharp for exact forms is defined by
X
(d f )]pd , ?σ n := (f (σ 0 ) − f (v))∇φσ0 ,σn .
(5.7.2)
σ 0 ≺σ n
We state without proof that the value is independent of which v is chosen as the distinguished vertex. This is
clear from the calculation of gradient done above. A pictorial depiction of this formula is in Fig. 5.6. ♦
We did not define the primal-dual sharp for general forms because in that case the choice of the vertex
v will in general, affect the answer. One could try to take all vertices of σ n one by one, and use some sort
of weighting, such as |?σ 0 ∩ σ n |/σ n . Then in equation (5.7.2) above, f (σ 0 ) − f (v) would be replaced by
α, [σ 0 , v] where α is the discrete 1-form whose sharp is desired. However, this is an ad hoc weighting and
as we have been stressing, perhaps the right way to build discrete sharps is to first interpolate the discrete
1-forms, using, for example, Whitney maps.
56
Figure 5.6: The geometry of PD-sharp for exact forms. The color coding shows the values that are related.
The arrows are gradients of primal-primal interpolation functions. The sum is taken at a vertex, any vertex
will do and will give the same result. The value of the exact form on each edges incident on that vertex is
used.
Definition 5.8.1. Let K be a flat simplicial complex of dimension n and let α ∈ Ω1d (K) be a discrete primal
1-form. The discrete primal-primal sharp is ]pp : Ω1d (K) → Xd (K) (but we’ll just write ]) and is defined
by its evaluation on a given vertex v as follows
X
X | ? v ∩ σn |
α] (v) = α, [v, σ 0 ]
(5.8.1) ∇φσ0 ,σn .
|σ n |
[v,σ 0 ] σ n [v,σ 0 ]
The outer sum is over all 1-simplices [v, σ 0 ] containing the given vertex v and the inner sum is over all σ n
containing the 1-simplex [v, σ 0 ]. The volume factors are in dimension n. The maps φσ0 ,σn are the primal-
primal interpolation functions. A pictorial depiction is in Fig. 5.7. ♦
Figure 5.7: The geometry of PP-sharp definition. The color coding shows the quantities that are related. The
arrows are the gradients of interpolation functions.
sistency of domains and ranges of mimetic div, grad, curl described on page 85 of Hyman and Shashkov
[1997a]. It is possible that analogous to the discrete Hodge star case some flats and sharps are inverses in
terms of averages but this is something we have not studied yet. Neither have we studied all possible com-
binations of discrete flats and sharps. We also note that we implicitly define a sharp and flat in Tong et al.
[2003] so that div ◦ curl = 0 and curl ◦ grad = 0. Although we do not use DEC formalism there, the above
result, which in exterior calculus is a consequence of sharp and flat being inverses of each other, is reproduced
in Section 9.3. ♦
Definition 5.10.1. Let K be a flat simplicial complex of dimension n, α ∈ Ω1d (K) a discrete primal 1-form
and X ∈ Xd (K) a discrete primal vector field. Then their discrete natural pairing, α(X) at a 0-simplex σ 0
is defined as
α(X)(σ 0 ) = α] (σ 0 ) · (X(σ 0 ))
In future work we intend to consider interpolation of 1-forms using Whitney forms and also into the
support volumes of edges. Once the form is interpolated, one can use the smooth definition of pairing between
58
Chapter 6
Results: In smooth theory, divergence is defined in terms of the Lie derivative of a volume form. We
will define it first via an identity of exterior calculus involving flat operator. We show that we get a primal
and a dual discrete divergence theorem. Corollaries of the proofs of these also show that the factors in the
definition of DPP-flat and PDD-flat are unique. Also, in the 2D case our formula for discrete divergence is
the same as that appearing in other literature such as Polthier and Preuss [2002]. Then we briefly discuss
the other definition of divergence, based on derivative of volume. We define Laplace-de Rham operator,
of which, a special case is the Laplace-Beltrami of functions on manifolds. In a 2D calculation, our DEC
definition reproduces a well-known Laplace-Beltrami formula found in computer graphics by Meyer et al.
[2002]. The formula can also be derived variationally, using a DEC framework, as shown to us recently by
Castrillon Lopez and Fernandez Martinez [2003]. Our discrete gradient is defined using the PD-sharp for
exact forms from the previous chapter and another one using an averaging property of the PP-sharp. For curl
we show a 2D definition and a 3D definition and show that the 2D formula in DEC agrees, modulo an area
factor, with that found by Polthier and Preuss [2002].
Shortcomings: The definition of divergence involves two Hodge stars and a flat operator. It is an identity
in smooth theory that the metric inherent in these, finally enters the divergence formula only via the volume
form. We have not shown that the same is true in discrete theory. However we give some preliminary
comments on the volume based definition of divergence in this chapter. We have derived a 3D curl in our
other work in Tong et al. [2003] that satisfies all the usual vector calculus identities. But we have not yet
reproduced that definition via a DEC derivation. We think that the proper definitions of a general gradient
and 3D curl requires that the sharp operator be build from interpolation of 1-forms, like the flat was built from
interpolation of 0-forms.
60
6.1 Divergence
In the smooth theory, divergence is defined via a Lie derivative by (div X)µ = £X µ where µ is the volume
form associated with the given metric. In future work we plan to explore this definition in the discrete theory.
Some preliminary comments about this are given at the end of this section, in the context of Def. 6.1.9 where a
volume based definition is given. This volume based definition is the straightforward, intuitive interpretation
of the Lie derivative definition.
The main content of this section however, is the definition of a discrete divergence using an identity from
smooth theory. We don’t know yet if Lie derivative based definition and the present definition will turn out
to be identical. But we point out that the present flat based definition does result in a discrete divergence
theorem, for both primal and dual vector fields. This is the content of Theorem 6.1.3 and 6.1.7. First we
prove some lemmas that establish a discrete divergence theorem on a single dual n-cell and a single primal
n-simplex. Later we combine many dual n-cells or primal n-simplices to produce the divergence theorems.
Definition 6.1.1. For a discrete vector field X the discrete divergence, div(X) is defined to be
div(X) := −δX [ = ∗ d ∗X [ .
The above definition is actually a theorem in smooth exterior calculus and a consequence of the Lie derivative
based definition. See, for example, page 458 of Abraham et al. [1988]. If X is a dual vector field, the discrete
flat used above is [dpp . For a primal vector field, [pdd is used. In other words if X ∈ Xd (?K) then
div(X), σ 0 = ∗ d ∗X [dpp
(6.1.1)
Thus for a dual vector field, divergence is a primal 0-form, and for a primal vector field divergence is a dual
0-form. ♦
The divergence defined as above satisfies a discrete divergence theorem. This is proved for a dual vector
field in the following lemma and theorem. For a primal vector field, we only sketch the proof. We will now
prove the discrete divergence theorem for dual vector fields over dual n-cells, starting with the result over a
single dual n-cell.
Lemma 6.1.2 (Divergence Theorem on a Dual n-cell). Let K be a primal mesh, not necessarily flat, and
61
of dimension n, and σ 0 , a vertex in it. Let X ∈ Xd (?K) be a dual vector field on the complex. Then
~σ 1
X X
(6.1.3) |?σ 0 | hdiv(X), σ 0 i = | ? σ1 ∩ σn | X(?σ n ) · .
|σ 1 |
σ 1 σ 0 σ n σ 1
where the edges σ 1 are oriented so that they all point outwards.
Proof. First we indicate why we call this a divergence theorem. Here ~σ 1 /|σ 1 | is a unit normal perpendicular
to the boundary of the region ?σ 0 and pointing outwards. This region is the Voronoi region of the vertex σ 0
where div(X) is being evaluated. The quantity | ? σ 1 ∩ σ n | is the length of the part of the dual edge of σ 1
that is in the simplex σ n . Thus equation (6.1.3) is a statement of the divergence theorem over the Voronoi
region ?σ 0 , i.e., the integral of divergence over this region equals the the flux of X through the boundary of
this region.
In this proof we will write [ as a shorthand for [dpp . Since div(X) = ∗ d ∗X [ , as expected, the divergence
is a scalar. In particular because the flat used is DPP-flat and X is a dual vector field, X [ is a primal 1-form
and so due to the two Hodge stars, div(X) is a primal 0-form. Thus we can compute it at a primal vertex, σ 0 .
This is the quantity
D E
div(X), σ 0 = ∗ d ∗X [ , σ 0 .
1 D [ 0
E 1 D [ 0
E
∗ d ∗X , σ = ∗ ∗ d ∗X , ?σ .
|σ 0 | s |?σ 0 |
Here s is the sign ± as discussed in the Hodge star definition for 0- and n-simplices in Chapter 4. Assume,
without loss of generality, that the orientation of K is the one that makes s = (−1)n−1 . Then, since |σ 0 | = 1,
we get
(−1)n−1 D E
div(X), σ 0 = ∗ ∗ d ∗X [ , ?σ 0
|?σ 0 |
(−1)n−1 D E
= d ∗X [ , ?σ 0
|?σ 0 |
(−1)n−1 D E
= ∗X [ , ∂(?σ 0 ) .
|?σ 0 |
The second equality is by application of definition of Hodge star and the last one above is by application of
discrete Stokes’ theorem. But by Def. 3.6.8 of dual boundary,
X
∂(?σ 0 ) = ?(sσ1 σ 1 )
σ 1 σ 0
where the sign sσ1 = ±1 is chosen to that the edges sσ1 σ 1 all point inwards or outwards, depending on the
orientation of K as explained Def. 3.6.8. In our case, the orientation has been chosen so that they will all
62
point outwards. See Def. 4.1.1 and Def. 3.6.8 for an explanation.
For simplicity of notation in the calculation that follows, we will use σ 1 instead of sσ1 σ 1 . That is, we will
assume that the edges σ 1 have been oriented so that they all point outwards. Now we can use the linearity of
the pairing of forms and chains and write
* +
(−1)n−1 D [ 0
E (−1)n−1 X
∗X , ∂(?σ ) = ∗X [ , ?σ 1
|?σ 0 | |?σ 0 |
σ 1 σ 0
(−1)n−1 X
= h∗X [ , ?σ 1 i .
|?σ 0 | 1 0 σ σ
1 X 1 X |?σ 1 |
0
h∗X [ , ?σ 1 i = hX [ , σ 1 i .
|?σ | 1 0 |?σ | 1 0 |σ 1 |
0
σ σ σ σ
Now we can use the definition of DPP-flat operator and we get that
1 X |?σ 1 | 1 X |?σ 1 | X | ? σ 1 ∩ σ n |
[ 1
(6.1.4) hX , σ i = X(?σ n ) · ~σ 1
|?σ 0 | 1 0 |σ 1 | |?σ 0 | 1 0 |σ 1 | n 1 |?σ 1 |
σ σ σ σ σ σ
1 X X | ? σ1 ∩ σn |
= X(?σ n ) · ~σ 1
| ? σ0 | 1 0 n 1 |σ 1 |
σ σ σ σ
~σ 1
1 X X
1 n n
= | ? σ ∩ σ | X(?σ ) · 1
|?σ 0 | 1 0 n 1 |σ |
σ σ σ σ
~σ 1
X X
0 0 1 n n
|?σ | hdiv(X), σ i = |?σ ∩σ | X(?σ ) · 1
|σ |
σ 1 σ 0 σ n σ 1
Theorem 6.1.3 (Divergence Theorem on a Dual n-Chain). Let c be a dual n-chain which, as a set, is a
simply connected subset of |K|. Then the discrete divergence theorem is true over this set.
Proof. It is enough to show that for two adjacent dual n-cells the contributions due to the shared dual edge
cancel in the RHS of equation (6.1.3). Consider two such adjacent dual n-cells. Let v0 and v1 be the two
vertices of which these are the dual cells. Since the cells are adjacent, there is an edge [v0 , v1 ] and its
dual is the only shared face. That edge appears with opposite signs for the two versions of equation 6.1.3
corresponding to v0 and v1 . The coefficients are otherwise the same. Thus the term corresponding to that
edge cancels.
Corollary 6.1.4 (Uniqueness of DPP-flat). The discrete divergence theorem on a dual n-cell is true if and
63
|?σ 1 ∩ σ n |
.
|?σ 1 |
Proof. Suppose in the proof of Lemma 6.1.2 above we replace the definition of X [dpp in equation (6.1.4) by
one that uses arbitrary factors bσn . Thus we have, in the proof of Lemma 6.1.2, that
1 X |?σ 1 | X
div(X), σ 0 = bσn X(?σ n ) · ~σ 1
|?σ 0 | 1 0 |σ 1 | n 1
σ σ σ σ
~σ 1
1 X X
1 n
= |?σ |bσn X(?σ ) · 1 .
|?σ 0 | 1 0 n 1 |σ |
σ σ σ σ
Since the divergence theorem must be true for any dual vector field X we can choose one which is 0 every-
where except in one σ n σ 0 . Then the divergence theorem is true iff |?σ 1 ∩ σ n | = |?σ 1 |bσn for some
σ 1 ≺ σ n , which implies that
| ? σ1 ∩ σn |
bσ n = .
|σ 1 |
Remark 6.1.5. Divergence of dual vector field in primal is 0: If divergence is computed by Def. 6.1.1,
for a dual vector field inside a primal n-simplex, the DPD-flat is used. An easy calculation shows that then
the divergence at the center of the simplex is 0, because in the calculation, there is a sum of the dot product
of a vector with the dual edges which are scaled so that the sum is 0. Thus one gets the correct answer in this
case. To compute the divergence inside a primal simplex but for a primal vector field, one uses a PDD-flat
and this results in the following Lemma. ♦
Lemma 6.1.6 (Divergence Theorem on a Primal n-simplex). Let K be a flat primal mesh of dimension n,
and σ 0 a vertex in it. Let X ∈ Xd (K) be a primal vector field on the complex. Then
!
n n
X
n−1
X
0 ?σ n−1
(6.1.5) |σ | hdiv(X), ?σ i = |σ | X(σ ) · .
|?σ n−1 |
σ n−1 ≺σ n σ 0 ≺σ n−1
where the orientation of σ n is such that the dual edges ?σ n−1 point outwards. If the given orientation is the
other one then RHS is multiplied by −1.
Sketch of proof. The proof consists of application of the definitions, as in the proof of Lemma 6.1.2. The
only difference is that PDD-flat is used. Thus the vector field is interpolated to be constant in the Voronoi
dual of each primal vertex.
Theorem 6.1.7 (Divergence Theorem on a Primal n-chain). Let c be a primal n-chain which, as a set, is
a simply connected subset of |K|. Then the discrete divergence theorem is true over this set.
64
Sketch of proof. It is enough to show this for two adjacent primal n-simplices. It follows due to the fact that
the shared face is oriented oppositely by the adjacent simplices while the vector field data is the same. This
causes a cancellation giving us the proof over the two simplices.
Corollary 6.1.8 (Uniqueness of PDD-flat). The discrete divergence theorem on a primal n-simplex is true
if and only if the factors in the PDD-flat definition in Section 5.6 are 1.
Now we will give the formal definition of divergence via the volume form. We have not worked out the
resulting discrete formula in all cases, but in 2D, it appears to give the same result as the definition used
above.
Definition 6.1.9. Let X be a discrete primal vector field on a flat complex K and σ 0 a vertex in K. Extend
X to X̄ in any smooth fashion to a neighborhood of the boundary vertices of the one-ring St(σ 0 ) around σ 0 .
Then the discrete divergence on the one-ring is defined by
0 0 d
|ϕt (St(σ 0 ))|
div(X), σ |St(σ )| :=
dt t=0
where ϕt is the affine simplicial homeomorphism extended from from the flow of X̄ restricted to the ver-
tices. ♦
We intend to explore this definition in future work. The nice property of this is that the metric enters only
via the volume form as it should.
6.2 Gradient
In smooth theory the gradient of a function is (d f )] . Thus it converts the metric independent quantity into
a metric dependent one. For a primal 0-form the gradient can easily be computed in the interior of the
primal simplex by first interpolating the 0-form from the vertices to the interior using the affine, barycentric
interpolation functions, and then taking the gradient. Since the interpolation is affine, the gradient is a constant
vector and we can associate it with the dual of the simplex. This is the primal-dual gradient defined below.
For the primal-primal gradient, one has to necessarily combine the information from the one ring around a
vertex in some way, and for now we propose an ad hoc method using the primal-primal sharp.
As we mentioned in Section 5.8, the right way to define sharp is to interpolate 1-forms first. But we have
not done that in this thesis, and instead we have given an ad hoc definition. Similarly one can give ad hoc
definitions for dual-dual and dual-primal sharps and consequently for those gradients. But we will not do
that here. In summary, the only reliable gradient we give here is the obvious one, the primal-dual gradient.
We note however, that our primal-primal gradient, when interpreted for regular nonsimplicial 2D rectangular
65
mesh, gives a standard, finite difference formula for the gradient. The primal-dual and primal-primal gradients
are defined below.
Definition 6.2.1. Let K be a primal mesh of dimension n and f ∈ Ω0d (K) a discrete primal 0-form, i.e., a
real valued function on the vertices of K. Then the discrete primal-dual gradient of f written gradpd f or
∇pd f is defined as (df )]pd . That is, using Definition 5.7.1 of discrete ] its value on ?σ n is:
X
(d f )]pd , ?σ n := (f (σ 0 ) − f (v))∇φσ0 ,σn
(6.2.1)
σ 0 ≺σ n
where v is a vertex of σ n and we state without proof that the definition is independent of which v is chosen.
Given a vertex v ∈ K the discrete primal-primal gradient of f is defined as (d f )]pp by
X X |?v ∩ σ n |
f (σ 0 ) − f (v)
(6.2.2) (∇pp f )(v) := ∇φσ0 ,σn .
|σ n |
σ 1 =[v,σ 0 ] σ n [v,σ 0 ]
The outer sum is over all 1-simplices [v, σ 0 ] containing the given vertex v and the inner sum is over all σ n
containing the 1-simplex [v, σ 0 ]. The volume factors are in dimension n. The maps φσ0 ,σn are the primal-
primal interpolation functions. ♦
6.3 Curl
In vector calculus, curl is usually defined in dimension 3 and sometimes as a scalar in dimension 2. In the
smooth exterior calculus notation these are, ∗ d X [ in dimension 2 and (∗ d X [ )] in dimension 3, where X
is a smooth vector field in R2 or R3 respectively. In geometric mechanics the use of curl may be replaced
by d of a 1-form. One example is vorticity in fluid mechanics, which is d u[ in geometric theory of fluid
mechanics, but curl u in the more common engineering literature. Notice that the sharp is not required in the
geometric mechanics definition of vorticity. In any case, having a discrete curl in exterior calculus is useful
for translating equations that have been written using curl. Due to the multiplicity of discrete sharps and flats
there will be many definitions of discrete curls. We have not explored all these, and give only one definition
each in the 2D and 3D case.
We first define the 2D curl and show that the DEC definition results in the same formula, modulo an area
factor, as one found by Polthier and Preuss [2002]. This is the content of Rem. 6.3.2.
Definition 6.3.1. Let K be a primal mesh of dimension 2 and X ∈ Xd (?K) a dual vector field. Then the
discrete 2D dual-primal curl is defined by
curldp X = ∗ d X [dpd .
66
Q P
B
C A
Remark 6.3.2. DEC 2D curl compared to Polthier and Preuss [2002]: The DEC definition of the 2D
dual-primal curl coincides with one found by Polthier and Preuss [2002], modulo an area factor that their
definition does not have. Consider the configuration shown in Fig. 6.1. According to Polthier and Preuss
[2002], the discrete curl in 2D that assigns vectors to primal nodes is
1 X
curl(X), σ 0 = X(?σ 2 ) · ~σ 1 (σ 2 )
2 2 0
σ σ
where σ 1 (σ 2 ) is the outer edge of triangle σ 2 . Let us compute the DEC version of the 2D curl. For simplicity
of notation we will use [ instead of [dpd . Since ∗ d X [ is a 0-form, we can evaluate it at a vertex σ 0 . In
Fig. 6.1 this is marked as the point O whose one-ring is shown in that figure. Let the complex shown in the
figure be oriented by orienting each triangle counter clockwise. By definition of discrete Hodge star we have
1 D [ 0
E 1 D
[ 0
E
? d X , σ = d X , ?σ .
σ0 −|?σ 0 |
1 D E
curl X, σ 0 = [ 0
X , ∂(?σ ) .
−|?σ 0 |
By the definition of dual boundary, and because of the orientation chosen for the complex we get
1 X D E
curl X, σ 0 = X [ , ∂(?σ 0 )
|?σ 0 |
σ 1 σ 0
where the negative sign has canceled with the one coming from the dual boundary definition and all the σ 1
are pointing outwards.
The flat to be used is the DPD-flat. This consists of simply taking the dot product of the vector inside
each triangle with the dual edges, when evaluating X [ on the dual edges. This is because in DPD-flat the dual
67
vector field inside the triangle is interpolated to be constant inside the triangle. Thus the above RHS becomes
1 X X
X(?σ 2 ) · (?σ 1 ∩ σ 2 ) .
|?σ 0 | 1 2 1
σ σ σ
1 X X
curl X, σ 0 = X(?σ 2 ) · (?σ 1 ∩ σ 2 ) .
0
|?σ | 2 0 1 2
σ σ σ ≺σ
X(?σ 2 ) · (?σ 1 ∩ σ 2 ) in
P
In the case of the triangle shown with the dual edges in Fig. 6.1, the term σ 1 ≺σ 2
1 −−→
X(B) · P Q .
2
But
−−→ −−→ −−→ −−→ −→ 1 −−→
X(B) · AB + X(B) · BC = X(B) · (AB + BC) = X(B) · AC = X(B) · P Q
2
where the last equality is due to the elementary geometric fact that the length of the edge joining midpoints
of two sides is half the remaining side of the triangle and in the same direction as it. Thus the DEC formula is
the same as the one given in Polthier and Preuss [2002] except that we have an additional factor of 1/|?σ 0 |. ♦
For the 3D curl one needs to define sharp operator. We have given a primal-dual sharp for exact forms
and a primal-primal sharp in Chapter 5. Of these, only the primal-dual sharp for exact forms is satisfactory.
Thus the correct formulation of 3D discrete curl will have to wait a better development of sharp, which will
possibly involve interpolation of 1-forms. For completeness we give here the definition of a discrete 3D curl
using the usual smooth exterior calculus definition of curl.
Definition 6.3.3. Let K be a flat simplicial complex of dimension 3. Let X ∈ Xd (K) be a discrete primal
vector field. Then the discrete 3D curl is defined by
Remark 6.3.4. Curl and vector calculus identities: Recall that in smooth exterior calculus the identity
div ◦ curl = 0 follows from the fact that d2 = 0. This is because div(curl(X)) = d ∗ ([∗(dX [ )]][ ) and ]
is the inverse of [. However as we pointed out in Section 5.9, in the discrete case we have to use the right
combination of ] and [. For example, in this chapter we have used a dual-primal flat and a primal-primal
68
xi βij
α ij
xj
Figure 6.2: The variable names used in formula (6.4.1) for the Laplace-Beltrami of a triangle mesh, found by
Meyer et al. [2002]. The complex does not have to be flat.
sharp. The composition has no chance of being identity. We point out that various vector calculus identities
are true in our vector field decomposition work Tong et al. [2003]. The proof is reproduced in Section 9.3.
Thus the information about the right flat and sharp to use is probably hidden in that work. ♦
6.4 Laplace-Beltrami
The Laplace-Beltrami operator is the generalization to curved surfaces, of the usual Laplacian of flat space.
In the smooth case the Laplace-Beltrami operator on smooth functions is defined to be ∇2 = div ◦ curl = δd.
See, for example, page 459 of Abraham et al. [1988]. In the smooth case the Laplace-Beltrami on functions is
a special case of the more general Laplace-deRham operator ∆ : Ωk (M ) → Ωk (M ) defined by ∆ = dδ+δd.
In this section we show that this definition of Laplace-Beltrami leads to a well-known formula for discrete
Laplace-Beltrami found by Meyer et al. [2002]. The formula that they found was
1 X
(6.4.1) ∆f (xi ) = (cot αij + cot βij ) (f (xi ) − f (xj ))
2A
j∈N1 (i)
where the angles and points shown are marked in Fig. 6.2. The term A stands for an area around the point xi .
Meyer et al. [2002] also showed that the use of the Voronoi area around the vertex is optimal in some sense.
Recently, Castrillon Lopez and Fernandez Martinez [2003] showed us that the Laplace-Beltrami we derive
can be obtained from a discrete variational principle, by extremizing a discrete Dirichlet energy. This shows
that, at least in this case of harmonic maps, discretizing the smooth Lagrangian and obtaining the discrete
Euler-Lagrange equations gives the same result as first obtaining the Euler-Lagrange equations and then
discretizing them. Thus in this case the application of variational principle commutes with discretization via
DEC.
∆f, σ 0 = δdf, σ 0
= − ∗d ∗ df, σ 0 .
Now by using the definition of discrete Hodge star followed by the discrete Stokes’ theorem we get
|σ 0 |
∗d ∗ df, σ 0 = d ∗ df, ?σ 0
−|?σ | 0
−1
∗df, ∂(?σ 0 ) .
=
|?σ 0 |
The explanation for the use of signed volume −|?σ 0 | was given in Rem. 4.1.2. Thus
where sσ1 = ±1 is a sign, that depends on the orientation of K and σ 1 . In dimension 2, with triangles of
K oriented counterclockwise, the definition of dual boundary dictates that the edges sσ1 σ 1 are all pointing
outwards. For simplicity, as usual, in the following we will set σ 1 to be sσ1 σ 1 , which means that all edges
incident on σ 0 are now all pointing outwards. Thus,
* +
X
0 1
∗df, ∂(?σ ) = ∗df, ?σ
σ 1 σ 0
X
∗df, ?σ 1 .
=
σ 1 σ 0
|?σ 1 |
∗df, ?σ 1 = df, σ 1 .
1
|σ |
df, σ 1 = f (v) − f (σ 0 )
1 X |?σ 1 |
∆f, σ 0 = (f (v) − f (σ 0 )) .
(6.4.2)
|?σ 0 | |σ 1 |
σ 1 =[σ 0 ,v]
70
Then a geometric calculation shows that the above expression is the same as the formula (6.4.1) found by
Meyer et al. [2002], without using discrete exterior calculus. As mentioned before, this formula is also ob-
tained by a discrete variational principle as shown to us recently by Castrillon Lopez and Fernandez Martinez
[2003].
Chapter 7
Wedge Product
Results: As in the smooth case, the discrete wedge product we will construct is a way to build higher
degree forms from lower degree ones. Some common applications of the wedge are, for example in defining
the Lagrangian for harmonic maps, as d f ∧ ∗ d f . In spacetime electromagnetism in vacuum, starting with a
1-form A one defines the Lagrangian using d A ∧ ∗ d A. Thus the wedge product is of practical significance
in important applications. In this thesis we give two different definitions for the primal-primal wedge, one of
which is due to Castrillon Lopez [2003], and we state some of the properties that our primal-primal wedge
satisfies.
Shortcomings: For a complete treatment, the dual-dual and primal-dual discrete wedge products should
be defined. We only give speculative suggestions for the other cases here. One definition of primal-primal
wedge we give, uses the metric. This use of metric is not satisfying because in the smooth theory, the
definition does not use the metric. Furthermore, the discrete wedge should commute with discrete pullbacks.
The metric dependent definition doesn’t. Recently Castrillon Lopez [2003] showed us a definition of discrete
wedge which does not use the metric and which commutes with discrete pullbacks. We include it here for
completeness.
Definition 7.1.1. Given a primal discrete k form αk ∈ Ωkd (K) and a primal discrete l form β l ∈ Ωld (K) the
discrete primal-primal wedge product ∧ : Ωkd (K) × Ωld (K) → Ωk+l
d (K) defined by the evaluation on a
where Sk+l+1 is the permutation group and its elements are thought of as permutations of the numbers
0, . . . , k + l. Here sign(τ ) is the sign of the permutation τ , being +1 if τ is even and −1 if it is odd.
The notation τ (σ k+l ) stands for the simplex [vτ (0) , . . . , vτ (k+l) ]. Finally the notation (α ^ β)(τ (σ k+l )) is
borrowed from algebraic topology (see, for example, page 206 of Hatcher [2002]) and is defined as
The above expression looks complicated but the idea behind it, and its computation is really simple. What
it amounts to, is evaluating the forms α and β on the k and l simplices emanating from each vertex of the
simplex σ k+l on which the wedge product is being evaluated. The sign of the permutation τ is there to
provide the anti commutativity property. The volume factor is provided to make the computation democratic,
by giving an appropriate weight to each vertex of σ k+l . The following example of wedge product between
two 1-forms should clarify the notation.
Example 7.1.2. Let α and β be two 1-forms whose wedge product has to be computed, so k = l = 1.
The definition above gives the value of α ∧ β on a triangle σ 2 = [v0 , v1 , v2 ]. According to the definition
above the permutation group to be used is S1+1+1 = S3 . Thus τ are elements of the set of permutations of
{0, 1, 2}. We will write the elements of S3 as 1-0-2, 2-0-1, 0-1-2, 2-1-0, 1-2-0 and 0-2-1 with the obvious
interpretation. The signs of these are −, +, +, −, + and − respectively. Let the volume factors appearing
in (7.1.1) be denoted by C0 , C1 and C2 , i.e., let
|σ 2 ∩ ?vi |
Ci = .
|σ 2 |
Then
1
(7.1.2) hα ∧ β, [v0 , v1 , v2 ]i = [−C0 hα, [v1 , v0 ]ihβ, [v0 , v2 ]i + C0 hα, [v2 , v0 ]ihβ, [v0 , v1 ]i
2
+ C1 hα, [v0 , v1 ]ihβ, [v1 , v2 ]i − C1 hα, [v2 , v1 ]ihβ, [v1 , v0 ]i
Thus the formula says to go around the 3 vertices of the triangle evaluating α and β on the two edges
73
β
Figure 7.1: Pictorial depiction of 1 term in the sum in equation (7.1.2).
emanating from the vertex, then switching the arguments with an appropriate sign. The weighting factor is
the area of the triangle corner obtained by intersecting the Voronoi cell of the vertex with the triangle divided
by the area of the triangle. A pictorial depiction of 1 term in the equation above is in Fig. 7.1.
The definition Def. 7.1.1 discussed above has some nice properties and some undesirable properties. If
a smooth volume k-form and a volume l-form are discretized and their primal-primal wedge computed on a
(k + l)-simplex, the result is the volume of the simplex. Also, this wedge satisfies most of the properties of
the smooth wedge. Specifically the following lemma is true.
Lemma 7.1.3. The discrete wedge product ∧ : Ωkd (K) × Ωld (K) → Ωk+l
d (K) satisfies the following proper-
ties:
(iii) Associativity for closed forms For αk ∈ Ωkd (K), β l ∈ Ωld (K), γ m ∈ Ωm k
d (K), such that dα = 0,
Remark 7.1.4. Lack of associativity: According to Givental [2003] this lack of associativity in general,
and a special status for closed forms, is not an accident. Putting the “democratic weighting” aside, the wedge
definition works for any simplicial complex (such as singular cochains, for instance). It is known that it is
in principal impossible to make a universal definition anti-commutative and associative. This phenomenon
has been studied a lot in algebraic topology or homological algebra and gives rise to the concepts of Massey
products and homotopy-associative algebras.
In our situation, one can define on the chain complex (C ∗ , d) a sequence of operations: the binary
operation a, b 7→ ab (the wedge product), some triple operation a, b, c 7→ [a, b, c] etc. such that the deviation
of each operation from some kind of associativity property is measured by the differential of the previous
operation. The key example is:
The signs correspond to even a, b, c and in general should be changed by the factors
in the last two summands. This implies that the product is associative on the cohomology i.e. when a, b, c
are closed, then (ab)c − a(bc) is exact. Our statement that it is not just exact but 0 is a bit surprising but not
impossible in this context. ♦
Remark 7.1.5. Wedge product and interpolation of forms: It has been pointed out by Sen et al. [2000]
that if the wedge product is defined by first interpolating the discrete forms by using the Whitney maps, the
resulting wedge product is still non-associative. Intuitively, this lack of associativity, and the lack in our case,
stem from the fact that one is not defining the wedge product pointwise. Thus it seems that one must not only
interpolate, but also specify, say, a vertex at which the evaluation must take place, to have a good chance of
getting associativity. This point of view seems to appear in Hiptmair [2002a] and we intend to explore this in
future work. ♦
Remark 7.1.6. Absence of naturality under pullback: Consider a simplex σ n and an affine map ϕ : Rn →
Rn . Then in general the circumcenter is not invariant under such maps. That is, in general ϕ(c(σ n )) 6=
c(ϕ(σ n )). Now suppose that we are given two simplicial complexes with a simplicial homeomorphism ϕ
between them. If we use Def. 7.1.1 for the wedge then in general the wedge will not commute under discrete
pullback. That is, in general we will not have that
This appears to be not a good sign for that discrete definition, since the above property in the smooth theory
should follow from the change of variables theorem. Fortunately, the alternative definition presented in the
next section does satisfy this property. ♦
Definition 7.2.1 (Castrillon Lopez [2003]). Given a primal discrete k form αk ∈ Ωkd (K) and a primal
discrete l form β l ∈ Ωld (K) the natural (in the sense of commuting with discrete pullbacks) discrete primal-
primal wedge product ∧ : Ωkd (K) × Ωld (K) → Ωk+l
d (K) defined by the evaluation on a k + l simplex
1 X
αk ∧ β l , σ k+l := sign(τ )(α ^ β)(τ (σ k+l )) .
(7.2.1)
(k + l + 1)!
τ ∈Sk+l+1
75
Remark 7.2.2. Comparison of factors: In the above definition, equation (7.2.1) can be rewritten as
1 X
αk ∧ β l , σ k+l = sign(τ )(α ^ β)(τ (σ k+l ))
(k + l + 1)(k + l)!
τ ∈Sk+l+1
1 X 1
= sign(τ ) (α ^ β)(τ (σ k+l )) .
(k + l)! k+l+1
τ ∈Sk+l+1
Thus a metric dependent factor has been changed into a constant factor. This is what makes Def. 7.2.1 natural
under discrete pullback. Note also that
been left out) by the evaluation on a k + l dual cell σ̂ k+l = ?σ n−k−l = ?[v0 , . . . , vn−k−l ] as follows.
· hα̂ , ?[vτ (0) , . . . , vτ (l−1) , vk+l , . . . , vn ]ihβ̂ l , ?[vτ (l) , . . . , vτ (k+l−1) , vk+l , . . . , vn ]i
k
76
where σ n = [v0 , . . . , vn ], and we have without loss of generality assumed that σ n−k−l = ±[vk+l , . . . , vn ].
Here we have left out the factor to be used, and that is for future work.
As mentioned in the preamble of this chapter, in some important applications, the Lagrangian can be
written as α ∧ ∗α. These are a complementary primal-dual pair, i.e., their degrees sum to n. The cochain
obtained by such a wedge product of a k and (n − k)-form could be defined on the support volumes of all the
k-simplices. Recall that these tile the underlying space |K|.
Let αk ∈ Ωkd (K) be a primal k-form and β̂ n−k ∈ Ωn−k
d (?K) a dual (n − k)-form. Thus α and β̂ are
a complementary primal-dual pair. The discrete primal-dual wedge product ∧ : Ωkd (K) × Ωn−k
d (?K) →
Ωnd (Vk (K)) can be defined by the evaluation on the support volume of a k-simplex as follows. Here
Ωnd (Vk (K)) are the cochains on the n-cells that are the support volumes of k-simplices. The value of
D E
αk ∧ β̂ n−k , Vσk
1 1 k
2 n |σ | |?σ k ∩ σ n |
.
Vσ k
Here the numerator is the volume of that part of support volume Vσk that is formed by σ k and its dual and
lies inside some σ n . But again these factors are metric dependent, which may not be good.
However, recently Castrillon Lopez and Fernandez Martinez [2003] used a similar construction in the
special case of n = 2 and k = 1 to do a discrete variational derivation of the Euler-Lagrange equation for
d f ∧ ∗ d f . The solutions of these are harmonic maps on a surface. Their variational derivation yielded the
same Laplace-Beltrami operator that we defined in Chapter 6. They have shown that starting from a smooth
Lagrangian, one can derive the equation for harmonic maps and discretize it, or discretize the Lagrangian
and derive the discrete equation for harmonic maps using DEC. In both cases the resulting discrete Euler-
Lagrange equations are the same.
77
Chapter 8
Results: In this thesis, we are trying to build a discrete exterior calculus which treats vector fields and
forms as separate entities, as does smooth theory. One motivation is that Lie derivatives of forms and vector
fields are two very different things. This is expanded upon in Sec. 8.1 below. In this chapter we will discuss
interior product and Lie derivatives of forms. First, we will derive an identity relating smooth interior product
to Hodge star and wedge products. This yields an algebraic, discrete interior product. However since in
the discrete theory we are only concerned with integrals of forms we can use the notion of extrusion of a
manifold by the flow of a vector field to define integral of interior product. This is an idea of Bossavit [2003]
and it leads to another definition of discrete interior product. A similar distinction exists in our discrete Lie
derivative definition. Use of the Cartan homotopy formula leads to an algebraic definition of Lie derivative,
and a flow-out formula that we prove, leads to another, flow based definition. In this Chapter we argue that
interpolation of forms becomes a must for a proper definition of Lie derivative.
Shortcomings: Our algebraic definition of interior product uses metric information in the form of Hodge
star and flat. We prove here that in the smooth case this metric dependence cancels out. But we don’t know
if this cancellation happens in the discrete case also. We have not studied carefully which properties are
satisfied by the two definitions of interior product we give here. Nor have we studied if the two are the same
in the discrete case.
A wedge product is involved in the algebraic definition. Thus the Lie derivative of a wedge product
ends up with a wedge of three forms, if the algebraic definition is used. Due to the lack of associativity for
general forms, one risks losing the important property of Leibniz rule for Lie derivative, except perhaps, for
closed forms. This was pointed out to us by Alan Weinstein. We give here the discrete version of the flow-
out formula for Lie derivative, to the extent possible without interpolation of forms. This is one of the key
examples that shows the importance of interpolation of forms. In fact Bossavit [2003] uses the interpolation
approach approach for interior product. But we haven’t seen a Lie derivative development like this. Neither
have the properties of such an interior product been studied in detail.
The smooth definition of Lie derivative, and hence this interpolated one, depends on derivatives. Hence,
78
ultimately, the discrete definition for higher degree forms may turn out to be independent of the extension
(interpolation) used. Finally, we do not discuss the Lie derivatives of vector fields at all in this thesis.
∂ ∂ ∂
F = F1 + F2 + F3
∂x ∂y ∂z
we can identify it with the 1-form F [ = F1 dx + F2 dy + F3 dz. With the standard inner product on R3 we
can identify F also with the 2-form ∗(F [ ) = F3 dx ∧ dy − F2 dx ∧ dz + F1 dy ∧ dz. Most previous works
on DEC like theories that do talk about vector fields, do so in this way, by using vector fields as proxies for
differential forms. One exception is the work of Bossavit [2003]. The cost of this choice, and the importance
of the exterior calculus approach, has become clear in computational electromagnetism. Many researchers
in that field have explained this in their papers and books. For excellent treatments see for example Bossavit
[1991]; Mattiussi [2000].
Our motivation for keeping forms and vector fields distinct is our introduction of a discrete Lie derivative
into the theory. Lie derivative of a tensor is its derivative along the flow of a vector field. Arnol0 d [1989] has
also called it the fisherman’s derivative (page 198 of Arnol0 d [1989]) :
the flow carries all possible differential-geometric objects past the fisherman, and the fisherman
sits there and differentiates them.
79
See Abraham et al. [1988] for a thorough treatment of Lie derivatives of tensors and vector fields. Lie
derivatives of forms and vector fields are very different things. For example, if α is a 1-form and X a vector
field in R3 then in general
(£X α)] 6= £X (α] ) .
Thus if one was to identify 1-forms α or 2-forms β with their corresponding vector fields α] and (∗β)] then
the Lie derivative along a vector field X would turn out to be wrong. This is why in certain applications it is
very important to keep the distinction between forms and vector fields.
iX α(X1 , . . . , Xk ) = α(X, X1 , . . . , Xk ) .
Thus it is an operator that does not depend on the metric. We will first define the interior product by using
an identity that is true in smooth exterior calculus. Since we have not seen this identity we state it here with
proof. As the proof shows, the metric dependence cancels out in the smooth case.
Lemma 8.2.1. Given a smooth manifold M of dimension n and a vector field X ∈ X(M ) and a k-form
α ∈ Ωk (M ) we have that
Proof. For properties of the interior product that we use in this proof see page 429 of Abraham et al. [1988].
Recall that iX is R-linear. Moreover, for a smooth function f ∈ Ω0 (M ) we have that if X α = f iX α. This
is due to the multilinearity of α. As a result it is enough to show the result in terms of basis elements. In
particular let τ ∈ Sn be a permutation of the numbers 1, . . . n such that τ (1) < . . . < τ (k) and τ (k + 1) <
. . . < τ (n). Since the identity (8.2.1) to be proved is a pointwise statement, pick a chart on M around
an arbitrary point x ∈ M and let e1 , . . . , en and e1 , . . . , en be respectively the bases for the tangent and
cotangent spaces Tx M and Tx∗ M . Let X = eτ (j) for some j ∈ {1, . . . , n} and let α = eτ (1) ∧ . . . ∧ eτ (k) .
80
(8.2.2) ieτ (j) eτ (1) ∧ . . . ∧ eτ (k) = (−1)k(n−k) ∗ (∗(eτ (1) ∧ . . . ∧ eτ (k) ) ∧ eτ (j) ) .
τ (j) means eτ (j) is omitted from the wedge product. Now on the RHS of (8.2.2) we have
otherwise. Here ed
that
∗(eτ (1) ∧ . . . ∧ eτ (k) ) = sign(τ )(eτ (k+1) ∧ . . . ∧ eτ (n) ) .
This is
s eτ (1) ∧ . . . ∧ ed
τ (j) ∧ . . . ∧ eτ (k)
for the standard volume form µ = e1 ∧ . . . ∧ en . This shows that s = (−1)j−1 (−1)k(n−k) sign(τ ). (This
technique to determine signs of wedge product involving permuted basis elements also appears on page 412
of Abraham et al. [1988]). Thus RHS = LHS as required.
Definition 8.2.2 (Algebraic). Let K be a simplicial complex, X ∈ Xd (K) a primal discrete vector field and
α ∈ Ωpd (?K) a dual p-form. Then the discrete primal-dual interior product is defined as
iX α := (−1)p(n−p) ∗ (∗α ∧ X [ ) .
A valid criticism of such a definition is the metric dependence. We saw in the proof of Lemma 8.3.2 that
the metric dependence cancels out in the smooth case. But we don’t know if the same is true in the discrete
case. This will be studied in future work. In the next section we give a different definition of interior product.
81
This has appeared in Bossavit [2003] and is given here for completeness.
Definition 8.3.1. Let M be a smooth manifold of dimension n and X ∈ X(M ) a smooth vector field on
it. Let S be a submanifold (dimension k, with k < n). As S is carried by the flow for a time t, it stays a
submanifold if t is less than the lifetime of every point on S. We will call such a submanifold at time t the
flowed-out submanifold and denote it by St . We will call the manifold obtained by sweeping S along the
flow of X for time t as the extrusion of S by X for time t and denote it by EX (S, t). ♦
Then by first fundamental theorem of calculus the desired result will follow. To prove the above, take coordi-
nates on S and carry them along with the flow and define the transversal coordinate to be the flow of X. This
is the proof that Bossavit [2002a] sketches.
Using the identity in equation (8.3.1) we shall define a discrete interior product like Bossavit [2003]. The
idea is to define the discrete interior product by using a discretization of equation (8.3.1). The discrete version
then is not an identity to be proved but true by definition. We don’t claim that such a discretization converges
to the smooth identity. As in the rest of the thesis, we leave such convergence questions for future work.
Now let X ∈ Xd (K) be a discrete primal vector field and β ∈ Ωk+1
d (K), a primal discrete (k + 1)-form.
Using RN in place of M and a k-simplex σ k ∈ K in place of the submanifold S we get the following discrete
82
We will define the interior product on a primal (k + 1)-simplex σ k+1 σ k . Since the interior product is
linear w.r.t X it is enough to give the definition in terms of a basis vector of the plane of σ k+1 . The corner
basis of σ k+1 consists of k vectors that span σ k and 1 vector along an edge σ 1 . We will now derive the
discrete definition for iσ~1 β from the discretized identity 8.3.2. It will be clear from the derivation that if any
of the other basis elements are chosen, which all span the plane of σ k , the interior product will be 0. This is
the discrete analogue of the property that iX ◦ iX = 0. As mentioned at the start of this Section, the vector
fields allowed in our definition are restricted to be along edges.
We will do the derivation by first interpolating the primal vector which is ~σ 1 based at σ 0 and 0 on all
other nodes. Parameterize the edge σ 1 with t ∈ [0, 1]. Assume without loss of generality that σ 0 is the origin
of Rk+1 , in which σ k+1 is embedded. Let ~x = (x0 , . . . , xk ) be coordinates on Rk+1 . In these coordinates,
the vector field along σ 1 is ~x˙ (t) = ~σ 1 (1 − t). Since ~x(0) = 0, the solution of this system of ODEs is
~x(t) = σ 1 (t − (t2 )/2.
Now E~σ1 (σ k , t) is a (k + 1)-simplex that is a subset of σ k+1 . It also has the same base as σ k+1 and
this base is σ k . In fact it is the simplex obtained by joining the point ~x(t) ∈ Rk+1 to all the points in σ k by
straight lines. Now we will assume that the value of a discrete form on part of a simplex is proportional to
the ratio of volumes of that part and the full simplex. With this assumption, we have
β, E~σ1 (σ k , t) |E~σ1 (σ k , t)|
=
hβ, σ k+1 i |σ k+1 |
(1/(k + 1)) |σ k | h(t)
=
(1/(k + 1)) |σ k | h
where h(t) is the height of ~x(t) above σ k and h is the height of the other end point of σ 1 above σ k . By
geometry, this ratio of heights h(t)/h is
h(t) k~x(t)k
=
h kσ 1 k
k~σ 1 k t2
= |t − | .
|σ 1 | 2
Thus, for t ≤ 1
β, E~σ1 (σ k , t) t2
1
k+1
= k+1 β, σ t−
hβ, σ k+1 i σ 2
i~σ1 β, σ k = β, σ k+1 .
|σ k+1 |
83
Thus interior product of an edge vector ~σ 1 with a (k + 1)-form, evaluated on a simplex σ k , is the average
value on the (k + 1)-simplex built from the edge σ 1 and the simplex σ k .
This possibility was pointed out to us by Weinstein [2003]. We don’t know whether this is a problem in
practice or not, but indeed Leibniz property of the Lie derivative is an important property, and its lack probably
will be a problem in applications. Nevertheless we give the algebraic definition below.
Definition 8.4.1. Let K be a simplicial complex, X ∈ Xd (K) a primal discrete vector field and ω ∈ Ωpd (?K)
a dual p-form. Then the discrete primal-dual Lie derivative is defined using the interior product and the
Cartan magic (or homotopy) formula (see Abraham et al. [1988] as
£X ω := iX dω + diX ω .
just those along edges. We agree with this argument and intend to pursue the interpolation approach in future
work. For completeness however, we now state and prove the identities referred to above.
Proof. By the Lie Derivative Theorem (Theorem 6.4.1 of Abraham et al. [1988]) we have that for any τ ≤ t
d ∗
Fτ∗ (£X β) = F β.
dτ τ
Integrating both sides from 0 to t and using the fact that F0∗ β = β we get
Z t
Fτ∗ (£X β)dτ = Ft∗ β − β .
0
In the above equation both sides are k-forms on M and are functions of t, so they are time dependent k-forms
on M . Being k-forms on M they can be integrated on a k-dimensional submanifold of M . Integrating both
sides on S we get Z Z t Z Z
Fτ∗ (£X β)dτ = Ft∗ β − β.
S 0 S S
Ft∗ β =
R R
Now interchange the order of integration on the LHS and on RHS use the fact that S St
β. This
yields Z tZ Z Z
£X βdτ = β− β.
0 Sτ St S
Both sides are real valued functions of t. Taking derivative w.r.t t of both sides and using the first fundamental
theorem of calculus we get Z Z
d
£X β = β.
St dt St
To derive a discrete definition of Lie derivative from the flow-out formula (8.5.1) we sketch the idea with
an example. Suppose the mesh consists of 1 tetrahedron [v0 , v1 , v2 , v3 ] and we are given a discrete primal
1-form α. Let X be the primal vector field taking the value ~σ 1 at v1 , where ~σ 1 is the vector along the edge
[v1 , v2 ]. See Fig. 8.1. At the other nodes, X is 0. We are interested in computing the Lie derivative £X α and
evaluating it on the edge [v0 , v1 ].
By a reasoning exactly similar to the one carried out in the case of the extrusion based formula for interior
product, we get to a step that requires the computation of the value of the 1-form α on the edge [v0 , ~x(t)]
where ~x(t) is a point along the edge [v1 , v2 ]. Then a time derivative of this value has to be taken. Due to this,
it may turn out that the answer finally only depends on the value of α on [v0 , v1 ] and the vector along [v1 , v2 ].
Nevertheless, we see here that the intermediate step requires the interpolation of α so it can be evaluated
85
v3
v2
v0
v1
Figure 8.1: The configuration for computing the flow-out formula of Lie derivative of a 1-form. The vector
field is nonzero only at v1 and has the length and direction of the edge [v1 , v2 ]. It is linearly interpolated to
be 0 at vertex v2 . This is the restriction, to an edge, of the barycentric interpolation of the vector field inside
the tetrahedron. We wish to evaluate the Lie derivative of a 1-form on the edge [v0 , v1 ].
on [v0 , ~x(t)] which lies inside the triangle [v0 , v1 , v2 ] and somewhere between the primal edges [v0 , v1 ] and
[v0 , v2 ]. But once interpolation of forms is accepted as a method, one might as well just use the definition of
the smooth Lie derivative. This is the plan we intend to pursue further in our future work. We sketch the idea
using 0-forms.
Remark 8.5.2. Interpolation Lie Derivative for Zero Forms: Consider for example a flat 2D mesh and
the vector field X to be a primal vector field. Define
d
(£X f )(σ 0 ) = ϕ∗ f¯(σ 0 )
dt t=0 t
where f¯ is an arbitrary smooth extension of f and ϕt is the flow of an arbitrary smooth extension of X̄. Thus
0 d
(£X f )(σ ) = (f ◦ ϕt )
dt t=0
= (d f )(σ 0 ) · X(σ 0 ) .
Here we have not done anything more than use the definitions from smooth theory. Thus everything is defined
pointwise, and the result only depends on the given discrete data and is independent of the extension used. ♦
have limitations. Firstly, only special vector fields are allowed. Secondly, for the Lie derivative defined like
this, the intermediate calculation seems to require the interpolation of forms. Once interpolation of forms
is allowed however, it makes sense to use the smooth definitions of various operators to give the discrete
definitions. This leads to an alternative development of the metric independent part of DEC, and we will
pursue this in future work. In Rem. 8.5.2 we sketched the idea for doing this with 0-forms.
87
Chapter 9
Other Work
In this chapter we describe some of the other, related work that we have done recently. Some of this is work
which does not yet fall directly into DEC. The rest is in DEC but very speculative and very preliminary.
The first few sections describe template matching, discrete shells, and vector field decomposition. These are
included here because our future work on these topics is likely to be influenced by our DEC work. Moreover,
some of these have influenced our thinking on DEC. The last few sections describe some preliminary and
speculative work, like some basic calculations on lattices and on nonsimplicial meshes. Also included, are
some early thoughts on building general discrete tensors into DEC.
(9.1.2) v = (1 − α2 ∆)u
88
According to Holm [2003] this equation can be written in div, grad, curl form.
Our hope in deriving the ATME was that it would allow matching while ignoring features smaller than
a fixed size. This property has not yet been verified but some progress has been made in the analysis of
the equation in one and two spatial dimensions. For example, in Chapman et al. [2002] we showed how
natural boundary conditions lead to the reduction of the boundary value problem of template matching, to a
parameterized initial value formulation. Specifically, we derived the form that the initial velocity must take
to take one image to the other while satisfying the ATME. This initial condition was a piecewise smooth,
continuous function with a jump in the derivative at edges of the image.
Independently, Fringer and Holm [2001] and Holm [2003] have analyzed and computed the solutions
of the ATME and related equations in one and two spatial dimensions. In 1D they found that the initial
condition we derived (which they called a peakon) leads to stable solutions in which the initial peakons move
like solitons. Any other initial condition that they tried immediately broke up into peakons that proceeded to
move around and collide elastically. More interestingly, recently they have discovered solutions in the two
spatial dimension case. These turn out to be one dimensional string like peakons that move and collide in very
interesting soliton like ways. The crucial step in the numerical solution was the use of mimetic discretization
of the ATME when it is written using div, grad and curl. Mimetic discretization (Hyman and Shashkov
[1997a]) is related to a basic form of DEC involving only discrete forms and on logically rectangular meshes.
Our development of DEC should now allow the solutions to be computed on simplicial, irregular meshes.
Another way to write the ATME is using Lie derivatives, and again, DEC should prove useful in discretizing
that.
Proposition 9.2.1. Let ϕ : M → M be a diffeomorphism. Here M is the reference configuration of the shell
and M is the current. Let S and S be the shape operators on M and M respectively. Then Tr (ϕ∗ S) =
89
ϕ∗ (Tr S).
Proof. For a point x̄ ∈ M we have by definition and by the inverse function theorem that
−1
Tr (ϕ∗ S) = Tr [Tx̄ ϕ] ◦ S ◦ Tx̄ ϕ
= ϕ∗ (Tr S) .
What this proposition allows one to do is to compare these traces at corresponding points of the reference
and deformed configurations. This is because now we can compute
Tr ϕ∗ S − S = Tr (ϕ∗ S) − Tr S
which makes sense only because of the proposition above. Discrete shells is an example of a subject in which
we take the approach that everything be defined on the discrete mesh. Thus, future development of this will
benefit from a development of DEC.
decomposition work was done without using the DEC framework, but it was our first hint that interpolation
should play a role in DEC. We will denote the discrete divergence and curl by Div and Curl and the gradient
and curl of interpolated fields by ∇ and ∇×.
Definition 9.3.1. Let K be a flat simplicial complex of dimension 3, W ∈ Xd (?K) a dual discrete vector
field and v a given vertex. Then define
X
(9.3.1) (Div W )(v) := |σ 3 | ∇φv,σ3 · W (?σ 3 )
σ 3 v
X
(9.3.2) (Curl W )(v) := |σ 3 | ∇φv,σ3 × W (?σ 3 ) .
σ 3 v
In this Section, Div and Curl are our notations for discrete divergence and discrete curl. ♦
The following proposition was proved by Yiying Tong in Tong et al. [2003] and is reproduced here in
DEC notation for completeness.
Proposition 9.3.2 (Tong et al. [2003]). Let K be a flat simplicial complex of dimension 3, and Ṽ ∈ Xd (?K)
a dual discrete vector field. Denote by V a piecewise affine vector field obtained by linearly interpolating
Ṽ in the interior of each tetrahedron using the primal-primal interpolation functions. Let f˜ be a primal
discrete 0-form and f a piecewise affine function obtained by linearly interpolating f in the interior of each
tetrahedron. Then away from the boundary of K, the discrete operators Div and Curl satisfy the following
identities :
(9.3.3) Div(∇ × V ) = 0
(9.3.4) Curl(∇f ) = 0 .
Here ∇× and ∇ are the usual smooth curl and gradient operators.
Proof. First we need a simple result about volumes of tetrahedra. For a tetrahedron σ 3 let a, b be two of
1
its vertices and let ~σab be the edge vector that does not contain these vertices, oriented along the direction
∇φa,σ3 × ∇φb,σ3 . For conciseness we have written φa for φa,σ3 etc. Then
1
~σab
|σ 3 | ∇φa × ∇φb = .
6
To see this let σ 2 be the face opposite to a, θ the dihedral angle at edge ~σab
1
, and ha , hb the heights of vertices
a and b above their respective opposite faces. Then
1 2 1 1 ~σ 1 1
~σab
|σ 3 | ∇φa × ∇φb = |σ | ha sin θ ab 1 | = .
3 h a hb |σab 6
91
X
Div(∇ × V )(p) = ∇φp,σ3 · (∇ × V )|σ3 |σ 3 |
σ 3 p
X X 3
= ∇φp,σ3 ·
|σ |
∇φa,σ3 × V (?a)
σ 3 p a≺σ 3
a6=p
X X
V (?a) · ∇φp,σ3 × ∇φa,σ3 |σ 3 |
=
σ 3 p a≺σ 3
a6=p
1
X X ~σpa
= V (?a) · = 0.
6
σ 3 p a≺σ 3
a6=p
The third equality is from a basic identity about scalar triple products and the second last one is from the
1
result about tetrahedral volume derived above. This resulting sum is null, because the oriented edges ~σpa
form a loop around p. To prove (9.3.4) we use similar reasoning and show that
X
(Curl(∇f ))(p) = ∇φp,σ3 × (∇f )|k |σ 3 |
σ 3 p
X X
∇φp,σ3 × ∇φa,σ3 f (a) |σ 3 |
=
σ 3 p a≺σ 3
a6=p
1
X X ~σpa
= f (a) =0 .
6
σ 3 p a≺σ 3
a6=p
Thus we have shown that the vector calculus identities in equation (9.3.3) and (9.3.4) are true.
The discrete divergence Div here, is related to the dual-primal divergence of DEC, but is taken over
the full one-ring, rather than the Voronoi dual of a vertex. In the first identity proved above, we have thus, a
composition of primal-dual curl followed by a dual-primal divergence. In the second identity the composition
is of a primal-dual gradient followed by a dual-primal curl. Thus in this work we have been able to find the
pairs of operators that can be composed.
It was our vector field decomposition work described in this Section, that first suggested to us the useful-
ness of interpolation of forms and vector fields. The idea of interpolation and its role in current and future
DEC is discussed in Section 1.5 and in various places in the thesis. Also, it is in this vector field decompo-
sition that we have found a nice definition of 3D curl that satisfies the usual vector calculus identities. This
means that the hints for defining a sharp and a flat that are inverses of each other, might be found in this work.
92
c v a
Figure 9.1: Portion of a grid on which gradient is to be defined. The dashed region is the Voronoi cell of the
vertex v. The length of the side of each square is h and a,b, etc. are names of the nodes.
X X | ? v ∩ c2 |
f (σ 0 ) − f (v)
(9.4.1) (∇f )(v) = ~nσ0 ,c2 .
2 1
|c2 |
σ 1 =[v,σ 0 ] c σ
Here σ 1 = [v, σ 0 ] is an edge containing the vertex v and σ 0 , c2 is a square cell in the mesh, assumed to be
of size |c2 | = h2 . Let êx and êy be unit vectors in the horizontal and vertical directions. The normal ~nσ0 ,c2
replaces the gradient of the shape function that appeared in the simplicial case in formula (6.2.2). If in the
figure of the mesh shown here the square c2 is the northeast square adjacent to v, then for example,
êx
~na,c2 = .
h
The Voronoi cell ?v shown as shaded in the figure, also has area h2 whereas the quantity |?v ∩c2 | = h2 /4
is the area of the overlap region between the dashed square and any one of the primal mesh squares adjacent
to v. We will use the shorthand fx for f (x). The first sum in formula (9.4.1) is over edges that contain v.
These are the four edges going to vertices a,b,c and d from v. For each such edge, say [v, a] the second sum
is over all squares c2 that contain this edge. For [v, a] these are the two squares above and below the edge
[v, a]. Thus for each edge there will be 2 terms and hence 8 terms in total. This gives :
h2 /4 êx h2 /4 êy
2 (fa − fv ) 2
+2 (fb − fv ) 2 +
(∇f )(v) = h h h h
h2 /4 êx h2 /4 êy
2 (fc − fv ) 2 (− ) + 2 (fd − fv ) 2 (− )
h h h h
fa − fc fb − fd
= êx + êy
2h 2h
which is a standard discrete approximation of the gradient on a uniform square mesh. We state without proof
that this works for a rectangular grid as well.
Example 9.4.2. Laplacian on a hexagonal mesh: Refer to Fig. 9.2. We want to compute the discrete
94
v1
c012
v1
v2
v0
v2 c013
v0
v3
c023 v3
(a) (b)
Figure 9.2: (a) Hexagonal grid; (b) The Laplacian is computed at point v0 . Since the triangles v0 v1 v2 etc. are
not well-centered, the circumcenters c012 etc. lie outside them, but the computation of Laplacian still yields
the correct discrete Laplacian on hexagonal grids.
Laplacian at the vertex v0 . If f is a 0-form, we will simply use the DEC formula for Laplace-Beltrami of f .
We will use the simplicial complex formed from the “stencil” consisting of v0 , v1 , v2 and v3 . The complex
consists of the three triangles inside the dashed lines shown in Fig. 9.2 (b). The Voronoi dual ?v0 is shown
as shaded. Note that the 3 triangles in the primal mesh are not well-centered. But we will still use the DEC
formula (6.4.2) for Laplace-Beltrami.
Thus we want to compute
1 X |?σ 1 |
h∆f, v0 i = (f (σ 0 ) − f (v0 )) .
|?v0 | |σ 1 |
σ 1 =[v0 ,σ 0 ]
The quantity |?v0 | is the area of the shaded triangle in Fig. 9.2 (b). If h is the length of each side of the
hexagonal mesh, this area is √
3 3 2
|?v0 | = h .
4
The dual edges that appear in the Laplacian formula above, are the sides of the shaded triangle in the figure.
√
For a hexagonal mesh with each edge h, these dual edges have length 3h. Thus we have
1 4 4 4
h∆f, v0 i = 2 f (v1 ) + f (v2 ) + f (v3 ) − 4f (v0 )
h 3 3 3
which is the finite difference formula for discrete Laplacian on a hexagonal grid appearing, for example, in
Iserles [1996].
95
We have proposed a discrete pairing of forms and vector fields in Section 5.10. That is not very satisfactory
because of the use of metric operator sharp, to define an operator of natural pairing between forms and vector
fields, which should be metric independent. Perhaps with interpolation of forms that we are envisioning in
our future work, one can get a more natural definition of pairing, and hence of general tensors.
Bibliography
R. Abraham, J. E. Marsden, and T. Ratiu. Manifolds, tensor analysis, and applications, volume 75 of Applied
Mathematical Sciences. Springer–Verlag, New York, second edition, 1988.
Ralph Abraham and Jerrold E. Marsden. Foundations of mechanics. Benjamin/Cummings Publishing Co.
Inc. Advanced Book Program, Reading, Mass., 1978. Second edition, revised and enlarged, With the
assistance of Tudor Raţiu and Richard Cushman.
David H. Adams. r-torsion and linking numbers from simplicial abelian gauge theories, 1996. URL
e-printhep-th/9612009.
F. J. Almgren, Jr. Mass continuous cochains are differential forms. Proc. Amer. Math. Soc., 16:1291–1294,
1965.
Marshall Bern, Paul Chew, David Eppstein, and Jim Ruppert. Dihedral bounds for mesh generation in high
dimensions. In SODA: ACM-SIAM Symposium on Discrete Algorithms, 1995. URL citeseer.nj.
nec.com/bern95dihedral.html.
Jean-Daniel Boissonnat and Mariette Yvinec. Algorithmic Geometry. Cambridge University Press, 1998.
Alain Bossavit. Differential geometry for the student of numerical methods in electromagnetism. 1991.
Alain Bossavit. Extrusion, contraction : their discretization via whitney forms. COMPEL : The International
Journal for Computation and Mathematics in Electrical and Electronic Engineering, 22(3):470–480, 2003.
Marco Castrillon Lopez and Antonio Fernandez Martinez. Personal communication. 2003.
S. Jon Chapman, Anil N. Hirani, and Jerrold E. Marsden. Analysis of 1d template matching equations (in
preparation). 2002.
Jeffrey A. Chard and Vadim Shapiro. A multivector data structure for differential forms and equations. Math.
Comput. Simulation, 54(1-3):33–64, 2000.
Mathieu Desbrun, Anil N. Hirani, Melvin Leok, and Jerrold E. Marsden. Discrete exterior calculus (in
preparation). 2003.
Mathieu Desbrun, Mark Meyer, and Pierre Alliez. Intrinsic parameterizations of surface meshes. In Euro-
graphics Conference Proceedings, 2002.
Aleksei A. Dezin. Multidimensional analysis and discrete models. CRC Press, Boca Raton, FL, 1995.
Translated from the Russian by Irene Aleksanova.
Oliver B. Fringer and Darryl D. Holm. Integrable vs. nonintegrable geodesic soliton behavior. Phys. D, 150
(3-4):237–263, 2001.
Eitan Grinspun, Anil N. Hirani, Mathieu Desbrun, and Peter Schröder. Discrete shells. In ACM SIG-
GRAPH/Eurographics Symposium on Computer Animation, July 2003.
P.W. Gross and P.R. Kotiuga. Data structures for geometric and topological aspects of finite element algo-
rithm. In F. L. Teixeira, editor, Geometric Methods for Computational Electromagnetics, chapter 6. EMW
Publishing, 2001. URL http://ceta-mac1.mit.edu/pier/pier32/pier32.html.
Xianfeng Gu. Parametrization for surfaces with arbitrary topology. PhD thesis, Harvard University, 2002.
Jenny Harrison. Stokes’ theorem for nonsmooth chains. Bull. Amer. Math. Soc. (N.S.), 29(2):235–242, 1993.
Jenny Harrison. Flux across nonsmooth boundaries and fractal Gauss/Green/Stokes’ theorems. J. Phys. A,
32(28):5317–5327, 1999.
Friedrich W. Hehl and Yuri N. Obukhov. A gentle introduction to the foundations of classical electrody-
namics: The meaning of the excitations (d,h) and the field strengths (e, b). arXiv:physics/0005084v2,
2000.
Ralf Hiptmair. Finite elements in computational electromagnetism. In Acta Numerica, pages 237–339.
Cambridge University Press, 2002b.
Anil N. Hirani, Jerrold E. Marsden, and James Arvo. Averaged template matching equations. In Energy
minimization methods in computer vision and pattern recognition, LNCS 2134, pages 528–543. Springer–
Verlag, 2001. URL http://www.cs.caltech.edu/˜hirani/research.
J. M. Hyman and M. Shashkov. Natural discretizations for the divergence, gradient, and curl on logically
rectangular grids. Comput. Math. Appl., 33(4):81–104, 1997a.
James M. Hyman and Mikhail Shashkov. Adjoint operators for the natural discretizations of the divergence,
gradient and curl on logically rectangular grids. Appl. Numer. Math., 25(4):413–442, 1997b.
Arieh Iserles. A first course in the numerical analysis of differential equations. Cambridge Texts in Applied
Mathematics. Cambridge University Press, Cambridge, 1996.
Adrian Lew, Jerrold E. Marsden, Michael Ortiz, and Matthew West. Asynchronous variational integrators.
Archive for Rational Mechanics And Analysis, 167:85–146, 2003.
Elizabeth L. Mansfield and Peter E. Hydon. On a variational complex for difference equations. In The
geometrical study of differential equations (Washington, DC, 2000), volume 285 of Contemp. Math., pages
121–129. Amer. Math. Soc., Providence, RI, 2001.
Jerrold E. Marsden and Tudor S. Ratiu. Introduction to mechanics and symmetry, volume 17 of Texts in
Applied Mathematics. Springer–Verlag, New York, second edition, 1999. A basic exposition of classical
mechanical systems.
Jerrold E. Marsden and Steve Shkoller. Global well-posedness of the lans-α equations. Proc. Royal Soc.
London, (359):1449–1468, 2001.
99
Claudio Mattiussi. An analysis of finite volume, finite element, and finite difference methods using some
concepts from algebraic topology. Journal of Computational Physics, 1997.
Claudio Mattiussi. The finite volume, finite difference, and finite element methods as numerical methods for
physical field problems. Advances in Imaging and Electron Physics, 2000.
Mark Meyer, Mathieu Desbrun, Peter Schröder, and Alan H. Barr. Discrete differential-geometry operators
for triangulated 2-manifolds. In International Workshop on Visualization and Mathematics, VisMath, 2002.
B. Moritz. Vector difference calculus. PhD thesis, University of North Dakota, 2000.
B. Moritz and W. Schwalm. Triangle lattice Green functions for vector fields. J. Phys. A, 34(3):589–602,
2001.
James R. Munkres. Elements of algebraic topology. Addison–Wesley Publishing Company, Menlo Park, CA,
1984.
R. A. Nicolaides. Direct discretization of planar div-curl problems. SIAM J. Numer. Anal., 29(1):32–56,
1992.
N. Paragios. Special issue on variational and level set methods in computer vision. Intl. J. Computer Vision,
50(3), 2002.
Konrad Polthier and E. Preuss. Identifying vector field singularities using a discrete hodge decomposition. In
H. C. Hege and Konrad Polthier, editors, Visualization and Mathematics, VisMath. Springer–Verlag, 2002.
W. Schwalm, B. Moritz, M. Giona, and M. Schwalm. Vector difference calculus for physical lattice models.
Phys. Rev. E (3), 59(1, part B):1217–1233, 1999.
W. B. Schwalm, S. Crockett, and B. Moritz. Topological lattice model of electron coupled to a classical
polarization field. Int. J. Mod. Phys. B, 24-25:3339, 2001.
Samik Sen, Siddhartha Sen, James C. Sexton, and David H. Adams. Geometric discretization scheme applied
to the abelian Chern-Simons theory. Phys. Rev. E (3), 61(3):3174–3185, 2000.
Jonathan R Shewchuck. What is a good linear finite element? Interpolation, conditioning, anisotropy and
quality measures. 2002.
Yiying Tong, Santiago Lombeyda, Anil N. Hirani, and Mathieu Desbrun. Discrete multiscale vector field
decomposition. ACM Transactions on Graphics (SIGGRAPH), July 2003.
100
E. Tonti. Finite formulation of electromagnetic field. IEEE Trans. Mag., 38:333–336, 2002.
Joe Warren, Scott Schaefer, Anil N. Hirani, and Mathieu Desbrun. Barycentric coordinates for convex sets.
2003.
Hassler Whitney. Geometric integration theory. Princeton University Press, Princeton, N. J., 1957.
101
Index
mesh sharp
primal, 13 discrete, 48
smooth, 47
natural pairing, 32, 57
103