Extend jacobian interface of geometry classes
All threads resolved!
All threads resolved!
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
Geometry
implementations provided by dune-geometry. All implementations return either aFieldMatrix
or aDiagonalMatrix
by 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.hh
by the new interface. This requires that all geometry implementations adopt the new interface as well. - By adjusting
checkgeometry.hh
this 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.
Merge request reports
Activity
Filter activity
mentioned in merge request dune-grid!577 (merged)
- Resolved by Carsten Gräser
- Resolved by Carsten Gräser
mentioned in merge request dune-common!1101 (closed)
mentioned in merge request dune-common!1138 (merged)
added 4 commits
- 3be06f84 - Implement jacobian() and jacobianInverse() in AffineGeometry
- 2a484f35 - Implement jacobian() and jacobianInverse() in (Cached)MultiLinearGeometry
- d466116c - Implement jacobian() and jacobianInverse() in AxisAlignedCubeGeometry
- e90c302d - [doc] Mention extended jacobian interface of geometry classes in the change log.
Toggle commit listThis now relies on dune-common!1138 (merged). There I also pushed a copy of the branch to benefit from branch name matching.
Edited by Carsten Gräseradded 13 commits
-
e90c302d...96a9468a - 8 commits from branch
master
- b81a8ffa - [test] Add test for jacobian(), jacobianInverse(), and corresponding type defs
- d7069302 - Implement jacobian() and jacobianInverse() in AffineGeometry
- f6bc33c5 - Implement jacobian() and jacobianInverse() in (Cached)MultiLinearGeometry
- fc97468e - Implement jacobian() and jacobianInverse() in AxisAlignedCubeGeometry
- f28bec74 - [doc] Mention extended jacobian interface of geometry classes in the change log.
Toggle commit list-
e90c302d...96a9468a - 8 commits from branch
added 5 commits
- 48cbe57b - [test] Add test for jacobian(), jacobianInverse(), and corresponding type defs
- bf5e28be - Implement jacobian() and jacobianInverse() in AffineGeometry
- 24faf399 - Implement jacobian() and jacobianInverse() in (Cached)MultiLinearGeometry
- 9ef54000 - Implement jacobian() and jacobianInverse() in AxisAlignedCubeGeometry
- e9a9938f - [doc] Mention extended jacobian interface of geometry classes in the change log.
Toggle commit listmentioned in merge request dune-grid!590 (merged)
mentioned in commit b02f8574
Please register or sign in to reply