> > Is it OK to introduce five new names in the global namespace: > grad, div, curl, laplacian, dalembertian > and possibly a sixth one: rot as an alias of curl? >
-1 > An alternative (disapproved by the reviewer) is to inject these names in > the global namespace only if any pseudo-Riemannian manifold is constructed, > by means of the function sage.repl.user_globals.set_global in > PseudoRiemannianManifold.__init__, see line 398 of > this source file > <https://git.sagemath.org/sage.git/tree/src/sage/manifolds/differentiable/pseudo_riemannian.py?id=ac81082ff6279d0a0e6879359d7792514b03aaa9> > . > -1 >From the ticket: > Some other thoughts that come to my mind is a function like > setup_manifolds_environment and/or getting people who use SageManifolds > to have a specific section to their .sage/init.sage file. +1 with the provision that the function `setup_manifolds_environment` itself is not in the global namespace but in the package `sage.manifolds`. -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.