Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[bug correction] trirefine is now independant of triangulation numbering#2363

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
ianthomas23 merged 1 commit intomatplotlib:masterfromGBillotey:new_test_triinterpolate
Sep 3, 2013
Merged

[bug correction] trirefine is now independant of triangulation numbering#2363

ianthomas23 merged 1 commit intomatplotlib:masterfromGBillotey:new_test_triinterpolate
Sep 3, 2013

Conversation

@GBillotey
Copy link
Contributor

Correction in cubic interpolation function:
the interpolated values on refined triangular grids should be the same regardless of the triangles ordering.

As of today, this was not the case for the cubic interpolation, as discovered by@ianthomas23 (refer to the new test enclosed in this PR, which was failing and should now pass). The differences were small but I consider this was a bug (at least highly unexpected).
The solution is a new choice for the Gauss quadrature points.

I added a new (non-image) test and updated the 2 baseline images involving this kind of cubic interpolation (one was failing as a result of this PR ; I also updated the 2nd to get a fresh start).

Note:
As changing the Gauss points was not my first guess (unfortunately...) I also made a double-check of the various shape functions used in_ReducedHCT_Element For this I found that it was more convenient to arrange them by columns, even if it this is not strictly pep8. If this is considered bad practise, please tell me ; I would be happy to revert.

@ianthomas23
Copy link
Member

Confirmed that this PR fixes the bug. Thanks@GBillotey.

ianthomas23 added a commit that referenced this pull requestSep 3, 2013
[bug correction] trirefine is now independant of triangulation numbering
@ianthomas23ianthomas23 merged commit271db8c intomatplotlib:masterSep 3, 2013
@ianthomas23
Copy link
Member

As this is a bug fix, I have also cherry-picked it into v1.3.x.

@mdboom
Copy link
Member

Thanks!

@GBilloteyGBillotey deleted the new_test_triinterpolate branchSeptember 3, 2013 21:26
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@GBillotey@ianthomas23@mdboom

[8]ページ先頭

©2009-2025 Movatter.jp