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

Added comment to HotFix

parent cd7ead9a
No related branches found
No related tags found
1 merge request!141Regression comm
...@@ -135,7 +135,8 @@ def get_communication_slices( ...@@ -135,7 +135,8 @@ def get_communication_slices(
write_offsets = numeric_offsets(write_accesses[d]) write_offsets = numeric_offsets(write_accesses[d])
tangential_dir = tuple(s - c for s, c in zip(streaming_dir, comm_dir)) tangential_dir = tuple(s - c for s, c in zip(streaming_dir, comm_dir))
# TODO: this is just a hotfix. _trim_slice_in_direction breaks FreeSlip BC with adjacent periodic side
if streaming_pattern != "pull": if streaming_pattern != "pull":
src_slice = shift_slice(_trim_slice_in_direction(src_slice, tangential_dir), write_offsets) src_slice = shift_slice(_trim_slice_in_direction(src_slice, tangential_dir), write_offsets)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment