JoshuaLampert / DispersiveShallowWater.jl

Structure-preserving numerical methods for dispersive shallow water models
https://joshualampert.github.io/DispersiveShallowWater.jl/
MIT License
15 stars 3 forks source link

Enhance `still_water_surface` and `bathymetry` #133

Open ranocha opened 2 months ago

ranocha commented 2 months ago

We could consider adding

varnames(::typeof(still_water_surface), equations) = ("η_0",)

and similarly for bathymetry further down. If we do this, we should also add them to the conversion_functions in the unit tests.

_Originally posted by @JoshuaLampert in https://github.com/JoshuaLampert/DispersiveShallowWater.jl/pull/127#discussion_r1716908072_