Skip to main content

debye_length

Function debye_length 

Source
pub fn debye_length(
    electron_temperature_kelvin: f64,
    electron_number_density: f64,
) -> Option<f64>
Expand description

Computes the Debye length.

Formula: λ_D = sqrt(ε0 k_B T_e / (n_e e^2))

§Examples

use use_plasma::debye_length;

assert!(debye_length(10_000.0, 1.0e18).is_some_and(|value| value > 0.0));