Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I94-checkpointing #97

Merged
merged 16 commits into from
Sep 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ pub enum OdeSolverError {
#[error("atol must have length 1 or equal to the number of states")]
AtolLengthMismatch,
#[error("t_eval must be increasing and all values must be greater than or equal to the current time")]
StateProblemMismatch,
#[error("State is not consistent with the problem equations")]
InvalidTEval,
#[error("Sundials error: {0}")]
SundialsError(String),
Expand Down
9 changes: 5 additions & 4 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -153,10 +153,11 @@ use nonlinear_solver::{
};
use ode_solver::jacobian_update::JacobianUpdate;
pub use ode_solver::{
bdf::Bdf, builder::OdeBuilder, equations::OdeEquations, equations::OdeSolverEquations,
method::OdeSolverMethod, method::OdeSolverState, method::OdeSolverStopReason,
problem::OdeSolverProblem, sdirk::Sdirk, sens_equations::SensEquations,
sens_equations::SensInit, sens_equations::SensRhs, tableau::Tableau,
bdf::Bdf, bdf_state::BdfState, builder::OdeBuilder, equations::OdeEquations,
equations::OdeSolverEquations, method::OdeSolverMethod, method::OdeSolverStopReason,
problem::OdeSolverProblem, sdirk::Sdirk, sdirk_state::SdirkState,
sens_equations::SensEquations, sens_equations::SensInit, sens_equations::SensRhs,
state::OdeSolverState, tableau::Tableau,
};
pub use op::{
closure::Closure, constant_closure::ConstantClosure, linear_closure::LinearClosure,
Expand Down
Loading
Loading