]> https://gitweb.dealii.org/ - dealii.git/commit
Improve vertex caching in a few places. 4516/head
authorDavid Wells <wellsd2@rpi.edu>
Mon, 12 Jun 2017 15:13:04 +0000 (11:13 -0400)
committerDavid Wells <wellsd2@rpi.edu>
Wed, 14 Jun 2017 14:31:15 +0000 (10:31 -0400)
commitb584c58d9558ec8fba128a098404499825388d14
tree4b2c4d5a44782aa48a75c218f7cc5c3cf1a25451
parenteeaa570b24cbda7c7ea2f0def58ce0f29ff7c666
Improve vertex caching in a few places.

Calling cell->vertex() requires several index lookups before indexing into the
global vertex array so this is relatively expensive. This patch lowers, in a
TransfiniteInterpolationManifold benchmark, the number of vertex lookups from
about 361 million to 229 million and lowers the total wall time by about 5%.
source/grid/manifold_lib.cc
source/grid/tria_accessor.cc

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.