-
-
Notifications
You must be signed in to change notification settings - Fork 487
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inheritance Structure: Tensor Fields -> Vec. Bdl. Sections #29234
Comments
comment:1
It would be a shame when some documentations of tensor fields will be erased due to this task. Any suggestions how to keep them? |
comment:2
Replying to @DeRhamSource:
This is certainly something to discuss (and more generally all the topic of this ticket) during your visit in Meudon in two weeks. |
comment:3
The documentation is not lost. It will just appear as links in the compiled doc (which is a bit of loss for the |
comment:4
Batch modifying tickets that will likely not be ready for 9.1, based on a review of the ticket title, branch/review status, and last modification date. |
comment:5
I guess, a first way to start would be to let def overloaded_method(self, *args, **kwargs):
r"""
Keep documentation and docstring
"""
return super().overloaded_method(args, kwargs) to keep the documentation. Alternatively one could think about another documentation page functioning as a compendium for these kind of things. I'd prefer the former option because this is easier for users who are not involved in the development process to follow the changes, meaning things are kept as known for them. |
comment:6
Replying to @mjungmath:
This is code duplication and should be avoided IMHO. |
comment:7
As part of this refactorization, one could also extract a class representing general (pre)sheaves. This should actually not be too difficult as both implementations of sections as well as tensorfields mostly talk about the restriction of the section/tensor field to an open subset, i.e. exactly the sheaf-property. |
comment:8
Replying to @tobiasdiez:
Actually, this is an amazing idea. This is also beneficial in the sense that we can put all preexisting examples regarding tensor fields and sections in there since they represent the most prominent examples for sheafs on manifolds. By the way, scalar fields also define sheafs and should be covered here, too. |
comment:10
Setting new milestone based on a cursory review of ticket status, priority, and last modification date. |
This ticket is created to establish a concise and efficient inheritance structure between sections of vector bundles and tensor fields in order to avoid or reduce code redundancies.
In this ticket, we restrict the modification to tensor fields only. The issue "vectorframes -> local frames" is devoted to another ticket (opening soon).
CC: @egourgoulhon @tscrim
Component: geometry
Keywords: tensor-bundles, vector-bundles
Issue created by migration from https://trac.sagemath.org/ticket/29234
The text was updated successfully, but these errors were encountered: