UFL

Preprocessing can be refactored into form-level processing of integrals and expression-level preprocessing usable without a form

Registered by Martin Sandve Alnæs

Currently we have preprocess(form, ...) and preprocess_expression(expr, ...) which is used only by uflacs, but they both do mostly the same and can be merged with some refactoring. At the same time, the form signature should be computed from the form resulting from a canonical merging of integrals over subdomains. Currently this merging happens in the translation to integral_data and is thus not seen in preprocessed_form.

Blueprint information

Status:
Complete
Approver:
Martin Sandve Alnæs
Priority:
Medium
Drafter:
Martin Sandve Alnæs
Direction:
Approved
Assignee:
Martin Sandve Alnæs
Definition:
Obsolete
Series goal:
None
Implementation:
Started
Milestone target:
None
Started by
Martin Sandve Alnæs
Completed by
Martin Sandve Alnæs

Related branches

Sprints

Whiteboard

(?)

Work Items

Work items:
[martinal] Get rid of replacement of functions by using function mappings in ffc: TODO
[martinal] Split integrals by subdomain id before signature is computed: TODO
[martinal] Reuse preprocessing code between form and expression preprocess: TODO

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.