Function intenstive_dn

Source
pub fn intenstive_dn(
    d_x_nacl: Result<f64, String>,
    x_nacl: f64,
) -> Result<[f64; 2], String>
Expand description

Mole number derivatives for intensive property for a total number of moles of 1

Mole numbers derivatives for intensive properties in CAPE-OPEN are defined as the derivatives of the property w.r.t. the mole numbers, for a total number of moles of 1.

§Arguments:

  • d_x_nacl - NaCl mole fraction derivative, or an error

§Returns

The mole number derivatives with respect to both compounds, or an error.