pub fn vector_potential_triangle_mesh_mapping_par(
obs: (&[f64], &[f64], &[f64]),
mesh: &TriangleMeshView<'_>,
out: (&mut [f64], &mut [f64], &mut [f64]),
) -> Result<(), &'static str>Expand description
Parallel variant of vector_potential_triangle_mesh_mapping.
Args:
obs: Observation point component slices (x, y, z) (m).
mesh: Borrowed triangle-mesh geometry view.
out: Output mapping buffers (ax_map, ay_map, az_map) (Vs/(mA)), each row-major in
(observation point, source node) order.
Returns:
Ok(()) after writing the dense mapping to out, or an error if the mesh
geometry or slice dimensions are inconsistent.
References:
- [8], Eqs. (5)-(9), (15), and (19)-(21), for each exact triangle interaction.