Skip to content
Snippets Groups Projects

Link-Wise Extrapolation Outflow

Merged Frederik Hennig requested to merge da15siwa/lbmpy:extrapolation_outflow_fix into master
Files
3
@@ -133,10 +133,10 @@ class BetweenTimestepsIndexing:
@@ -133,10 +133,10 @@ class BetweenTimestepsIndexing:
inv = True
inv = True
if isinstance(sp.sympify(idx), sp.Integer):
if isinstance(sp.sympify(idx), sp.Integer):
accessor_subs[fa] = accesses[f_dir][idx].get_shifted(*(fa.offsets))
accessor_subs[fa] = accesses[f_dir][idx].get_shifted(*fa.offsets)
else:
else:
arr = self._array_symbols(f_dir, inv, idx)
arr = self._array_symbols(f_dir, inv, idx)
accessor_subs[fa] = self._pdf_field[arr['offsets']](arr['index']).get_shifted(*(fa.offsets))
accessor_subs[fa] = self._pdf_field[arr['offsets']](arr['index']).get_shifted(*fa.offsets)
return assignments.new_with_substitutions(accessor_subs)
return assignments.new_with_substitutions(accessor_subs)
Loading