pg_utils.sympy_supp.vector_calculus_3d.Scalar3D

class pg_utils.sympy_supp.vector_calculus_3d.Scalar3D(scalar, coord_sys: OrthogonalCoordinates3D)[source]

Bases: Tensor3D

Scalar in 3D

__init__(scalar, coord_sys: OrthogonalCoordinates3D) None[source]

Methods

__init__(scalar, coord_sys)

grad(**kwargs)

Compute gradient, 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)

Scalar remains unchanged.

grad(**kwargs)[source]

Compute gradient, shortcut for calling the method in coord_sys

laplacian(**kwargs)[source]

Compute Laplacian, shortcut for calling the method in coord_sys

transform_to(new_sys: OrthogonalCoordinates3D, **kwargs) Tensor3D[source]

Scalar remains unchanged.