Equilibrium - Make the magnetic-axis search's singular-Jacobian threshold relative

オープン
#608 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 3 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
38/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
julia

調査の方向性

Start with Equilibrium/Axisymmetric/Direct.jl to inspect the Newton search and its singular_det check. Then check FastInterpolations' implementation or documentation for whether 2-D cubic_interp is C² or C¹. Done means the singular-Jacobian threshold scales with the equilibrium, and the fallback accounts for interpolation behavior that can make Newton cycle.

索引モデルが issue の本文から書いたものです。

説明

The Newton search for the magnetic axis (Equilibrium/Axisymmetric/Direct.jl) treats the Hessian of ψ as singular below singular_det = 1e-20, an absolute threshold in the units of ψ_RR·ψ_ZZ. Its meaning therefore depends on the device size and the field strength.

Proposal: compare the determinant with a scale built from the equilibrium, for example (ψ_axis − ψ_boundary)²/L⁴ with L the minor radius, so the same relative threshold applies to a compact device and to an ITER-sized one. Also confirm whether FastInterpolations' 2-D cubic_interp is C² or only C¹. If only C¹, the Hessian jumps at grid nodes and an axis near a node can make Newton cycle, which the fallback should then expect.

主要言語
Julia
スター
11
フォーク
7
平均マージ
4日 3時間
マージ済み PR(30日)
70

環境構築

  • Dockerfile・Docker Compose ファイルなし
  • プルリクエストのテンプレートあり
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

OpenFUSIONToolkit/GPEC のほかの issue

OpenFUSIONToolkit/GPEC の issue をすべて見る

似ている issue

Julia の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。