Separate Rosenbrock integrator interface to GridKit from the integrator implementation.

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

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

@alexander-novo がすでに取り組んでいます。

2026年10月13日 から。

評価

この issue はまだ評価されていません。

説明

enhancement new solver
Summary

Implement interface to Rosenbrock numerical integrator that follows the same API as Ida interface. If necessary make adjustments to Ida.

Rationale

Creating a clean interface to Rosenbrock method allows it to be used interchangeably with IDA solver from SUNDIALS. Separating implementation from the interface allows for further development of the numerical integrator without affecting GridKit interface.

Description

Implement interface in files GridKit/Solver/Dynamic/Rosenbrock.*pp and place actual solver implementation in files in the directory GridKit/Solver/Dynamic/Rosenbrock. Consider moving most of the common API to DynamicSolver base class.

The Rosenbrock interface should implement same methods such as Ida. For example,

      int configureLinearSolver();
      int getDefaultInitialCondition();
      int initializeSimulation(RealT t0, bool findConsistent = true);
      int getStepCount(RealT tf, RealT dt) const;
      int runSimulation(RealT tf, RealT dt_monitor = 0);
      ...
Additional information

No response

主要言語
C++
スター
27
フォーク
11
平均マージ
2日 21時間
マージ済み PR(30日)
15

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

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

ORNL/GridKit のほかの issue

ORNL/GridKit の issue をすべて見る

似ている issue

C++ の issue をもっと見る

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

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