-
Notifications
You must be signed in to change notification settings - Fork 89
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
Topology Bug #518
Comments
I find another bug with function ExclusiveTopology at Line 193 and 194 in Grid.jl
This is not right for non-first-order cells, because the number of nodes shared by neighboring cells is greater than the number of vertexes. This causes a problem for the following conditional judgments. I think the correct codes are:
|
you are absolutely right, I fixed it slightly different here: @zkk960317 could you try out that PR for your application and let me know if it works as expected? |
@koehlerson Yeah, it seems that the result is correct for QuadraticTriangle cells. I'm not sure for other celltypes. But what I want to know is whether my code and your code have the same effect? Are there computational efficiency considerations involved? |
Ok nice, I already added a regression test for quadratic quadrilaterals here https://github.com/Ferrite-FEM/Ferrite.jl/pull/455/files#diff-796a5ea6f5cdd76d08a6b0a07f1bd1813fa58607624b572ef71f1cd8ffdddf8aR363-R369. Probably I should add some for three dimensional cells as well. I think our codes do the very same, but I think I should stick to your code suggestion, since it doesn't call again |
and
The text was updated successfully, but these errors were encountered: