Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Frederik Hennig
lbmpy
Commits
74e89590
Commit
74e89590
authored
Jun 21, 2020
by
Markus Holzer
Browse files
Fix missing dict argument when split is used in combination with output fields
parent
f19f0b1b
Changes
1
Hide whitespace changes
Inline
Side-by-side
lbmpy/creationfunctions.py
View file @
74e89590
...
...
@@ -322,6 +322,11 @@ def create_lb_collision_rule(lb_method=None, optimization={}, **kwargs):
else
:
collision_rule
=
lb_method
.
get_collision_rule
(
keep_rrs_symbolic
=
keep_rrs_symbolic
)
if
params
[
'output'
]
and
params
[
'kernel_type'
]
==
'stream_pull_collide'
:
cqc
=
lb_method
.
conserved_quantity_computation
output_eqs
=
cqc
.
output_equations_from_pdfs
(
lb_method
.
pre_collision_pdf_symbols
,
params
[
'output'
])
collision_rule
=
collision_rule
.
new_merged
(
output_eqs
)
if
opt_params
[
'simplification'
]
==
'auto'
:
simplification
=
create_simplification_strategy
(
lb_method
,
split_inner_loop
=
split_inner_loop
)
else
:
...
...
@@ -358,11 +363,6 @@ def create_lb_collision_rule(lb_method=None, optimization={}, **kwargs):
if
cse_global
:
collision_rule
=
sympy_cse
(
collision_rule
)
if
params
[
'output'
]
and
params
[
'kernel_type'
]
==
'stream_pull_collide'
:
cqc
=
lb_method
.
conserved_quantity_computation
output_eqs
=
cqc
.
output_equations_from_pdfs
(
lb_method
.
pre_collision_pdf_symbols
,
params
[
'output'
])
collision_rule
=
collision_rule
.
new_merged
(
output_eqs
)
return
collision_rule
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment