Do not generate basis derivatives

Issue #176 new
Jan Blechta created an issue

As reported here https://www.allanswered.com/post/mqxjk/#baqlz, parameter no-evaluate_basis_derivatives does not work any more (with transition to UFLACS generation between 2017.1 and 2017.2) which causes terribly big amount of code generated (blow-up in dmats, ...). That takes time, generated code is huge and C++ compiler possibly chokes on it.

Note that similar precaution might need to be taken for evaluate_reference_basis_derivatives, although it does not seem to blow up that fast.

#!/bin/sh

cat - > /tmp/test_uflacs_bug.ufl <<EOF
element = FiniteElement("P", tetrahedron, 8)
EOF

python3 -m ffc -v /tmp/test_uflacs_bug.ufl​

produces in 900 seconds 500Mbytes header!

Comments (2)

  1. Log in to comment