]> https://gitweb.dealii.org/ - dealii.git/commit
Split the grid tools instantiations.
authorDavid Wells <wellsd2@rpi.edu>
Sun, 28 Jan 2018 23:49:55 +0000 (18:49 -0500)
committerDavid Wells <wellsd2@rpi.edu>
Sat, 3 Feb 2018 18:22:42 +0000 (13:22 -0500)
commite28beee3c9ecf26e97399b2d64a0a5402ec5a4dc
tree8156a38fa6fca1ebd87b751c7046be6aa6013bc3
parent857bacdb6b7ed11701239c52418743c215f32b70
Split the grid tools instantiations.

This commit splits the grid tools instantiation files in two: one file deals
with instantiations for DoFHandlers and Triangulations and the other deals with
instantiations of just Triangulations. Here is the timing information:

before this patch:
debug:
grid tools: 74s, 3.6 GB

release:
grid tools: 97s 3.9 GB

after this patch:
debug:
grid tools: 31s, 1.8 GB
grid tools dof handlers: 48s, 2.4 GB

release:
grid tools: 46s, 1.9 GB
grid tools dof handlers: 65s, 2.4 GB

This lowers the high water mark for memory usage with only a small impact on the
total compilation time.
source/grid/CMakeLists.txt
source/grid/grid_tools.cc
source/grid/grid_tools.inst.in
source/grid/grid_tools_dof_handlers.cc [new file with mode: 0644]
source/grid/grid_tools_dof_handlers.inst.in [new file with mode: 0644]

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.