diff --git a/tests/cumulantmethod/test_flow_around_sphere.py b/tests/cumulantmethod/test_flow_around_sphere.py index ad5707bd13abcf14905455987aa46ce00dda4356..192a682e5e343247f44040201936b303ff2e15bd 100644 --- a/tests/cumulantmethod/test_flow_around_sphere.py +++ b/tests/cumulantmethod/test_flow_around_sphere.py @@ -1,3 +1,4 @@ +#%% import pytest import numpy as np from dataclasses import replace @@ -58,7 +59,13 @@ def flow_around_sphere(stencil, galilean_correction, fourth_order_correction, L_ boundary_assignments) iter_slice = get_slice_before_ghost_layer((1,) + (0,) * (stencil.D - 1)) extrapolation_ast = create_kernel( - boundary_assignments, config=CreateKernelConfig(iteration_slice=iter_slice, ghost_layers=1, target=target)) + boundary_assignments, + config=CreateKernelConfig( + iteration_slice=iter_slice, + ghost_layers=1, + target=target, + skip_independence_check=True) + ) return extrapolation_ast.compile() dh = create_data_handling(channel_size, periodicity=False, default_layout='fzyx', default_target=target) @@ -154,3 +161,7 @@ def test_flow_around_sphere_long(stencil, galilean_correction, fourth_order_corr if fourth_order_correction and stencil.Q != 27: pytest.skip("Fourth-order correction only defined for D3Q27 stencil.") flow_around_sphere(stencil, galilean_correction, fourth_order_correction, 20, 3000) + + +#%% +test_flow_around_sphere_short(Stencil.D2Q9, False, False) \ No newline at end of file