]> https://gitweb.dealii.org/ - dealii.git/commit
Give the codim > 0 VectorTools::project functions their own file. 3831/head
authorDavid Wells <wellsd2@rpi.edu>
Sun, 22 Jan 2017 05:41:09 +0000 (00:41 -0500)
committerDavid Wells <wellsd2@rpi.edu>
Sun, 22 Jan 2017 15:01:40 +0000 (10:01 -0500)
commitada03c7f6e8b7fa26f686b674e7858e5740dd451
treef016687607d0ea9df03ec9fe24af0da26fa62d31
parentd1539c4f8a7728b7a17f4216c5f7bc5edd945c16
Give the codim > 0 VectorTools::project functions their own file.

Since these functions don't go into the MatrixFree code we can split them off
with a very small amount of overhead for the additional parallelization. This
lowers the required memory for the last projection instantiation by about a
gigabyte.

Before:
                                    File name Memory, MB    Time, s
      source/numerics/vector_tools_project.cc       2775         79
source/numerics/vector_tools_project_inst2.cc       2882         92
source/numerics/vector_tools_project_inst3.cc       3948        102

After:
                                    File name Memory, MB    Time, s
source/numerics/vector_tools_project_codim.cc       1843         28
      source/numerics/vector_tools_project.cc       2774         76
source/numerics/vector_tools_project_inst2.cc       2829         81
source/numerics/vector_tools_project_inst3.cc       2823         86
source/numerics/CMakeLists.txt
source/numerics/vector_tools_project.inst.in
source/numerics/vector_tools_project_codim.cc [new file with mode: 0644]
source/numerics/vector_tools_project_codim.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.