You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Remove allocations in the spline_interpolation function (#60)
* make the 1d spline_inteprolation functions allocation free
* reduce allocations for the 2D spline_interpolation routines
* small updates to the docs
* apply formatter
* fix wrong matrix for bilinear interpolation
Now that the B-spline interpolation function is determined, the one dimensional shallow water equations implemented in Trixi.jl can be defined by calling:
@@ -242,9 +243,10 @@ nothing #hide
242
243
Using the data, a bicubic B-spline interpolation is performed on the data to define a bottom topography function.
Then the two dimensional shallow water equations are defined, where the gravitational constant has been chosen to be `3.0` and the initial water height `55.0`. Afterwards, the initial condition is defined. Similar to the one dimensional case, in the center of the domain, a circular part with a diameter of `100.0` is chosen where the initial water height is chosen to be `10.0` units higher.
0 commit comments