Backend
VoroPlex: A Python Framework for Multi-Threaded and Differentiable Voronoi Tessellation
arXiv cs.DC0 views
arXiv:2611.33829v1 Announce Type: cross Abstract: Voronoi tessellations are widely used in computational physics, for example to measure local structure in particle systems and to generate meshes. We present VoroPlex, an open-source Python package for computing Voronoi tessellations in two and three dimensions. VoroPlex is built on the multi-threaded version of the C++ library Voro++, so that large tessellations can be computed in parallel. The package also makes the tessellation differentiable. Each Voronoi vertex is labeled by the generators that define it, and VoroPlex uses these labels to compute the derivative of the vertex with respect to the positions of these generators. PyTorch can therefore compute gradients of quantities such as cell areas, volumes, and interface areas with respect to the generator positions, so that these quantities can be optimized using standard gradient-based methods. The package also includes tools for extracting interfaces between groups of cells and for exporting meshes. For one million points using 28 threads, VoroPlex is 46 times faster than SciPy in 2D and 39 times faster in 3D. We demonstrate the package with three applications: centroidal Voronoi tessellations with a variable density, meshing of 2D shapes defined by signed distance functions, and the design of foams with a preferred cell orientation.
Source:https://arxiv.org/abs/2611.33829PreviousOn the Tragedy of the Commons in Heterogeneous Distributed Resource AllocationNextPrivacy-Aware Adaptive Client Selection for Federated Retrieval-Augmented Generation
Related posts
Cutting-edge prosthetics allow researchers to probe the human mind
0MIT Technology Review
Ten System Design Ideas That Finally Clicked for Me
0dev.to
The Best Person in Your Team to Do AI-Driven Development Is... Your QA?
0dev.to
Tuning gcware Log Priority in GBase 8a to Cut Disk I/O
0dev.to

How money actually moves in a bank-plus-crypto app
0dev.to
Why 5.5GHz+ CPUs and DDR5 Matter for Low-Latency Game Servers
0dev.to