polyrust: a domain-specific language for polytopal methods with a Rust interpreter
Daniele A. Di Pietro
Abstract
In this article we introduce polyrust, a new software library that implements a domain-specific language for polytopal methods. Polytopal methods support meshes much more general than those on which traditional finite element methods are built. This can be achieved by dropping global function spaces and reconstructing the relevant operators directly from the degrees of freedom through the solution of local variational problems. Reconstructions are then used in place of shape functions in the global variational formulation. polyrust provides facilities for expressing a wide variety of polytopal methods using a syntax that closely resembles their mathematical formulation. We review here the main aspects of the library from the perspective of a basic user and provide numerical examples spanning several problems and methods.
Create a lesson
Related papers
Graph lattice sums and graph zeta functions for long-range interacting quantum lattice models
Andreas Alexander Buchheit, Andreas Rupp
A numerical benchmark for fluid--structure--contact interaction
Daniele Corti, Jakub Fara, Miguel Angel Fernández et al.
Largest-dihedral-angle bisection algorithm does not preserve mesh regularity for tetrahedral partitions
Sergey Korotov, Jérôme Michaud
A Highly Scalable Quantized Tensor-Train FDTD Framework for the Simulation of Three-Dimensional Electromagnetic Scattering Problems
Daan Vanhaecke, Emile Vanderstraeten, Dries Vande Ginste
Pressure-robustness by commuting interpolation operators for Stokes discretizations with continuous pressures
Philip L. Lederer, Theresa Vock
A Reynolds-Semi-Robust, Globally Divergence-Free HDG Method for the Smagorinsky Model
Shuaijun Liu, Xiaoping Xie