Tensor density in sagemanifolds?

asked 2018-11-22 02:30:38 -0600

Dox gravatar image

Hello community.

I've just realized that within the class TensorField there are subclasses DiffForm and MultivectorField. I was wondering whether a maximal (i.e. rank $n$ in $n$ dimensions) differential form or multivector field are considered as tensor densities. I'm thinking in the Levi-Civita epsilon.

Well, more generally... Is there a way to assign a density weight to a tensor?

edit retag flag offensive close merge delete

Comments

2

I don't think this is implemented yet. To implement tensor densities I guess TensorField should become a subclass of TensorDensity (or TensorDensityField?) with weight zero, and probably much functionality could be moved to TensorDensity with the appropriate generalization (taking the weight into account).

rburing gravatar imagerburing ( 2018-11-22 03:11:38 -0600 )edit
2

Yes I confirm that tensor densities are not implemented yet. In particular, the method PseudoRiemannianMetric.volume_form() returns a tensor field (a $n$-form), not a tensor density.

eric_g gravatar imageeric_g ( 2018-11-22 07:16:29 -0600 )edit
2

Btw, if you would like to implement tensor densities, please visit https://sagemanifolds.obspm.fr/contri....

eric_g gravatar imageeric_g ( 2018-11-22 08:31:44 -0600 )edit