Skip to content

Conversation

@MLopez-Ibanez
Copy link
Contributor

@apguerreiro A version of fpl-basecase rebased over main and with a few minor improvements and updated docs.

@codecov
Copy link

codecov bot commented Dec 22, 2025

Codecov Report

❌ Patch coverage is 86.41975% with 33 lines in your changes missing coverage. Please review.
✅ Project coverage is 77.23%. Comparing base (237f597) to head (3d503f1).

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #49      +/-   ##
==========================================
+ Coverage   77.06%   77.23%   +0.17%     
==========================================
  Files          62       62              
  Lines        5816     6010     +194     
  Branches      889      947      +58     
==========================================
+ Hits         4482     4642     +160     
- Misses       1141     1151      +10     
- Partials      193      217      +24     
Flag Coverage Δ
R 70.50% <95.32%> (+0.66%) ⬆️
python 75.02% <82.75%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
tests 100.00% <ø> (ø)
src 87.41% <ø> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

apguerreiro and others added 6 commits December 23, 2025 19:20
Improve the 4D base case of FPL:
 * c/hv_priv.h: Remove x_aux from dlnote_t, x is const again.
 * c/hv.c:
    - Remove references to x_aux.
    - Also maintain a list sorted according to z coordinate.
    - Allocate (once) the auxiliar data structures used in the base case.
 * c/hv4d_priv.h (onec4dplusU):
    - Reconstruct the 3D base of the 4D contribution by sweeping the (sorted) z list.
    - Use an auxiliar dlnode_t list (list_aux) and an auxiliar double vector (x_aux) for modified points.
    - Take advantage of sweeping points in ascending order of the z-coordinate (continue_base_update_z_closest).
 * c/hv.c: Use ->vol instead of ->x for the auxiliary vectors.
 (fpli_hv4d): Delete unused.
  * c/hv4d_priv.h (update_bound_3d): New.
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.

3 participants