Skip to content

Commit 035e056

Browse files
committed
Change default damping alpha default value to 0.002
1 parent 3abf44a commit 035e056

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

simwave/kernel/frontend/model.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -183,11 +183,11 @@ def damping_polynomial_degree(self):
183183
@property
184184
def damping_alpha(self):
185185
"""Constant parameter of the extension function."""
186-
# if boundary is not configured, damping_alpha is 0.0001
186+
# if boundary is not configured, damping_alpha is 0.002
187187
try:
188188
return self._damping_alpha
189189
except AttributeError:
190-
return 0.001
190+
return 0.002
191191

192192
def fd_coefficients(self, derivative_order):
193193
"""
@@ -269,7 +269,7 @@ def halo_size(self):
269269
return (space_order_radius, ) * self.dimension * 2
270270

271271
def config_boundary(self, damping_length=0.0, boundary_condition="none",
272-
damping_polynomial_degree=3, damping_alpha=0.001):
272+
damping_polynomial_degree=3, damping_alpha=0.002):
273273
"""
274274
Applies the domain extension (for absorbing layers with damping)
275275
and boundary conditions.
@@ -292,7 +292,7 @@ def config_boundary(self, damping_length=0.0, boundary_condition="none",
292292
Default is 1 (linear).
293293
alpha : float, optional
294294
Constant parameter of the extension function.
295-
Default is 0.0001.
295+
Default is 0.002.
296296
"""
297297

298298
self._damping_polynomial_degree = damping_polynomial_degree

0 commit comments

Comments
 (0)