Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fipy/meshes/uniformGrid3D.py: fix _cellToCellIDs and more concatenate() calls #478

Closed
wants to merge 1 commit into from

Conversation

pkgw
Copy link
Contributor

@pkgw pkgw commented Dec 9, 2015

As far as I can tell, there were several codepaths in the UniformGrid3D class that seemed not to have been tested since they didn't work at all; in particular, the _cellToCellIDs map was broken. This commit fixes that (I hope) and a couple of more invalid axis=n keywords to numerix.concatenate(). Unfortunately I have not put together test cases for these problems, so I'm not completely sure that the "fixed" _cellToCellIDs is always correct.

See issue #470, issue #475, and issue #477.

…() calls

As far as I can tell, there were several codepaths in the UniformGrid3D class
that seemed not to have been tested since they didn't work at all; in
particular, the _cellToCellIDs map was broken. This commit fixes that (I hope)
and a couple of more invalid `axis=n` keywords to `numerix.concatenate()`.
Unfortunately I have not put together test cases for these problems, so I'm
not completely sure that the "fixed" _cellToCellIDs is always correct.

See issue usnistgov#470, issue usnistgov#475, and issue usnistgov#477.
@guyer
Copy link
Member

guyer commented Dec 27, 2015

Added tests and merged to develop in 33d033d

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants