paramagpy.metal.Metal.fast_dipole_shift_tensor¶
- Metal.fast_dipole_shift_tensor(posarray)[source]¶
A vectorised version of
paramagpy.metal.Metal.dipole_shift_tensor()
This is generally used for fast calculations.
- Parameters
posarray (array) – an array of positions with shape (n,3)
- Returns
dipole_shift_tensor_array – and array of dipole shift tensors at corresponding positions. This has shape (n,3,3)
- Return type
array