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

Making Lagrange2Tri345 interpolation values exact #633

Merged
merged 2 commits into from
Mar 23, 2023

Conversation

AbdAlazezAhmed
Copy link
Collaborator

Fixes #582, turns out the issue was with γ and Float64 precision. using γ directly (multiplying 1 and -( ξ_x + ξ_y ) by order individually) seems to solve the issue.
Interpolation tests passed:

Test Summary:  | Pass  Total   Time
interpolations | 3466   3466  47.5s

@AbdAlazezAhmed AbdAlazezAhmed changed the title Lagrange2Tri345 interpolation values exact Making Lagrange2Tri345 interpolation values exact Mar 23, 2023
Copy link
Member

@fredrikekre fredrikekre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great, thank you!

src/interpolations.jl Outdated Show resolved Hide resolved
@fredrikekre fredrikekre merged commit ae96dbd into Ferrite-FEM:master Mar 23, 2023
@AbdAlazezAhmed AbdAlazezAhmed deleted the Tri345 branch March 23, 2023 08:16
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.

Numerical Evaluation of Order 3,4,5 Lagrange Triangle Inexact
2 participants