Deprecate some `locate_cell_...` functionality

Aperta
#5,512 0 commenti 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@leo-collins ci sta già lavorando.

Dal 12/10/2026.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
42/100
Tipo di issue
Refactoring
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
python
Ambito
backend

Direzione di ricerca

Start by locating MeshGeometry and the locate_cell, locate_reference_coordinate, locate_cell_and_reference_coordinate, and locate_cells_ref_coords_and_dists methods, then check the status of pull request #5396 before changing cells_ignore. Deprecate and remove the named wrappers and, after that PR is merged, remove the argument as described; done means the obsolete APIs are removed and users are directed to the manual's VertexOnlyMesh guidance.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

We should deprecate and remove the following:

  • The locate_cell, locate_reference_coordinate, locate_cell_and_reference_coordinate methods on MeshGeometry which are all just fairly pointless wrappers around locate_cells_ref_coords_and_dists which does the actual work. Users should not be calling these methods either since they are not safe in parallel. Users should build a VertexOnlyMesh as described in the manual.
  • The cells_ignore argument to these functions should be deprecated and removed after https://github.com/firedrakeproject/firedrake/pull/5396 is merged. This was only used in the nasty retry loop in the old point location code. This is not needed now since we do not search through halo cells anymore.
Lingua principale
Python
Stelle
684
Fork
204
Merge medio
4g 14h
PR unite (30g)
46

Preparare l'ambiente

  • Nessun Dockerfile né file Docker Compose
  • Ha un modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di firedrakeproject/firedrake

Tutte le issue di firedrakeproject/firedrake

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.