Keep metric purely symbolic
Is there an easy way to define a purely symbolic riemannian metric on a manifold?
Or do I need to initialize it like this
g[0,0] = function('g00')(t,x,y,z)
for example?
Is there an easy way to define a purely symbolic riemannian metric on a manifold?
Or do I need to initialize it like this
g[0,0] = function('g00')(t,x,y,z)
for example?
At the moment, all tensor fields on manifolds must have expressions in terms of coordinates in one or more charts, These expressions can involve some unspecified functions though, declared via function
. So yes, the only way to define a generic metric is what you suggest. But in practice, for dimensions larger than 2 or 3, this can lead to untractable computations.
oh, that is a pity. both in terms of writing it out and computationally. I will then use cadabra2 in the meantime for this.
Please start posting anonymously - your entry will be published after you log in or create a new account.
Asked: 2023-06-23 14:03:08 +0100
Seen: 225 times
Last updated: Jun 23 '23
Potential from an exact differential form
Pullback computation is hanging. [closed]
Restriction of domain of vector field
Display connection coefficients under a change of chart
Transformation of derivative under a change of chart
Inverse of the transition map on a Manifold doesn't hold
manifolds : ricci_scalar() has no attribute 'at' [closed]
Coefficient of Polynomial of Differential Forms and displaying List for differential forms