Skip to content

[MMS] Refactor the 1D python scripts#22

Merged
Fimache merged 3 commits into
main-freefem-sofafrom
refactor-1D
May 26, 2026
Merged

[MMS] Refactor the 1D python scripts#22
Fimache merged 3 commits into
main-freefem-sofafrom
refactor-1D

Conversation

@th-skam

@th-skam th-skam commented May 26, 2026

Copy link
Copy Markdown
Collaborator

A refactor of the 1D functions. Should be much easier to add new ones now. Similar strategy for 2D incoming.

th-skam and others added 3 commits May 25, 2026 11:44
  - Move folders
  - Simplify files - remove clutter
  - Apply non-dimensionalization in the README and code
  - Split FEM from mms_utils.py
  - Rework scripts using edges
  - use topology
  - Add abstract manufactured solution
  - Refactor the 3 functions
  - Encapsulate bar solution with a wrapper
  - Use result wrapper
  - Substitute quadrature calling
  - Handle convergence study outside
  - Adopt RegularGridTopology
  - Split convergence study file
  - Refactor quadratures
  - Remove utils to bar.py
  - Improve plots
* add exponential case with 3-point Gauss rule and fix README

* add convergence results for exponenttial case

* remove results
 - Introduce a force assembler
 - Remove unnecessary 3-point rule
 - Impose 1-point quadrature rule for all source terms
@th-skam th-skam requested a review from Fimache May 26, 2026 13:35
@th-skam th-skam changed the title Refactor 1 d [MMS] Refactor the 1D python scripts May 26, 2026
@Fimache Fimache merged commit b07f1a7 into main-freefem-sofa May 26, 2026
3 of 6 checks passed
@Fimache Fimache deleted the refactor-1D branch May 26, 2026 14:16
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.

2 participants