bfieldtools.mesh_impedance.resistance_matrix¶
-
bfieldtools.mesh_impedance.
resistance_matrix
(mesh, sheet_resistance)¶ Resistance matrix of a mesh.
- Parameters
- mesh: Trimesh mesh object
- sheet_resistance: (N_faces) array or scalar
“1/(sigma*d)”, constant resistance for each face (or all faces if scalar)
- Returns
- R: (Nvertices x Nvertices) array
resistance matrix of mesh