Thread Previous • Date Previous • Date Next • Thread Next |
Take a look at ufl/sandbox/algorithmtests/degree_estimation.py just added. Is this good enough for the initial version? It handles mixed elements by using the max degree of subelements, and nonlinear operators by just using the degree of the operands. Should work fine for most forms where accurate estimation is possible. I'll add it into UFL soon. Martin
Thread Previous • Date Previous • Date Next • Thread Next |