Skip to main content

yee_curl_e_4th

Function yee_curl_e_4th 

pub fn yee_curl_e_4th(
    grid: &Grid3dSpec,
    bc: BoundaryCondition,
    ex: &[f64],
    ey: &[f64],
    ez: &[f64],
    curl_x: &mut [f64],
    curl_y: &mut [f64],
    curl_z: &mut [f64],
) -> Result<(), EmfOperatorError>
Expand description

Fourth-order staggered forward curl $\nabla^{(4)} \times \mathbf{E}$ (Fang-type 4th-order stencil with weights $c_1 = 9/8$ and $c_2 = -1/24$).