FEniCS/dolfinx

Restructure demos into more functions where appropriate

Aberta

#3.076 aberto em 27 de fev. de 2024

 (3 comentários) (0 reação) (0 responsável)C++ (255 forks)auto 404
demogood first issue

Métricas do repositório

Stars
 (1.158 estrelas)
Métricas de merge de PR
 (Métricas PR pendentes)

Description

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.

Guia do colaborador