Skip to content

Commit df66f04

Browse files
committed
HeatKernel for test_translations
1 parent c64a5c9 commit df66f04

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/test_kernels.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -500,6 +500,8 @@ def test_p2e2p(actx_factory, base_knl, expn_class, order, with_source_derivative
500500
# {{{ test_translations
501501

502502
@pytest.mark.parametrize("knl, local_expn_class, mpole_expn_class", [
503+
(HeatKernel(2), LinearPDEConformingVolumeTaylorLocalExpansion,
504+
LinearPDEConformingVolumeTaylorMultipoleExpansion),
503505
(LaplaceKernel(2), VolumeTaylorLocalExpansion, VolumeTaylorMultipoleExpansion),
504506
(LaplaceKernel(2), LinearPDEConformingVolumeTaylorLocalExpansion,
505507
LinearPDEConformingVolumeTaylorMultipoleExpansion),
@@ -535,6 +537,8 @@ def test_translations(actx_factory, knl, local_expn_class, mpole_expn_class,
535537
extra_kwargs["k"] = 0.05
536538
if isinstance(knl, StokesletKernel):
537539
extra_kwargs["mu"] = 0.05
540+
if isinstance(knl, HeatKernel):
541+
extra_kwargs["alpha"] = 0.1
538542

539543
# Just to make sure things also work away from the origin
540544
rng = np.random.default_rng(18)

0 commit comments

Comments
 (0)