Skip to content
Snippets Groups Projects
Commit 29a387ba authored by Martin Bauer's avatar Martin Bauer
Browse files

Data handling - flag array support

parent 50e0d088
Branches
Tags
No related merge requests found
...@@ -49,7 +49,7 @@ def discreteLaplace(field, index, dx): ...@@ -49,7 +49,7 @@ def discreteLaplace(field, index, dx):
count += 1 count += 1
result += field.neighbor(d, offset)(index) result += field.neighbor(d, offset)(index)
result -= count * field.center()(index) result -= count * field.center(index)
result /= dx ** 2 result /= dx ** 2
return result return result
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment