Skip to content
Snippets Groups Projects

Fix boundary kwargs

Merged Markus Holzer requested to merge holzer/lbmpy:FIX_Boundary_kwargs into master
Files
4
@@ -260,16 +260,3 @@ class StreamInConstant(LbBoundary):
@@ -260,16 +260,3 @@ class StreamInConstant(LbBoundary):
def __eq__(self, other):
def __eq__(self, other):
return type(other) == StreamInConstant
return type(other) == StreamInConstant
# end class StreamInConstant
# end class StreamInConstant
# ------------------------- Old, Deprecated Implementation -------------------------
class Boundary(LbBoundary):
def __init__(self, name=None):
from lbmpy.boundaries.boundaryhandling import deprecation_message
deprecation_message()
self._name = name
def __call__(self, pdf_field, direction_symbol, lb_method, index_field):
raise NotImplementedError("Boundary class has to overwrite __call__")
Loading