Skip to content
This repository has been archived by the owner on Jul 23, 2019. It is now read-only.

Add covariant derivative/connection support. #2

Open
cjayross opened this issue Jul 4, 2019 · 0 comments
Open

Add covariant derivative/connection support. #2

cjayross opened this issue Jul 4, 2019 · 0 comments

Comments

@cjayross
Copy link
Contributor

cjayross commented Jul 4, 2019

For a given vector equation, we need a method for calculating the covariant derivative given by:

equation

The covariant derivative should be implemented as an operator, however, the contraction of the input vector with the Christoffel symbols implies that the covariant derivative is not compatible with the current API for tensors.

I propose to simply model the covariant derivative as a tensor operator similar to the DiffOperator in partial.py where it is a subclass of ~sympy.tensor.tensor.TensExpr and defines the __mul__ and __rmul__ magic methods to return an expression of the form provided by the equation above.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant