bfieldtools.integrals.potential_dipoles¶
-
bfieldtools.integrals.
potential_dipoles
(R, face_normals, face_areas)¶ - Approximate the potential of linearly varying dipole density by
by dipoles at each face
- Parameters
- Rndarray (Neval, Ntri, Ntri_verts, N_xyz)
Displacement vectors
- face_normals: ndarray (Ntri, 3)
normals for each triangle
- face_areas: ndarray (Ntri,)
areas for each triangle
- Return
Potential approximation for vertex in each face pot: (Neval, Ntri, Ntriverts)