Skip to main content

vector_potential_point_segment_scalar

Function vector_potential_point_segment_scalar 

Source
pub fn vector_potential_point_segment_scalar<T: Scalar>(
    xyzifil: ((T, T, T), (T, T, T), T),
    xyzobs: (T, T, T),
) -> (T, T, T)
Expand description

Vector potential (A-field) from a linear current filament segment to an observation point.

Uses filament midpoint as field source.

§Arguments

  • xyzifil: (m, m, A) Filament start and end coords and current
  • xyzobs: (m) Observation point coords

§Returns

  • a: (V-s/m) Vector potential x, y, z components