Skip to main content

yee_div_b_2nd

Function yee_div_b_2nd 

pub fn yee_div_b_2nd(
    grid: &Grid3dSpec,
    bc: BoundaryCondition,
    bx_field: &[f64],
    by_field: &[f64],
    bz_field: &[f64],
    div_out: &mut [f64],
) -> Result<(), EmfOperatorError>
Expand description

Second-order staggered cell-center divergence $\nabla \cdot \mathbf{B}$ for face-staggered fields.