Tensor density in sagemanifolds?

asked 6 years ago

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?

Preview: (hide)

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 ( 6 years ago )
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 ( 6 years ago )
2

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

eric_g gravatar imageeric_g ( 6 years ago )