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