Skip to content
Snippets Groups Projects
Commit 6671ab51 authored by Markus Holzer's avatar Markus Holzer
Browse files

use force model keyword

parent e8bf1fd5
No related branches found
No related tags found
1 merge request!42Fix: momentum density calculation
Pipeline #31202 passed
......@@ -177,7 +177,7 @@ def test_momentum_density_shift(force_model):
src = dh.add_array('src', values_per_cell=len(stencil))
dh.fill('src', 0.0, ghost_layers=True)
method = create_lb_method(method="srt", compressible=True, force_model='guo', force=[1, 2])
method = create_lb_method(method="srt", compressible=True, force_model=force_model, force=[1, 2])
momentum_density_symbols = sp.symbols("md_:2")
cqc = method.conserved_quantity_computation
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment