]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix the memory usage of the /source/fe unity files. 5925/head
authorDavid Wells <wellsd2@rpi.edu>
Mon, 19 Feb 2018 00:00:54 +0000 (19:00 -0500)
committerDavid Wells <wellsd2@rpi.edu>
Mon, 19 Feb 2018 00:00:54 +0000 (19:00 -0500)
Recent changes, such as b15febd0c236b74d6ee1, and fd1bf6a6f8 caused the memory
usage of one of the unity files to go above 5 GB: these splits lower the high
water mark to about 3 GB.

source/fe/CMakeLists.txt

index b77b0257e406579c59ee7595ae48e6fbc493aed8..f8fd6112534924071a5cba7d170df884e9e4674e 100644 (file)
@@ -52,11 +52,8 @@ SET(_unity_include_src
   mapping_c1.cc
   mapping_cartesian.cc
   mapping.cc
-  mapping_q_generic.cc
   mapping_q1.cc
-  mapping_q1_eulerian.cc
   mapping_q.cc
-  mapping_q_eulerian.cc
   mapping_manifold.cc
   )
 
@@ -71,10 +68,13 @@ SET(_separate_src
   mapping_fe_field_inst2.cc
   fe_tools_interpolate.cc
   fe_tools_extrapolate.cc
+  mapping_q_generic.cc
+  mapping_q1_eulerian.cc
+  mapping_q_eulerian.cc
   )
 
 # determined by profiling
-SET(_n_includes_per_unity_file 15)
+SET(_n_includes_per_unity_file 10)
 
 SETUP_SOURCE_LIST("${_unity_include_src}"
   "${_separate_src}"

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.