Add `connect_hanging_nodes` API

Offen
#287 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Anfängerfreundlichkeit
45/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
python
Bereich
api

Rechercherichtung

Start by finding where the connect_hanging_nodes flag is read from the refinement parameters in the Python wrapper, then trace how that flag reaches the MeshKernel call. The request is to expose the hanging-node connection as its own public method, so check whether the underlying MeshKernel function is already bound before writing any wrapper. Done means a separate callable exists, the refinement flag can stay False, and a test covers calling it after refinement. The issue does not name files, so confirm the design with maintainers first.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

enhancement

Is your feature request related to a problem? Please describe.
This is currently only accessible via refinementparameters. If a user does multiple refinement steps (like in https://github.com/Deltares/HYDROLIB/issues/244) the user has to change use connect_hanging_nodes=False for all steps except the last one (there they should use connect_hanging_nodes=True).

Describe the solution you'd like
Would be great to just always disable it and call connect_hanging_nodes via a separate API.

Describe alternatives you've considered
A workaround like described above, but this is a bit cumbersome.

Vorherrschende Sprache
Python
Sterne
30
Forks
5
Ø Merge
1 T. 17 Std.
Gemergte PRs (30 T.)
4

Entwicklungsumgebung

Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus Deltares/MeshKernelPy

Alle Issues in Deltares/MeshKernelPy

Ähnliche Issues

Weitere Issues zu Python

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.