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

Appearance settings

Add homogeneous Hermite to the possible spline boundary conditions#1062

Merged
tpadioleau merged 12 commits intomainCExA-project/ddc:mainfrom
ebourne_spline_homogeneous_hermiteCExA-project/ddc:ebourne_spline_homogeneous_hermiteCopy head branch name to clipboard
Mar 2, 2026
Merged

Add homogeneous Hermite to the possible spline boundary conditions#1062
tpadioleau merged 12 commits intomainCExA-project/ddc:mainfrom
ebourne_spline_homogeneous_hermiteCExA-project/ddc:ebourne_spline_homogeneous_hermiteCopy head branch name to clipboard

Conversation

@EmilyBourne
Copy link
Copy Markdown
Collaborator

The most common use case (by far) for Hermite boundary conditions is that of homogeneous Hermite boundary conditions (i.e. the case when the value of the provided derivatives at the boundary is 0). It can be costly to create a ND ChunkSpan to hold the values of the derivatives at the boundary. Adding a homogeneous Hermite boundary condition avoids this cost as the 0 can be hardcoded.

@EmilyBourne EmilyBourne force-pushed the ebourne_spline_homogeneous_hermite branch from 42fb141 to 25cb3ef Compare February 19, 2026 17:59
@codecov
Copy link
Copy Markdown

codecov Bot commented Feb 19, 2026

Codecov Report

❌ Patch coverage is 93.93939% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 94.70%. Comparing base (054a2c8) to head (ecb80d2).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
src/ddc/kernels/splines/spline_builder.hpp 93.93% 1 Missing and 1 partial ⚠️

❌ Your patch status has failed because the patch coverage (93.93%) is below the target coverage (100.00%). You can increase the patch coverage or adjust the target coverage.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1062      +/-   ##
==========================================
- Coverage   94.72%   94.70%   -0.02%     
==========================================
  Files          59       59              
  Lines        2863     2873      +10     
  Branches      890      898       +8     
==========================================
+ Hits         2712     2721       +9     
- Misses         93       94       +1     
  Partials       58       58              

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@tpadioleau tpadioleau force-pushed the ebourne_spline_homogeneous_hermite branch from 77b676f to f794691 Compare February 25, 2026 06:50
@tpadioleau tpadioleau force-pushed the ebourne_spline_homogeneous_hermite branch from f794691 to ecb80d2 Compare March 1, 2026 13:21
@tpadioleau tpadioleau marked this pull request as ready for review March 1, 2026 13:38
@tpadioleau tpadioleau self-requested a review as a code owner March 1, 2026 13:38
Copy link
Copy Markdown
Member

@tpadioleau tpadioleau left a comment

Choose a reason for hiding this comment

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

Looks ok to me.

We discussed the possibility to generalize it to a constant value but it doesn't look trivial to extend the builder in that way. The constructor does not take any input data related to the "boundary conditions".

Also looking at this feature made me wonder whether we actually need some parameters as templates ? Are the current BoundCond and linear solver needed as templates ? Same question in the tests, I am not convinced we need a new executable per evaluator.

@tpadioleau
Copy link
Copy Markdown
Member

The coverage failure is ok, buggy toolchain.

@tpadioleau tpadioleau merged commit d956499 into main Mar 2, 2026
74 of 77 checks passed
@tpadioleau tpadioleau deleted the ebourne_spline_homogeneous_hermite branch March 2, 2026 08:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.