Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add quadrature order in sensor gaussian class #2218

Merged
merged 2 commits into from
Mar 18, 2024

Conversation

thomas-saigre
Copy link
Contributor

/cc @prudhomm

  • Have you checked to ensure there aren't other open Pull Requests for the same change?
  • Have you added an explanation of what your changes do and why you'd like us to include them?
  • Have you written new tests for your changes?
  • Have you successfully run the Feel++ testsuite with your changes locally?
  • Have you written Doxygen comments in your contribution ?

…ssian_sensor

[skip toolboxes, skip python, skip mor]
@thomas-saigre
Copy link
Contributor Author

Here are some results of what has changed thanks to these modifications. I'm solving the equation $-\Delta u = f$ where a Gaussian sensor gives $f$, with Dirichlet boundary conditions I'm solving this equation for various orders of discretization (from 1 to 6).
Before the addition of quadrature order inside the computation of the sensor, we noticed that the quadrature error was too great and therefore lost the amelioration due to higher order of discretization:
Capture d’écran du 2024-02-29 09-21-16
On the other hand, with a higher order of quadrature, we see improvement.
Capture d’écran du 2024-02-29 09-22-45
Note: we reach the machine error for $p\geqslant 4$

@vincentchabannes vincentchabannes merged commit 7f4a7e0 into develop Mar 18, 2024
9 of 10 checks passed
@prudhomm prudhomm deleted the fix/quad_order_gaussian_sensor branch May 11, 2024 06:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants