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

Update lbstep.py

parent b175fb7b
1 merge request!167[BugFix] Segfault LBStep
Pipeline #65425 failed with stages
in 16 minutes and 43 seconds
......@@ -49,6 +49,9 @@ class LatticeBoltzmannStep:
default_target=target,
parallel=False)
if lbm_config:
method_parameters['stencil'] = lbm_config.stencil
if 'stencil' not in method_parameters:
method_parameters['stencil'] = LBStencil(Stencil.D2Q9) \
if data_handling.dim == 2 else LBStencil(Stencil.D3Q27)
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment