#18843: Differentiable manifolds: vector fields and tensor fields
-------------------------------------+-------------------------------------
Reporter: egourgoulhon | Owner: egourgoulhon
Type: enhancement | Status: needs_work
Priority: major | Milestone: sage-7.3
Component: geometry | Resolution:
Keywords: differentiable | Merged in:
manifold, tensor field, vector |
field, differential form |
Authors: Eric Gourgoulhon, | Reviewers: Travis Scrimshaw
Michal Bejger |
Report Upstream: N/A | Work issues:
Branch: | Commit:
public/manifolds/diff_manif_tensor_fields|
3ab0af048e9ba51f09752a02f0d6544a53ffe15e
Dependencies: #15916, #18783, | Stopgaps:
#20770 |
-------------------------------------+-------------------------------------
Comment (by tscrim):
Replying to [comment:40 egourgoulhon]:
> Replying to [comment:39 tscrim]:
> > Replying to [comment:38 egourgoulhon]:
> > > I agree that the exterior derivative is too specialized to have it
in the global namespace of any sage session. On the other side, end users
working with differential forms may feel cumbersome to perform some import
in each of their sessions. A solution could be to modify the top function
`Manifold` so that it imports `xder` into the global namespace. Is such a
thing possible/desirable?
> >
> > This is what the `init.sage` is for. It is called every time Sage is
loaded.
>
> What about the !SageMathCloud? It's certainly technically possible to
define some `init.sage` there, but one has to open a terminal and edit a
file, etc.
>
> Also a drawback of `init.sage` is that your worksheets cannot easily be
shared with somebody else, or made publicly available for repeating the
calculation.
For SMC worksheets, you can easily have the setup in an `%auto` block.
> > I feel that one import to setup an environment with a convenience
function is very little to ask. IMO, it is not good for the entry point
`Manifold` to have side effects.
>
> What about `Manifold.import_convenience_functions(verbose=True)` or
something like this? It could
> (i) put functions like `xder` in the global namespace and (ii) print out
the list of such functions if `verbose` is `True`.
That is no different than doing a usual import. I guess a question that I
have is how many such functions do you think there will eventually be?
--
Ticket URL: <https://trac.sagemath.org/ticket/18843#comment:42>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.