Remove diffOrder from LocalBasisTraits
One reason to adopt the new interface of partial()
in favour evaluate()
was that the number of implemented partial derivatives should not be encoded in the interface type. However we still do so via the diffOrder
template parameter and enum. I propose to remove both.
Since diffOrder
originally denoted the number of partial derivatives implemented by evaluate()
we could instantly remove the enum. it because it's meaningless now. However, for transition, we could also implement the following variants:
- keep the template parameter and drop the enum
- keep the template parameter but ignore it and always export the enum
diffOrder=0