Skip to content
DraconiticResearch
Search Sources API
190,335 studies31 sourcesUpdated 53 min ago
PreprintCC BY-NC-ND 4.0arXiv

poly_rust: a domain-specific language for polytopal methods with a Rust interpreter

Abstract

Background: Over the last two decades, considerable effort in the applied mathematics community has been devoted to the development of polytopal methods, i.e., numerical methods for partial differential equations that support meshes more general than those used by traditional finite element methods. Despite their flexibility and attractive mathematical properties, polytopal methods have a steep implementation curve and, to date, no easily accessible open-source software framework has been available for their systematic implementation. Methods: In this article, we introduce poly_rust, a new software library implementing a domain-specific language (DSL) specifically designed for polytopal methods. poly_rust provides high-level constructs for expressing a wide range of such methods using a syntax that closely mirrors their mathematical formulation, thereby substantially lowering the implementation barrier for both newcomers and experienced users. Results: The library facilitates the rapid implementation, testing, and comparison of polytopal discretizations, making these methods more accessible to researchers, applied scientists, engineers, and students. In our vision, this will foster their dissemination beyond the numerical analysis community and encourage their adoption by practitioners in a broad range of application fields. It will also contribute to reproducibility of results, as DSL files are text files that can be easily made available, stored, and exchanged. Conclusions: poly_rust introduces, to our knowledge, the first DSL specifically tailored to polytopal methods. By combining mathematical expressiveness, ease of implementation, and an open-source framework, it provides a common platform for developing, sharing, reproducing, and comparing polytopal schemes, with the ambition of becoming a reference tool for the wider scientific community.

Related

  1. Key challenges and bridges among convergence analysis techniques for polytopal methods
    Lourenço Beirão da Veiga, Daniele A. Di Pietro, Jérôme Droniou
    HALPreprintLicence not statedNumerical analysis & scientific computingHAL
  2. ACOUSTIC DOMAIN SHIFT IN SPOKEN LANGUAGE IDENTIFICATION FROM SYSTEMATIC DOMAIN GENERALIZATION EVALUATION TO REAL-WORLD APPLICATION
    Francois Derrida, Raphaël Duroselle, Thomas Courtat +1
    HALPreprintCC BY 4.0Full textStatisticsHAL
  3. Domain-Specific Mathematics Performance of Grade 8 Students: Evidence from a K to 12 Achievement Test
    Raymart Gorosin, Laila Teressa Bersoto, Febraida Mendiola +3
    Psychology and Education: A Multidisciplinary JournalPeer-reviewedLicence not statedFull textGeneral mathematicsHAL
  4. On the Choice of Continuous and Discontinuous Lagrange Multipliers in Fictitious-Domain Methods
    Najwa Alshehri, Shumoua F. Alrzqi
    arXivPreprintarXiv licenceFull textNumerical analysis & scientific computingarXiv
  5. Language-Induced Priors for Domain Adaptation
    Qiyuan Chen, Jiayu Zhou, Raed Al Kontar
    arXivPreprintCC BY 4.0Full textStatisticsarXiv
BibTeX
@misc{pietro2026polyrust,
  title = {{poly_rust: a domain-specific language for polytopal methods with a Rust interpreter}},
  author = {Daniele A. Di Pietro},
  howpublished = {arXiv},
  year = {2026},
  month = sep,
  doi = {10.48550/arxiv.2608.09414},
  eprint = {2608.09414},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2608.09414},
  note = {CC BY-NC-ND 4.0},
}
RIS
TY  - UNPB
TI  - poly_rust: a domain-specific language for polytopal methods with a Rust interpreter
AU  - Daniele A. Di Pietro
PY  - 2026
DA  - 2026/09/30
PB  - arXiv
DO  - 10.48550/arxiv.2608.09414
UR  - https://arxiv.org/abs/2608.09414
AB  - Background: Over the last two decades, considerable effort in the applied mathematics community has been devoted to the development of polytopal methods, i.e., numerical methods for partial differential equations that support meshes more general than those used by traditional finite element methods. Despite their flexibility and attractive mathematical properties, polytopal methods have a steep implementation curve and, to date, no easily accessible open-source software framework has been available for their systematic implementation. Methods: In this article, we introduce poly_rust, a new software library implementing a domain-specific language (DSL) specifically designed for polytopal methods. poly_rust provides high-level constructs for expressing a wide range of such methods using a syntax that closely mirrors their mathematical formulation, thereby substantially lowering the implementation barrier for both newcomers and experienced users. Results: The library facilitates the rapid implementation, testing, and comparison of polytopal discretizations, making these methods more accessible to researchers, applied scientists, engineers, and students. In our vision, this will foster their dissemination beyond the numerical analysis community and encourage their adoption by practitioners in a broad range of application fields. It will also contribute to reproducibility of results, as DSL files are text files that can be easily made available, stored, and exchanged. Conclusions: poly_rust introduces, to our knowledge, the first DSL specifically tailored to polytopal methods. By combining mathematical expressiveness, ease of implementation, and an open-source framework, it provides a common platform for developing, sharing, reproducing, and comparing polytopal schemes, with the ambition of becoming a reference tool for the wider scientific community.
ER  -