There is a newer version of the record available.

Published April 26, 2026 | Version v1.0.0-alpha

LayerCake: version 1.0.0 alpha release

  • 1. Royal Meteorological Institute of Belgium
  • 2. ROR icon Statistics New Zealand

Description

LayerCake is a framework to design models based on systems of partial differential equations (PDEs), and convert them to ordinary differential equations (ODEs) via Galerkin-type expansions.

LayerCake allows you to construct systems of PDEs, and to specify coordinate systems and basis functions to build the corresponding ODE systems. To build these systems, LayerCake relies heavily on Sympy symbolic computation framework. The output of this procedure is either a Numbaified Python callable, or a list of symbolic ODE tendencies that can be integrated in any of the supported languages (Fortran, Julia and Python for the moment). These two kind of output allow for the study of the computed models with the modern tools available in all these languages.

LayerCake has been designed with geophysics in mind, although it may be useful for other applications.

See https://github.com/Climdyn/LayerCake for the most recent updates.

Files

Climdyn/LayerCake-v1.0.0-alpha.zip

Files (635.5 kB)

Name Size
md5:319095c077221ec8b9e9c7dd99c88a97
635.5 kB Preview Download

Additional details

Related works

Software