Closed keileg closed 3 days ago
Check out this pull request on
See visual diffs & provide feedback on Jupyter Notebooks.
Powered by ReviewNB
I performed a quick check with my previously failing grid, and things seem to be working fine now. What I did was simply running my script in the new branch, and I do not get the dimension mismatch I got previously. So, the grid seems to be working fine now. Are you interested in the details or code for the grid which failed, @keileg?
Are you interested in the details or code for the grid which failed, @keileg?
No, I think we are good. Do you agree, @IvarStefansson?
Are you interested in the details or code for the grid which failed, @keileg?
No, I think we are good. Do you agree, @IvarStefansson?
Yes. Merging. Thanks for fixing, @keileg!
Proposed changes
Changes:
cell_face_as_dense
in theGrid
class. The new implementation is much more transparent, and documented.cell_face_as_dense
->cell_faces_as_dense
.@IvarStefansson @IngridKJ: Although the test suite is much improved, the old implementation did not fail on this expanded set. I am not sure which grid you used to make the method fail today, but could you test the new version and see if it works? If so, I am not sure if we should expand the test suite with the previously failing grid, so let me know what you think. If it still fails, we will definitely add it.
Types of changes
What types of changes does this PR introduce to PorePy? Put an
x
in the boxes that apply.Checklist
Put an
x
in the boxes that apply or explain briefly why the box is not relevant.pytest
was run with the--run-skipped
flag.