Tearing.Dispersion - Scale the polish's finite-difference step to |Q|

Aperta
#605 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 3 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
54/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
julia
Ambito
performance

Direzione di ricerca

Find _polish_root and inspect how its finite-difference step h is used to compute the Jacobian near small trust radii and large |Q|. Run the harness before and after any proposed step scaling, then compare and report changes in accepted roots.

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

Descrizione

_polish_root uses h = max(1e-3 R, eps(Float64)), where R is the trust radius. The step does not scale with |Q|.

  • When R is small (near-coincident intersections), fx - fk loses digits to cancellation.
  • If h ever falls below about eps·|Q|, Q + h == Q, the Jacobian determinant is zero, and the polish silently does nothing.

Proposal: h = clamp(1e-3 R, sqrt(eps)·max(|Q|, 1), R/2), or an equivalent relative step. This changes the polish numerics slightly, so it needs a harness run, and any change in accepted roots should be reported.

Lingua principale
Julia
Stelle
11
Fork
7
Merge medio
4g 3h
PR unite (30g)
70

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 OpenFUSIONToolkit/GPEC

Tutte le issue di OpenFUSIONToolkit/GPEC

Issue simili

Altre issue su Julia

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.