pub fn body_force_density_point_segment(
xyzfil: (&[f64], &[f64], &[f64]),
dlxyzfil: (&[f64], &[f64], &[f64]),
ifil: &[f64],
xyzobs: (&[f64], &[f64], &[f64]),
jobs: (&[f64], &[f64], &[f64]),
out: (&mut [f64], &mut [f64], &mut [f64]),
) -> Result<(), &'static str>Expand description
JxB (Lorentz) body force density (per volume) due to a linear current filament segment at an observation point with some current density (per area).
Uses filament midpoint as field source.
ยงArguments
xyzifil: (m, m, A) Filament start and end coords and currentdlxyzfil: (m) Filament segment length deltas, each lengthmifil: (A) Filament current, lengthmxyzobs: (m) Observation point coordsjobs: (A/m^2) Current density vector at observation pointout: (N/m^3) Body force density x, y, z components