]> https://gitweb.dealii.org/ - dealii.git/commit
Give the hp version of VectorTools::project its own file. 3829/head
authorDavid Wells <wellsd2@rpi.edu>
Sun, 22 Jan 2017 00:49:53 +0000 (19:49 -0500)
committerDavid Wells <wellsd2@rpi.edu>
Sun, 22 Jan 2017 01:47:56 +0000 (20:47 -0500)
commite83e5527812c09d6021f5f196e4ef97f926574fb
tree940b3653fb3240559e887ca758d07ca781629c84
parentc21f117e19893c67ec4fe3e97a65fbdd4492d909
Give the hp version of VectorTools::project its own file.

This new file takes about 17 seconds to compile and improves the performance of
the non-hp (i.e., the matrix free) projections a little bit.

before splitting out the hp files:
                                    File name Memory, MB    Time, s
      source/numerics/vector_tools_project.cc       2860         81
source/numerics/vector_tools_project_inst2.cc       2970        100
source/numerics/vector_tools_project_inst3.cc       3956        114

After:
                                    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

These numbers come from setting the C++ compiler as a shell script containing

    /usr/bin/time -v g++ ${1+"$@"}

and then parsing the output.
source/numerics/CMakeLists.txt
source/numerics/vector_tools_project.inst.in
source/numerics/vector_tools_project_hp.cc [new file with mode: 0644]
source/numerics/vector_tools_project_hp.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.