tpt-sci-dft-classical 0.1.0

Classical/soft-matter density functional theory (wraps feos/feos-dft), for the tpt-science pillar
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! Error types for `tpt-sci-dft-classical`.

use thiserror::Error;

/// Errors raised by the classical-DFT wrapper.
#[derive(Debug, Error, Clone, PartialEq)]
pub enum DftError {
    /// A functional/parameter could not be constructed.
    #[error("functional error: {0}")]
    Functional(String),
    /// A DFT profile could not be built or solved.
    #[error("profile error: {0}")]
    Profile(String),
}