Separate Rosenbrock integrator interface to GridKit from the integrator implementation.

Đang mở
#618 0 bình luận 0 reaction 1 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@alexander-novo đang làm issue này rồi.

Từ ngày 13/10/2026.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

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

Ngôn ngữ chính
C++
Star
27
Fork
11
Merge trung bình
2 ngày 21 giờ
Pull request đã merge (30 ngày)
15

Chuẩn bị môi trường

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của ORNL/GridKit

Tất cả issue của ORNL/GridKit

Issue tương tự

Thêm issue về C++

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.