Skip to content
Snippets Groups Projects
Commit ec5a8c79 authored by Bernd Flemisch's avatar Bernd Flemisch
Browse files

[implicit] store Geometry if it is re-used

Since grid implementations like Yasp calculate the Geometries on the
fly, every call to entity.geometry() may involve computation. This patch
stores a Geometry when it can be used later on in the same block. Only
for the implicit models, decoupled contains a lot more.

For simple models this actually pays off: for 1p in 3d on a larger grid,
the running time could be reduced from 15.5 to 14 s.

Reviewed by Timo.



git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@14284 2fb0f335-1f38-0410-981e-8018bf24f1b0
parent 5e11ae86
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment