pg_utils.sympy_supp.vector_calculus_3d.Vector3D
- class pg_utils.sympy_supp.vector_calculus_3d.Vector3D(vector, coord_sys: OrthogonalCoordinates3D)[source]
Bases:
Tensor3D
Vector in 3D
- __init__(vector, coord_sys: OrthogonalCoordinates3D) None [source]
Methods
__init__
(vector, coord_sys)curl
(**kwargs)Compute curl, shortcut for calling the method in coord_sys
div
(**kwargs)Compute divergence, shortcut for calling the method in coord_sys
laplacian
(**kwargs)Compute Laplacian, shortcut for calling the method in coord_sys
transform_to
(new_sys, **kwargs)Transform to another coordinates system
- transform_to(new_sys: OrthogonalCoordinates3D, **kwargs) Tensor3D [source]
Transform to another coordinates system