Absolutely objective Lagrangian coordinates

Hello, how can I work with Lagrangian coordinates, my problem is that I want to use a more precise kinematic law, and I require the polar decomposition of the deformation gradient, in addition to some other operations, such as the root of a tensor and the logarithm of a tensor…, but UFL does not have support for any of these operations.