Skip to content

New poly 2d #1919

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

Merged
merged 10 commits into from
Nov 28, 2024
Merged

New poly 2d #1919

merged 10 commits into from
Nov 28, 2024

Conversation

GillesDuvert
Copy link
Contributor

#1909 proved there was a problem in POLY_2D
furthermore there semed to be a speed issue with this command.

This is a rewriting of POLY_2D with special attention to 'border' values for 0 and linear interpolation ( TBC for cubic interpolation) with massive speed gains.

Added a preliminary test file.

Rewrote CONGRID.PRO to use POLY_2 as IDL does.

Plus a small add in basic_pro.cpp (start to make PREF_SET useful)

…language#1909 (Use Floats for coordinates) 3) much improved speed !

rewrite congrid to use poly_2d similarly to IDL. Removed all tentatives to 'do better' (with dimensions).
separate poly_2d from math_fun_jmg
add poly_2d basic test
@GillesDuvert
Copy link
Contributor Author

Apparently a problem with OSX...

@GillesDuvert GillesDuvert mentioned this pull request Nov 28, 2024
Copy link

codecov bot commented Nov 28, 2024

Codecov Report

Attention: Patch coverage is 20.00000% with 536 lines in your changes missing coverage. Please review.

Project coverage is 42.09%. Comparing base (67b3abc) to head (c2b4abf).
Report is 18 commits behind head on master.

Files with missing lines Patch % Lines
src/poly_2d.cpp 20.06% 530 Missing ⚠️
src/basic_pro.cpp 0.00% 6 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1919      +/-   ##
==========================================
- Coverage   43.97%   42.09%   -1.88%     
==========================================
  Files         405      442      +37     
  Lines       98850   109828   +10978     
  Branches    20043    21979    +1936     
==========================================
+ Hits        43465    46236    +2771     
- Misses      55385    63592    +8207     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@GillesDuvert
Copy link
Contributor Author

I have acces to a mac OS 15.1 (Sequoia) and all the tests are OK. Do no understand why it does no pass on GH.

@GillesDuvert GillesDuvert merged commit 43a7691 into gnudatalanguage:master Nov 28, 2024
6 of 9 checks passed
@GillesDuvert GillesDuvert deleted the new_poly_2d branch November 30, 2024 22:39
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.

1 participant