Changes between Initial Version and Version 2 of Ticket #28579


Ignore:
Timestamp:
10/08/19 11:26:28 (9 months ago)
Author:
gh-DeRhamSource
Comment:

New commits:

62dabd4Wedge product compatible with scalar fields

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #28579

    • Property Status changed from new to needs_review
    • Property Authors changed from to Michael Jung
    • Property Cc tscrim egourgoulhon added
    • Property Component changed from PLEASE CHANGE to geometry
    • Property Branch changed from to u/gh-DeRhamSource/wedge_product_with_scalar_fields
    • Property Commit changed from to 62dabd4520bc2349ef0b8336b461e1cbcce20390
    • Property Keywords manifolds scalar fields wedge product added
    • Property Reviewers changed from to Eric Gourgoulon, Travis Scrimshaw
    • Property Type changed from PLEASE CHANGE to enhancement
  • Ticket #28579 – Description

    initial v2  
     1The wedge product of differential forms was not compatible with scalar fields:
     2
     3{{{
     4sage: M = Manifold(2, 'S^2', start_index=1) # the 2-dimensional sphere S^2
     5sage: c_cart.<x,y> = M.chart()
     6sage: a = M.diff_form(1, [x, y], name='a')
     7sage: f = M.scalar_field(x^2, name='f')
     8sage: a.wedge(f)
     9AttributeError                            Traceback (most recent call last)
     10<ipython-input-1-039619b3382c> in <module>()
     11      3 a = M.diff_form(Integer(1), [x, y], name='a')
     12      4 f = M.scalar_field(x**Integer(2), name='f')
     13----> 5 a.wedge(f)
     14...
     15AttributeError: 'DiffScalarFieldAlgebra_with_category.element_class' object has no attribute '_ambient_domain'
     16}}}
     17
     18In this ticket, this gets fixed.
     19
     20This ticket is part of the metaticket #28519.