Skip to content

Adding a factory to ponca - #342

Open
BDoignies wants to merge 17 commits into
poncateam:masterfrom
BDoignies:Factory
Open

BDoignies wants to merge 17 commits into
poncateam:masterfrom
BDoignies:Factory

Conversation

@BDoignies

@BDoignies BDoignies commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

As discussed with @nmellado , here is a starter implementation of a factory within Ponca.

@codecov

codecov Bot commented Jun 15, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.75%. Comparing base (7abd0fd) to head (e48864e).

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #342      +/-   ##
==========================================
- Coverage   94.77%   94.75%   -0.03%     
==========================================
  Files          97       97              
  Lines        3619     3623       +4     
  Branches      282      282              
==========================================
+ Hits         3430     3433       +3     
- Misses        188      189       +1     
  Partials        1        1              
Files with missing lines Coverage Δ
Ponca/src/Fitting/Basket/extensions/gls.h 100.00% <ø> (ø)
Ponca/src/Fitting/Basket/extensions/heightField.h 100.00% <100.00%> (ø)
...ca/src/Fitting/Basket/extensions/mlsSphereFitDer.h 100.00% <100.00%> (ø)
Ponca/src/Fitting/Basket/extensions/weingarten.h 100.00% <100.00%> (ø)
Ponca/src/Fitting/Basket/fit/covarianceLineFit.h 85.71% <ø> (ø)
Ponca/src/Fitting/Basket/fit/covariancePlaneFit.h 100.00% <100.00%> (ø)
Ponca/src/Fitting/Basket/fit/meanPlaneFit.h 100.00% <ø> (ø)
Ponca/src/Fitting/Basket/fit/mongePatch.h 100.00% <ø> (ø)
Ponca/src/Fitting/Basket/fit/orientedSphereFit.h 100.00% <ø> (ø)
...nca/src/Fitting/Basket/primitive/algebraicSphere.h 96.66% <100.00%> (ø)
... and 6 more

... and 2 files with indirect coverage changes

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

@BDoignies
BDoignies force-pushed the Factory branch 2 times, most recently from b5571c5 to aec2756 Compare June 16, 2026 10:24
@nmellado

Copy link
Copy Markdown
Contributor

Wait for #343 .

// of the Basket... Instead we check that the function defines in it exists and
// return something that is coherent for derivatives to exists.
template <typename T>
concept ProvidesDerivatives = (T::isScaleDer() || T::isSpaceDer()) && (T::derDimension() > 0);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Better be in Basket concepts as ProvidesSpaceDerivatives ?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

ping @BDoignies ?

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.

2 participants