Vector fields
cartesian_vector_field(p)
Vector field defined by its components in the cartesian coordinate system (x, y, z). The components of the output vector field are cartesian (x, y, z). Args: p: Array of Cartesian components with shape (3, N), where N is the number of coordinate points. Rows are (u_x, u_y, u_z).
| Returns: |
|
|---|
spherical_vector_field(p)
Vector field defined by its components in the spherical coordinate system (r, phi, theta). The components of the output vector field are cartesian (x, y, z).
| Parameters: |
|
|---|
| Returns: |
|
|---|
cylindrical_vector_field(p)
Vector field defined by its components in the cylindrical coordinate system (r, phi, z). The components of the output vector field are cartesian (x, y, z).
| Parameters: |
|
|---|
| Returns: |
|
|---|
radial_vector_field_spherical(r)
Vector field where all the vectors are pointing radially outwards from the origin. Point cloud specifying the positions of points at which the vector field is evaluated is taken as the input. The components of the output vector field are cartesian (x, y, z).
| Parameters: |
|
|---|
| Returns: |
|
|---|
radial_vector_field_cylindrical(r)
Vector field where all the vectors are pointing radially outwards from the line x=0, y=0 (z-axis). Point cloud specifying the positions of points at which the vector field is evaluated is taken as the input. The components of the output vector field are cartesian (x, y, z).
| Parameters: |
|
|---|
| Returns: |
|
|---|
hyperbolic_vector_field_cylindrical(r)
Hyperbolic vector field centered at the line x=0, y=0 (z-axis). Point cloud specifying the positions of points at which the vector field is evaluated is taken as the input. The components of the output vector field are cartesian (x, y, z).
| Parameters: |
|
|---|
| Returns: |
|
|---|
awn_vector_field_cylindrical(r, gamma)
Azimuthal winding vector field on the cylinder: the in-plane direction is
gamma * arctan2(y, x). The z-component is zero.
| Parameters: |
|
|---|
| Returns: |
|
|---|
vortex_vector_field_cylindrical(r)
Cylindrical vortex vector field: at each point, the vector is tangent to a circle in the xy-plane centered on the z-axis. The z-component is zero.
| Parameters: |
|
|---|
| Returns: |
|
|---|
aar_vector_field_cylindrical(r, alpha)
Axially aligned radial vector field on the cylinder: cylindrical radial vector
field rotated by a fixed angle alpha about the z-axis.
| Parameters: |
|
|---|
| Returns: |
|
|---|
aav_vector_field_cylindrical(r, alpha)
Axially aligned vortex vector field on the cylinder: cylindrical vortex vector
field rotated by a fixed angle alpha about the z-axis.
| Parameters: |
|
|---|
| Returns: |
|
|---|
x_vector_field(r)
Vector field where only the X component (cartesian coordinates) is non-zero. Point cloud specifying the positions of points at which the vector field is evaluated is taken as the input. The components of the output vector field are cartesian (x, y, z).
| Parameters: |
|
|---|
| Returns: |
|
|---|
y_vector_field(r)
Vector field where only the Y component (cartesian coordinates) is non-zero. Point cloud specifying the positions of points at which the vector field is evaluated is taken as the input. The components of the output vector field are cartesian (x, y, z).
| Parameters: |
|
|---|
| Returns: |
|
|---|
z_vector_field(r)
Vector field where only the Z component (cartesian coordinates) is non-zero. Point cloud specifying the positions of points at which the vector field is evaluated is taken as the input. The components of the output vector field are cartesian (x, y, z).
| Parameters: |
|
|---|
| Returns: |
|
|---|
from_sdf(sdf_, co_resolution)
Vector field constructed from an SDF. Point cloud specifying the value of the SDF is taken as an input. The components of the output vector field are cartesian (x, y, z).
| Parameters: |
|
|---|
| Returns: |
|
|---|