]> https://gitweb.dealii.org/ - dealii.git/commit
Redo some indexing inside FESystem. 14878/head
authorDavid Wells <drwells@email.unc.edu>
Sun, 12 Mar 2023 22:36:15 +0000 (18:36 -0400)
committerDavid Wells <drwells@email.unc.edu>
Mon, 13 Mar 2023 13:05:30 +0000 (09:05 -0400)
commit692e6514b0dd74cafe44caa6d269739c7eb1636f
tree41b2ea431bb5a8f9a0366f59904958ba4f8eaac1
parentcd1cf88fb88bc05def52d3d207623c2ac3540e1d
Redo some indexing inside FESystem.

This function takes up about 3% of the total runtime for an application I'm
working on. We can reduce that cost by nearly 50% by moving some checks outside
of loops and explicitly using std::copy(), which assumes the inputs are not
aliased, rather than for-loops.
source/fe/fe_system.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.