FEniCS/dolfinx

Restructure demos into more functions where appropriate

開放

#3,076 建立於 2024年2月27日

 (3 則留言) (0 個反應) (0 位負責人)C++ (255 個分叉)auto 404
demogood first issue

倉庫指標

星標
 (1,158 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

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.

貢獻者指南