Skip to content

[FEM] Introduce higher accuracy quadrature rules - #6225

Open
th-skam wants to merge 5 commits into
sofa-framework:masterfrom
th-skam:quadrature-rules
Open

[FEM] Introduce higher accuracy quadrature rules#6225
th-skam wants to merge 5 commits into
sofa-framework:masterfrom
th-skam:quadrature-rules

Conversation

@th-skam

@th-skam th-skam commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

For each Element, an option is added to use a higher-accuracy quadrature rule. The default behaviour of existing force fields is preserved. Lower-order rules are also included for completeness.

The purpose of this change is to enable more accurate error-norm computations in the V&V suite using the Method of Manufactured Solutions.

If the accuracy is insufficient, the integration introduces errors in the computed norms. This we observe either as the convergence rate approaching the expected one more slowly or as apparent superconvergence that counters the purpose of the test.

The degrees are:

Element Up to degree Default degree
Edge 3 1
Quad 3 2
Tri 2 1
Tetra 2 1
Hex 5 3

By submitting this pull request, I acknowledge that
I have read, understand, and agree SOFA Developer Certificate of Origin (DCO).


Reviewers will merge this pull-request only if

  • it builds with SUCCESS for all platforms on the CI.
  • it does not generate new warnings.
  • it does not generate new unit test failures.
  • it does not generate new scene test failures.
  • it does not break API compatibility.
  • it is more than 1 week old (or has fast-merge label).

@th-skam th-skam added pr: status to review To notify reviewers to review this pull-request pr: new feature Implement a new feature labels Aug 10, 2026
@th-skam th-skam added the pr: AI-aided Label notifying the reviewers that part or all of the PR has been generated with the help of an AI label Aug 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr: AI-aided Label notifying the reviewers that part or all of the PR has been generated with the help of an AI pr: new feature Implement a new feature pr: status to review To notify reviewers to review this pull-request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant