rgsaddle 0.1.1

Band and minimum-mode saddle mechanics over rgmin steppers.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! Error type shared by the saddle sessions.

use thiserror::Error;

#[derive(Debug, Error)]
pub enum SaddleError {
    #[error("shape mismatch: {0}")]
    Shape(String),
    #[error("surface evaluation failed: {0}")]
    Surface(String),
    #[error("non-finite value in {0}")]
    NonFinite(&'static str),
    #[error("solver step failed: {0}")]
    Solver(String),
}