Skip to main content

yee_check_cfl

Function yee_check_cfl 

Source
pub fn yee_check_cfl(
    dt_s: f64,
    spacing_m: [f64; 3],
    eps_r: f64,
    mu_r: f64,
) -> Result<f64, Error>
Expand description

Checks dt_s <= dt_cfl and returns the Courant number S in (0, 1].