'integer' not defined from the setmembership script. Changing that line to 'if issubclass(mat.dtype.type, int) and tol < 0.5:' causes a new problem unfortunately,
ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (3,) + inhomogeneous part. from the hyperbolic interface laws.
New errors seem to be in part caused by updated numpy version. As a result, I have updated the porepy module to be compatiable with Numpy 2.0+ in the latest push release found here. This edits seems to make the 2D flow work. However, I have noticed that the tracer seems to go beyond the 0 to 1 value (sometimes 500+) which im not sure the cause of at this time.
Running 1D Flow receives the following error
'integer' not defined from the setmembership script. Changing that line to 'if issubclass(mat.dtype.type, int) and tol < 0.5:' causes a new problem unfortunately,
ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (3,) + inhomogeneous part.
from the hyperbolic interface laws.New errors seem to be in part caused by updated numpy version. As a result, I have updated the porepy module to be compatiable with Numpy 2.0+ in the latest push release found here. This edits seems to make the 2D flow work. However, I have noticed that the tracer seems to go beyond the 0 to 1 value (sometimes 500+) which im not sure the cause of at this time.