firedrakeproject / tsfc

Two-stage form compiler
Other
15 stars 24 forks source link

optimise: option to ignore indices in sum factorisation #258

Closed wence- closed 3 years ago

wence- commented 3 years ago

For optimisation of dual evaluation, we want to sum factorise a contraction, but know some sets of indices we just need to treat with delta elimination. Allow caller to exclude these indices from the factorisation routines to avoid N! behaviour for large N.