acoustotreams.vfield¶
- acoustotreams.vfield(r, *, basis, k0, material=AcousticMaterial(1.3, 343.0, 0.0), modetype=None)[source]¶
Velocity field.
The resulting matrix maps the pressure field coefficients of the given basis to the velocity field in Cartesian coordinates.
The velocity field is given in units of \(\frac{1}{\rho c}p\).
- Parameters:
r (array-like) – Evaluation points
basis (
ScalarBasisSet) – Basis set.k0 (float) – Wave number.
material (
AcousticMaterialor tuple, optional) – Material parameters.modetype (str, optional) – Wave mode.