Function yee_step_leapfrog_in_place
pub fn yee_step_leapfrog_in_place(
grid: &Grid3dSpec,
profile: YeeSolverProfile,
bc: BoundaryCondition,
mat: &YeeMaterialParams,
dt: f64,
ex: &mut [f64],
ey: &mut [f64],
ez: &mut [f64],
hx: &mut [f64],
hy: &mut [f64],
hz: &mut [f64],
jx: &[f64],
jy: &[f64],
jz: &[f64],
scratch_curl_x: &mut [f64],
scratch_curl_y: &mut [f64],
scratch_curl_z: &mut [f64],
) -> Result<(), EmfOperatorError>Expand description
Advance a 3D staggered Yee electromagnetic state by one full leapfrog step $\Delta t$.