Engineering PapersSearch

DOE OSTI · code-173455

Fortran mimetic abstraction language (Formal) v0.1.

Abstract

The Fortran mimetic abstraction language ("Formal") is a domain-specific language (DSL) embedded in Fortran 202Y [1]. Formal provides novel software abstractions for simulating phenomena governed by the partial differential equations (PDEs) of vector and tensor calculus. Such equations model an extremely broad set of physical phenomena, ranging from atmospheric winds to light propagation. Formal's data structures and algorithms mimic in form and behavior continuous functions and operators. Formal supports these mathematical constructs using mimetic discretizations that define a discrete calculus satisfying various tensor calculus theorems, thereby ensuring high-fidelity representations of the physics being modeled. [2] Formal 0.1.0 also lays a foundation for the future use of Fortran 202Y type-safe templates to facilitate the formal verification of tensor contractions in computational physics and artificial intelligence [3]. [1] "Fortran 202Y" is Fortran standard committee's informal designation for the next Fortran revision, which will likely be "Fortran 2028". [2] Corbino, J. and Castillo, J. (2020) Journal of Computational and Applied Mathematics, https://doi.org/10.1016/j.cam.2019.06.042. [3] Haveraaen, M., Järvi, J., & Rouson, D. (2019). Reflecting on Generics for Fortran. https://j3-fortran.org/doc/year/19/19-188.pdf.

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Rouson, Damian [Lawrence Berkeley National Laboratory (LBNL), Berkeley, CA (United States)], Bonachea, Dan [Lawrence Berkeley National Laboratory (LBNL), Berkeley, CA (United States)]. 2026-01-15. Fortran mimetic abstraction language (Formal) v0.1.. https://doi.org/10.11578/dc.20260120.1

Cite the original work for its findings. Save a collection to share your selection of sources.