We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e45081a commit d8913e5Copy full SHA for d8913e5
spyro/solvers/leapfrog_adjoint_level_set.py
@@ -186,7 +186,7 @@ def Leapfrog_adjoint_level_set(
186
# analytical background gradient
187
# Z, _ = SpatialCoordinate(mesh)
188
# c_background = Function(V).interpolate(Min(1.5 + 4.0 * abs(Z), 4.1))
189
- indicator = Function(V).interpolate(c > 3.9) # 1 inside shape, 0 outside
+ indicator = Function(V).interpolate(c > 4.3) # 1 inside shape, 0 outside
190
191
gradc = Function(VF, name="grad_c").interpolate(
192
indicator * grad(c_salt) + (1 - indicator) * grad(c_background)
0 commit comments