Created by Graham Markall and last modified
Get this branch:
bzr branch lp:~grm08/+junk/ffc-pyop2-testing
Only Graham Markall can upload to this branch. If you are Graham Markall please log in for upload directions.

Related bugs

Related blueprints

Generate PyOP2 code (Undefined)

Branch information

Graham Markall

Recent revisions

1790. By Graham Markall

Build programs test programs using the pickled form data. Doesn't crash, but plenty of fails.

1789. By Graham Markall

Save element analysis as well as form analysis. WIP on test framework loading and using pickled analysis.

1788. By Graham Markall

Remove metadata in comments, which was a bad idea. Pickle the analysis instead.

1787. By Graham Markall

[WIP] Attempt at test harness and metadata generation. Metadata needs refining to suit multiple elements that may be used.

1786. By Graham Markall

Bump up PyOP2 version to match changed vector API.

1785. By Graham Markall

Fix bug in options to test.py. Initial attempt at a PyOP2 testing header.

1784. By Graham Markall

Modifications to support the PyOP2 API for assembling vector fields. The changes

* The local tensor for matrices is now A[dim][dim]
* FFC must generate loops over the spatial dimensions of the entries of the
  local tensor. To do this, we check in create_mapping_basis whether we're
  generating PyOP2 code for a Mixed Element. If so, two indices are generated,
  one over the DOFs for the sub element of the Mixed element, and one over the
  dimensions (i.e. the number of sub elements) of the mixed element. The index
  calculation into basis functions is also modified to depend on both these
  indices in order to produce the correct result.
* create_loop_entry is modified accordingly to deal with the possible sets of
  indices that it may now encounter.

This strategy does not work for Mixed Elements that are not the product of a
tensor product of a scalar basis - i.e. it works with elements from UFL's

1783. By Graham Markall

Remove static storage class for edge vertices in PyOP2 code.

1782. By Graham Markall

Fix error in previous commit.

1781. By Graham Markall

Don't generate code with static storage class in PyOP2 code.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.