Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Frederik Hennig
waLBerla
Commits
6733ef3a
Commit
6733ef3a
authored
Jan 08, 2021
by
Frederik Hennig
Browse files
Minor change to fix API discrepancy
parent
b4e36dc7
Pipeline
#29198
failed with stages
in 270 minutes and 37 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
python/lbmpy_walberla/packinfo.py
View file @
6733ef3a
...
...
@@ -70,6 +70,13 @@ def generate_pack_infos_for_lbm_kernel(generation_context,
d
=
stencil
.
index
(
streaming_dir
)
fa
=
write_accesses
[
d
]
spec
[(
comm_dir
,)].
add
(
fa
)
class_name
=
class_name_prefix
+
(
''
if
t
==
Timestep
.
BOTH
else
str
(
t
))
if
t
==
Timestep
.
EVEN
:
class_name_suffix
=
'Even'
elif
t
==
Timestep
.
ODD
:
class_name_suffix
=
'Odd'
else
:
class_name_suffix
=
''
class_name
=
class_name_prefix
+
class_name_suffix
generate_pack_info
(
generation_context
,
class_name
,
spec
,
**
create_kernel_params
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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