Commit 753bc118 authored by Valentin Vallaeys's avatar Valentin Vallaeys
Browse files

fix coriolis precomputed for order > 1

parent 7f8977af
Pipeline #1712 passed with stage
in 26 minutes and 59 seconds
......@@ -532,7 +532,7 @@ class ShallowWater2d:
netcdf or .msh file containing the coriolis term for the whole domain.
"""
self._coriolis = slim_private._load_function(coriolis, self._domain._groups)
self._coriolis_PC = dgpy.functionPrecomputed(self._domain._groups, 3)
self._coriolis_PC = dgpy.functionPrecomputed(self._domain._groups, self._domain._order*2+1)
self._coriolis_PC.compute(self._coriolis)
self._equation.setCoriolisFactor(self._coriolis_PC)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment