Extend jacobian interface of geometry classes
This adds methods jacobian(local) and jacobianInverse(local) and corresponding typedefs Jacobian and JacobianInverse for the return types to the Geometry interface. More specifically:
- The new interface is implemented for all
Geometryimplementations provided by dune-geometry. All implementations return either aFieldMatrixor aDiagonalMatrixby value, even ifjacobianTransposed()orjacobianInverseTransposed()provide cached references. Since this only involves transposing the cached matrix, it is still cheap, while not requiring to cache another to matrices. - This extends the test
checkgeometry.hhby the new interface. This requires that all geometry implementations adopt the new interface as well. - By adjusting
checkgeometry.hhthis implicitly extends the requirements for the grid geometries. But a default implementation is provided there by dune-grid!577 (merged). Hence the latter should be merged before the present MR.