FEniCS/dolfinx

Restructure demos into more functions where appropriate

Offen

#3.076 geöffnet am 27.02.2024

 (3 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)C++ (255 Forks)auto 404
demogood first issue

Repository-Metriken

Stars
 (1.158 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

Most demos (C++ and Python) have a flat structure. This is fine for simple problems, but I see time and time again that users model their more extensive solvers on the demos and create single function (C++) / flat script (Python) demos that can be many hundreds or thousands of lines.

It would be good to review the structure of demos and refactor with more functions where appropriate. Hopefully users will then model their own codes on the more structured demos.

Contributor Guide