Commit b76d82a2 authored by Markus Holzer's avatar Markus Holzer
Browse files

testing with hash

parent db9b81e6
Pipeline #32567 failed with stage
in 16 minutes and 17 seconds
......@@ -99,6 +99,9 @@ class NoSlip(LbBoundary):
def __call__(self, f_out, f_in, dir_symbol, inv_dir, lb_method, index_field):
return Assignment(f_in(inv_dir[dir_symbol]), f_out(dir_symbol))
def __hash__(self):
return hash(
# end class NoSlip
......@@ -539,5 +542,5 @@ class StreamInConstant(LbBoundary):
neighbour_offset = NeighbourOffsetArrays.neighbour_offset(dir_symbol, lb_method.stencil)
return [Assignment(f_in(inv_dir[dir_symbol]), self.constant),
Assignment(f_out[neighbour_offset](dir_symbol), self.constant)]
# end class StreamInConstant
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment