The old form.form_data() and form.compute_form_data() are now gone.
Instead you can get some of the data from the form directly:

form.coefficients()
form.arguments()
form.domains()
form.signature()
form.subdomain_data()

Some of these incur a cost for nontrivial forms, but the results are cached
in the form object so if you call them before jit then jit can skip the
same cost.

The full FormData class is still in there behind the scenes, but it's built
explicitly in the analysis stage of ffc, only when the module needs to be
compiled.

This reduces the time and memory cost of symbolic processing of forms when
found in the jit cache.

Martin
_______________________________________________
fenics mailing list
[email protected]
http://fenicsproject.org/mailman/listinfo/fenics

Reply via email to