Skip to main content

PdgtFunctionalProperties

Trait PdgtFunctionalProperties 

Source
pub trait PdgtFunctionalProperties: HelmholtzEnergyFunctional {
    // Provided methods
    fn solve_pdgt(
        &self,
        vle: &PhaseEquilibrium<Self, 2>,
        n_grid: usize,
        reference_component: usize,
        z: Option<(&mut Length<Array1<f64>>, &mut Length)>,
    ) -> FeosResult<(Density<Array2<f64>>, SurfaceTension)> { ... }
    fn pdgt_density_profile_mix(
        &self,
        _vle: &PhaseEquilibrium<Self, 2>,
        _n_grid: usize,
        _reference_component: usize,
    ) -> FeosResult<Density<Array2<f64>>> { ... }
}

Provided Methods§

Source

fn solve_pdgt( &self, vle: &PhaseEquilibrium<Self, 2>, n_grid: usize, reference_component: usize, z: Option<(&mut Length<Array1<f64>>, &mut Length)>, ) -> FeosResult<(Density<Array2<f64>>, SurfaceTension)>

Source

fn pdgt_density_profile_mix( &self, _vle: &PhaseEquilibrium<Self, 2>, _n_grid: usize, _reference_component: usize, ) -> FeosResult<Density<Array2<f64>>>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§