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.66667% with 32 lines in your changes missing coverage. Please review.
✅ Project coverage is 77.68%. Comparing base (3258e1f) to head (74063d7).

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #49      +/-   ##
==========================================
+ Coverage   77.65%   77.68%   +0.02%     
==========================================
  Files          62       62              
  Lines        5813     6058     +245     
  Branches      889     1017     +128     
==========================================
+ Hits         4514     4706     +192     
- Misses       1104     1113       +9     
- Partials      195      239      +44     
Flag Coverage Δ
R 70.78% <97.07%> (+0.90%) ⬆️

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

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

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.
@MLopez-Ibanez MLopez-Ibanez force-pushed the fpl-basecase-clean branch 2 times, most recently from ca7ffde to 9b33f37 Compare December 26, 2025 10:20
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