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.
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.