For the tensor representation, I was able to remove large portions of
code for extracting integrals of various types (domain_type) and on
different sub domains (domain_id).
This now happens in UFL and form_data has a new member called
integral_data, that just lists all the data associated with different
(UFC) integrals:
[(domain_type, domain_id, integrals, metadata),
(domain_type, domain_id, integrals, metadata),
...]
We then iterate over all integral tuples in representation.py and call
the appropriate backend depending on metadata["representation"].
I have also updated analysis.py so that it makes sure metadata is
common for all UFL integrals that should go into the same UFC
integral.
Let me know if you have any questions on the new format.
--
Anders
------------------------------------------------------------------------
_______________________________________________
Mailing list: https://launchpad.net/~ffc
Post to : ffc@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~ffc
More help : https://help.launchpad.net/ListHelp