DependenceObject#
- class differential_geometry.dependence.DependenceObject(coordinate_system: _CoordinateSystemBase)[source]#
Base class for representing symbolic dependence of tensors on coordinates.
This class serves as the foundation for modeling whether a scalar or tensor field depends on specific coordinate axes in a given coordinate system. It provides interfaces to construct a symbolic proxy of the tensor and to reconstruct a dependence object from a symbolic expression.
- Subclasses must implement:
to_symbolic_proxy()
: Create a dummy symbolic tensor/field to represent dependence.from_symbolic_proxy()
: Reconstruct a dependence object from an existing symbolic proxy.
- Parameters:
coordinate_system (
_CoordinateSystemBase
) – The coordinate system in which the dependence is defined.
Methods
__init__
(coordinate_system)Initialize the base dependence object with a coordinate system.
from_symbolic_proxy
(coordinate_system, ...)Construct a dependence object by analyzing a symbolic proxy.
Construct a symbolic proxy representing this dependence.
Attributes
The coordinate system associated with this dependence object.
Number of coordinate dimensions in the associated coordinate system.
A symbolic proxy field or tensor that represents coordinate dependence.