firedrakeproject / asQ

A library for implementing ParaDIAG timestepping algorithms using Firedrake
MIT License
4 stars 1 forks source link

Shallow water equations miniapp #61

Closed JHopeCollins closed 2 years ago

JHopeCollins commented 2 years ago

The set up of the shallow water equation examples are all very similar, except for the particular initial conditions.

An SWE miniapp class would simplify this by encapsulating the set up, including the function spaces, mesh, and paradiag set up. The paradiag solver would then be driven through the miniapp.

The interface should default as much as possible so it can be used by only passing the initial conditions, but allow function spaces, mesh etc to be user-provided if needed.