Skip to main content
QUICK REVIEW

[Paper Review] Geometric Computing with Chain Complexes: Design and Features of a Julia Package

Francesco Furiani, Giulio Martella|arXiv (Cornell University)|Oct 21, 2017
Computational Geometry and Mesh GenerationComputer Science20 references3 citations
TL;DR

This paper presents LARLIB.jl, a Julia-based software package for geometric computing using chain complexes, enabling efficient topological and geometric computations on arbitrary meshes via sparse matrix representations of cellular decompositions. The approach leverages homological algebra to model solids and physical simulations through chain complexes, supporting non-convex, non-manifold, and punctured cells with linear algebraic operations on sparse matrices, achieving high performance on CPU+GPU architectures.

ABSTRACT

Geometric computing with chain complexes allows for the computation of the whole chain of linear spaces and (co)boundary operators generated by a space decomposition into a cell complex. The space decomposition is stored and handled with LAR (Linear Algebraic Representation), i.e. with sparse integer arrays, and allows for using cells of a very general type, even non convex and with internal holes. In this paper we discuss the features and the merits of this approach, and describe the goals and the implementation of a software package aiming at providing for simple and efficient computational support of geometric computing with any kind of meshes, using linear algebra tools with sparse matrices. The library is being written in Julia, the novel efficient and parallel language for scientific computing. This software, that is being ported on hybrid architectures (CPU+GPU) of last generation, is yet under development.

Motivation & Objective

  • To develop a general-purpose computational framework for geometric computing that supports arbitrary cell types, including non-convex and non-manifold shapes.
  • To enable efficient topological operations—such as boundary and coboundary computations—using sparse matrix algebra on cellular decompositions.
  • To provide a high-performance, portable software library for scientific computing that integrates with modern hardware and supports physical simulations.
  • To unify geometric modeling, solid modeling, and physical simulation under a single topological framework based on chain complexes and linear algebra.
  • To create a modular, open-source Julia package that supports applications in 3D medical imaging, architecture, and computational physics.

Proposed method

  • Representing cells and their incidence relations using sparse binary matrices (characteristic matrices) to encode vertex-cell incidence.
  • Modeling topological operators like boundary and coboundary as sparse integer matrices derived from characteristic matrices.
  • Computing chain complexes via matrix products and verifying validity through the identity ∂∂ = 0.
  • Using sparse matrix-vector multiplication (SpMV) to perform global operations on chains, such as applying boundary or coboundary operators to subsets of cells.
  • Implementing a merge algorithm for unconnected subcomplexes, including redundant row detection and poset-based containment lattice reconstruction.
  • Leveraging Julia’s performance and GPU support to accelerate sparse linear algebra operations and enable scalable, dataflow-style computation.

Experimental results

Research questions

  • RQ1How can a unified topological framework be designed to represent arbitrary geometric shapes—including non-convex, non-manifold, and punctured cells—using linear algebraic structures?
  • RQ2What is the most efficient way to compute and represent the full chain complex of a space decomposition using sparse matrices?
  • RQ3How can topological operations such as boundary and coboundary be expressed and computed efficiently using sparse matrix arithmetic?
  • RQ4How can unconnected or nested subcomplexes be merged into a single global chain complex while preserving topological consistency?
  • RQ5Can this approach enable fast, scalable simulations of physical laws by reducing them to topological and metric operators on chain complexes?

Key findings

  • The LARLIB.jl package successfully implements a complete chain complex computation pipeline for 2D and 3D cellular complexes, including support for non-convex and non-manifold cells.
  • The use of sparse matrices for characteristic and incidence relations enables efficient computation of boundary and coboundary operators with complexity linear in the number of non-zero elements.
  • The implementation supports the detection and merging of nested components via a poset of redundant cycles, enabling correct topological representation of complex arrangements.
  • The framework allows for the fast evaluation of Boolean operations on solids by reducing them to truth table predicates over the merged space decomposition.
  • The library is being ported to hybrid CPU+GPU architectures, and initial results show strong potential for accelerating mesh-free physical simulations through pseudoinverse computation of the boundary operator.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.