tulpaMesh: Constrained Delaunay Triangulation Meshes for Spatial 'SPDE' Models

Generate constrained Delaunay triangulation meshes for use with stochastic partial differential equation (SPDE) spatial models (Lindgren, Rue and Lindstroem 2011 <doi:10.1111/j.1467-9868.2011.00777.x>). Provides automatic mesh generation from point coordinates with boundary constraints, Ruppert refinement for mesh quality, finite element method (FEM) matrix assembly (mass, stiffness, projection), barrier models, spherical meshes via icosahedral subdivision, and metric graph meshes for network geometries. Built on the 'CDT' header-only C++ library (Amirkhanov 2024 <https://github.com/artem-ogre/CDT>). Designed as the mesh backend for the 'tulpa' Bayesian hierarchical modelling engine but usable standalone for any spatial triangulation task.

Version: 0.1.1
Depends: R (≥ 4.1.0)
Imports: Rcpp (≥ 1.0.12), Matrix (≥ 1.5-0), RcppParallel
LinkingTo: Rcpp, RcppParallel
Suggests: testthat (≥ 3.0.0), sf, fmesher, ggplot2, svglite, knitr, rmarkdown
Published: 2026-04-03
DOI: 10.32614/CRAN.package.tulpaMesh (may not be active yet)
Author: Gilles Colling ORCID iD [aut, cre, cph], Artem Amirkhanov [ctb, cph] (CDT library (src/cdt/, MPL-2.0)), William C. Lenthe [ctb, cph] (Geometric predicates (src/cdt/predicates.h, BSD-3-Clause))
Maintainer: Gilles Colling <gilles.colling051 at gmail.com>
BugReports: https://github.com/gcol33/tulpaMesh/issues
License: MIT + file LICENSE
Copyright: see file COPYRIGHTS
URL: https://github.com/gcol33/tulpaMesh
NeedsCompilation: yes
SystemRequirements: C++17, GNU make
Citation: tulpaMesh citation info
Materials: README, NEWS
CRAN checks: tulpaMesh results

Documentation:

Reference manual: tulpaMesh.html , tulpaMesh.pdf
Vignettes: Spherical and Temporal Meshes (source, R code)
Quick Start (source, R code)
Spatial Workflows (source, R code)

Downloads:

Package source: tulpaMesh_0.1.1.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): tulpaMesh_0.1.1.tgz, r-oldrel (arm64): not available, r-release (x86_64): not available, r-oldrel (x86_64): not available

Linking:

Please use the canonical form https://CRAN.R-project.org/package=tulpaMesh to link to this page.